CMP-3845: Added Test TestHypershiftTailoredProfileScan for case tailored profile works on Hypershift clusters#1082
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: taimurhafeez The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Skipping CI for Draft Pull Request. |
|
@taimurhafeez: This pull request references CMP-3845 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
🤖 To deploy this PR, run the following command: |
|
🤖 To deploy this PR, run the following command: |
|
🤖 To deploy this PR, run the following command: |
|
🤖 To deploy this PR, run the following command: |
…branch and added platform check for hypershift in conditons where rosa is being checked
|
🤖 To deploy this PR, run the following command: |
|
🤖 To deploy this PR, run the following command: |
|
@taimurhafeez: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This PR adds E2E test coverage for compliance scanning on HyperShift clusters using tailored profiles.
The TestHypershiftTailoredProfileScan test validates that the compliance operator can successfully run compliance scans on HyperShift-hosted clusters using tailored profiles.
It was executed using
make e2e-serial E2E_GO_TEST_FLAGS="-v -run TestHypershiftTailoredProfileScan" E2E_ARGS="-root=/home/yourusername/folderhwithcompliancecode/compliance-operator -globalMan=tests/_setup/crd.yaml -namespacedMan=tests/_setup/deploy_rbac.yaml -cleanupOnError=false -platform=HyperShift"Expected Output:
Assisted by Claude.