-
Notifications
You must be signed in to change notification settings - Fork 0
allow adding additional tags to OCI index and manifests #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
db91efb
to
8bc6eea
Compare
8bc6eea
to
01c7621
Compare
adds the possibility to get debug logs for pytest e.g. debug which OCI tags exist
add create_test_data to conftest remove generate_test_certificates from helper as it is on conftest already
enables pushing additional tags to OCI manifest
enables pushing additional tags to OCI index
01c7621
to
9715853
Compare
for artifact in oci_metadata: | ||
if artifact["media_type"] == "application/io.gardenlinux.release": | ||
file = open(f"{directory}/{artifact["file_name"]}", "r") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use configparser.ConfigParser
here as it will be compatible with the file content and makes the code more readable :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we name this file wrapper(s).py
? Further refinement can be integrated into #110.
What this PR does / why we need it:
gardenlinux/gardenlinux#2754 outlines the restructure of OCI release tags.
To actually add additional tags to the OCI index and manifests, a new paramter
--additional-tag
has to be added to thegl-oci update-index|push-manifest
calls.Additionally this adds:
make test-debug
andmake test-trace
to debug OCI taggingSpecial notes for your reviewer: