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 a way to use non-released changes in repo for producing an olm bundle #694

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

jkremser
Copy link
Member

This will allow for hot-fixing in case some files are missing/out-of-sync
with those inputs for the olm-bundle generation process:

  1. Chart.yaml
  2. helm chart itself
  3. templates for the olm-bundle tool (stuff under /olm/*)

That's actually currently happening, the release 0.8.3 was done w/o the files necessary for the olm-bundle automation to be in place. The GHA is currently done in a way that it takes the latest released tag (if not provided explicitly) and checks out the repo into that state... but the files are not there so it fails.

This PR adds more flexibility. If the version is set to master it will not check out the release tag and use the current tip of the repo for the action.

note: the action is failing only because it's running against the latest release that doesn't have the needed files, if the next release is done, it would work also without this change, but again there would be no way to hot-fix a typo or anything without making a new release and only then be able to do the olm bundle.

Signed-off-by: Jirka Kremser [email protected]

…ndle

This will allow for hot-fixing in case some files are missing/out-of-sync
with those inputs for the olm-bundle generation process:
1) Chart.yaml
2) helm chart itself
3) templates for the olm-bundle tool (stuff under /olm/*)

Signed-off-by: Jirka Kremser <[email protected]>
Copy link
Contributor

@somaritane somaritane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jkremser jkremser merged commit 282b4a0 into k8gb-io:master Oct 26, 2021
@jkremser jkremser deleted the olm-bundle-fix branch October 26, 2021 11:46
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.

3 participants