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

Run 'make bundle' to commit bundle manifest changes #304

Merged
merged 1 commit into from
Apr 19, 2023
Merged

Run 'make bundle' to commit bundle manifest changes #304

merged 1 commit into from
Apr 19, 2023

Conversation

jhrozek
Copy link

@jhrozek jhrozek commented Apr 18, 2023

In cac/content testing, we are now using nightly operator images, which
are built after every commit to cac/compliance-operator. However,
bundle manifests are only refreshed on release, which means that some
code changes like rbac modifications are not reflected.

This causes CI failures in cac/content unless we release.

In cac/content testing, we are now using nightly operator images, which
are built after every commit to cac/compliance-operator. However,
bundle manifests are only refreshed on release, which means that some
code changes like rbac modifications are not reflected.

This causes CI failures in cac/content unless we release.
@@ -1027,6 +1027,8 @@ spec:
- compliance.openshift.io
resources:
- compliancesuites
- scansettings
- scansettingbindings
Copy link

Choose a reason for hiding this comment

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

This will effectively be overwritten the next time we do a release, right?

Copy link
Author

Choose a reason for hiding this comment

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

more likely the release will be a noop when it comes to updating the bundle

Copy link
Author

Choose a reason for hiding this comment

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

better worded: calling the make release target calls make bundle which will do nothing. The rest of the release target should proceed as usual.

Copy link

Choose a reason for hiding this comment

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

Ok - I still think we should find a way where we don't have to do this, but this will at least unblock us while we get another release ready.

Copy link
Author

Choose a reason for hiding this comment

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

OK, I'll be glad to review any proposal, I admit that this is just an approach I stole from SPO..
thanks for the review!

Copy link

@rhmdnd rhmdnd left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Apr 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhrozek, rhmdnd

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants