gardenlinux / python-gardenlinux-lib

Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames
0 stars 0 forks source link

Update Garden Linux features/*/info.yaml files, so that layers, their mediatypes and annotations are defined #16

Closed Vincinator closed 1 month ago

Vincinator commented 2 months ago

Requirements

Notes

Example

description:  "Example Data for gl-oci"
type: platform
features:
  include:
    - cloud
oci_artifacts:
    - file_name: foo.bar
      media_type: application/vnd.oci.image.layer.v1.tar+gzip
      annotations:
        org.opencontainers.image.title: "Just some example Data"
        org.opencontainers.image.decription: "Just some example Data desc"
    - file_name: test.log
      media_type: application/vnd.oci.image.layer.v1.tar+gzip
      annotations:
        org.opencontainers.image.title: "Example Test log"
        org.opencontainers.image.description: "Example Test log desc"
Vincinator commented 1 month ago

Tested with unit tests and local zot registry. it did work.

Further testing the real pipeline with #15. Follow up fixes to make it work with real pipeline are part of #15