Skip to content
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

Add label interpolation into repos defined directly in the config #37

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

lubomir
Copy link
Contributor

@lubomir lubomir commented Aug 29, 2024

This PR should enable this (assuming the last base image used in the Containerfile has a label compose-id:

  repos:
    - repoid: rhel
      baseurl: https://example.com/rhel/nightly/rhel/{compose-id}/compose/BaseOS/$basearch/os/
      varsFromContainerfile: Containerfile

If there are multiple repos, the information on where to get the labels from must be provided in each one separately, which is not great but doesn't break any backwards compatibility.

@msrb
Copy link
Contributor

msrb commented Aug 30, 2024

Works -- thanks ;)

@lubomir lubomir merged commit a6a3428 into main Aug 30, 2024
5 checks passed
@lubomir lubomir deleted the variables-for-repos branch September 2, 2024 08:56
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.

2 participants