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

olm: Fix paths when using version=master + more descriptive PR body #699

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

jkremser
Copy link
Member

Even though the GHA opens the PR and the files look ok. The paths are broken in case the version was set tomaster.

The bundle metadata should be in
/operators/k8gb/x.y.z/manifests/*
not in
/community-operators/operators/k8gb/master/manifests/*

Also adding better pr description.

Note the checks on upstream repo are currently failing because they had some internal issues, also other PRs are red because of the same issue.

PS. sorry for the spam, it's hard to develop&debug

Signed-off-by: Jirka Kremser jiri.kremser@gmail.com

run: |
mkdir -p $GITHUB_WORKSPACE/sandbox/community-operators/operators/k8gb/
cp -r $GITHUB_WORKSPACE/bundle $GITHUB_WORKSPACE/sandbox/community-operators/operators/k8gb/${{ github.event.inputs.bundleVersion }}
if [ "${{ steps.get_version.outputs.version }}" == "master" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we make this logic as part of the get_version step?

Copy link
Member Author

Choose a reason for hiding this comment

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

amended, btw. I can't reuse the version variable as it is w/o changing the bash script

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
Copy link
Collaborator

@k0da k0da 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 01b913a into k8gb-io:master Oct 26, 2021
@jkremser jkremser deleted the olm-bundle-paths branch October 26, 2021 14:47
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