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

Sync ocp-1.0 branch with master #577

Merged
merged 119 commits into from
Aug 12, 2024
Merged

Sync ocp-1.0 branch with master #577

merged 119 commits into from
Aug 12, 2024

Conversation

Vincent056
Copy link

We need to sync up the ocp-1.0 branch to test els image dockerfile downstream.

renovate bot and others added 30 commits June 3, 2024 11:52
Adding s390x and ppc64le to the platform for building operator images.
Support Building multi-arch container imagers
Fix github action for building images, the matrix runner did not tag multiarch image correctly, let's approach it this way instead.
Wait for other image builds finishes before building catalog image.
Let's skip the result server rotating unit test for now on s390x so that we get a successful build
Let's continue catalog container build and comment pr even when last step has failures.
This will be a temporary workaround for SBOM issue metal-toolbox/container-push#77.
Skip failed unit tests for s390x
Fixing multi-arch support for release image github workflow.
Adding openscap image job to the release workflow.
Fixing release image multi-arch support
Let's remove the workaround since we have sbom issues fixed. ex:https://github.com/ComplianceAsCode/compliance-operator/actions/runs/9563061573/job/26377079635. This also adding the missing pr_number in the comment step.
This is to fix the rule instruction so that we can display as multiline string instead of pre-wrap text, and user is able to copy and run oc command in the instruction without having to remove escape. The issue was casued by space before newline made it not able to output multiline yaml formate
OCPBUGS-17828: Fix rule instruction
'hostNetwork: true' grants access to the host's sysctl configurations.
'dnsPolicy: ClusterFirstWithHostnet' is required to access services.
OCPBUGS-19690: Enable host network to access host sysctls
Even though the must-gather plugin image isn't necessary for running the
operator, is helps users collect information when reporting issues.

By including the image reference in the `relatedImages` of the CSV, it's
more discoverable and users can query it out of the CSV directly,
instead of having to hunt through documentation and container
registries.
CMP-1096: Add must-gather image to relatedImages
Update must gather image workflow
Even though we documented using an image directly for must-gather
support, we can also include the relatedImages reference in the usage
guide.
CMP-2688: Document using relatedImages for must-gather
The original approach for building a must-gather image specifically for
Compliance Operator usage grabbed the latest stock must-gather image
(the one for collecting everything in an ordinary deployment), and then
pushing the original scripts out of the way and replacing them with
Compliance Operator specific scripts to collect the information we
wanted.

While this worked, we can simplify the image dependency by just relying
on the CLI image directly, since that's what the upstream must-gather
image does, then just wire up the entry point to the collection scripts
we already have, following the same pattern that the upstream
must-gather image uses.

This commit also updates the `Dockerfile` name to include `.ocp` suffix,
since we're relying on a Red Hat registry to pull the CLI image.
…hyny-gojq-0.x

Update module github.com/itchyny/gojq to v0.12.16
openshift-merge-bot bot and others added 10 commits August 6, 2024 12:11
…anagement.io-api-0.x

Update module open-cluster-management.io/api to v0.14.0
…nshift-api-digest

Update github.com/openshift/api digest to 6b4a57e
…nshift-client-go-digest

Update github.com/openshift/client-go digest to b054aa7
We have an example in our documentation that tells users how to fetch
metrics using the command line. But, the command has a newline in the
middle of the authorization header, and if you copy/paste it from the
document, like most readers would, it returns an HTTP 404.

Remove the newline so the command works when you copy/paste it from the
documentation, which is the intention.
OCPBUGS-37697: Remove newline in metrics doc literal
Previously, we were only updating the must-gather image when updating
specific must-gather files in utils and images. This commit adds it to
the release GitHub action so that it pushes a new container image for
each push to master, which should keep the image up-to-date.
…latest

Add must-gather image builds to release on each push
The image we were using wasn't accessible through GitHub actions,
because it's in a CI registry. Use an equivalent image from Quay so that
we can build must-gather images with GitHub actions.
Copy link

openshift-ci bot commented Aug 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Vincent056

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

@openshift-ci openshift-ci bot added the approved label Aug 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:577

1 similar comment
Copy link

github-actions bot commented Aug 9, 2024

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:577

rhmdnd and others added 4 commits August 9, 2024 18:29
We're struggling to find a multi-arch image we can use for building the
must-gather image. This causes the GitHub action we have wired up to
build the image automatically to fail.

This commit removes power and z support for now so we can get some
builds produces that incorporate the new must-gather tooling.
Copy link

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:577

…nshift-api-digest

Update github.com/openshift/api digest to 7f2da4c
Remove multi-arch support from must-gather image
Copy link

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:577

1 similar comment
Copy link

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:577

sluetze and others added 2 commits August 12, 2024 10:39
with ComplianceAsCode/content#11997 the compliance-operator needs read access to kubedescheduler resources for the validation. We do this on clusterlevel, as the namespaces where the kubedescheduler can be deployed is configurable
Add kubedeschedulers to api_resource_collector_clusterrole
Copy link

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:577

@rhmdnd rhmdnd merged commit 25bc14c into ocp-1.0 Aug 12, 2024
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants