Skip to content

Separate oci_load and oci_tarball rules #889

@lorenz

Description

@lorenz

With the current rules_oci ruleset oci_load produces both the script to load an image as a tarball as well as the actual tarball in an extra output group. This however poses a problem when the build graph itself depends on the tar as this means that the OCI layout tree artifact becomes a runfile and is carried with it, which is incorrect and a lot of runfile packagers cannot deal with tree artifact runfiles. These runfiles are also not needed for the tar output, only for the load script. So these should really be separate rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions