Skip to content

feat: receive and use tags in image options #94

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

krynju
Copy link
Member

@krynju krynju commented May 8, 2025

Image options are being extended by tag and sha.
Previously an image option would be an image key and a type.

Now optionally an image_tag or image_sha field can appear in the image option and they should be used in job submission if chosen.
The other bigger change is that the unique constraint on options is no longer just the key, but now it's a unique constraint on key, tag and sha. This means the same key can appear multiple times with different tag/sha combinations.

This should be nonbreaking in any direction. Older client ignores the tag/sha and will just list another option with the same key. Older instances will never send tag/sha so using a newer client there is ok too.

@krynju krynju force-pushed the kr/taginoptions branch from 6a4c2c8 to 307df58 Compare May 8, 2025 12:40
@krynju krynju force-pushed the kr/taginoptions branch from 307df58 to 29b83fa Compare May 8, 2025 14:32
@krynju krynju marked this pull request as ready for review May 13, 2025 07:44
@krynju krynju marked this pull request as draft May 14, 2025 08:38
@krynju krynju marked this pull request as ready for review May 20, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant