ROSAENG-8186 | feat: add new env for rosa e2e test#80259
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR adds credential injection for Slack webhook and OCM console client secret to OCM FVT ROSA HCP integration test jobs. A shell script implementation reads these secrets from mounted credential files and exports them as environment variables, which are then referenced in six periodic job configurations. ChangesCredentials Environment Variables
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: marcolan018 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
A total of 33 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs. A full list of affected jobs can be found here Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@marcolan018: all tests passed! 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. |
read env SLACK_WEBHOOK_URL and CONSOLE_CLIENT_SECET from vault
Summary by CodeRabbit
This PR adds support for two additional environment variables in the ROSA e2e test infrastructure by reading them from vault credentials and injecting them into test job execution contexts.
Changes made:
YAML Configuration Update (
openshift-online-rosa-e2e-main__ocm-fvt-rosa-hcp-integration.yaml): Modified the OCM FVT periodic ROSA HCP integration test job configuration to injectSLACK_WEBHOOK_URLandCONSOLE_CLIENT_SECRETenvironment variables into multiple command blocks. These values are read from credential files mounted at/usr/local/cs-qe-credentials/.Shell Script Update (
rosa-e2e-ocm-fvt-commands.sh): Enhanced the test setup script to read theslack_webhook_urlandconsole_client_secretcredentials from the vault directory and append them as environment variables to the podman execution environment before running tests.Impact: These changes enable ROSA e2e tests to access Slack webhook credentials for notifications and console client secrets for test execution, supporting expanded testing capabilities and improved test observability for the ROSA HCP integration testing pipeline.