-
Notifications
You must be signed in to change notification settings - Fork 2.4k
ROSAENG-58795 | config: prow hive connection #82509
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,7 +55,9 @@ tests: | |
| - always_run: false | ||
| as: pr-check-rosa-hcp | ||
| capabilities: | ||
| - intranet | ||
| - nested-podman | ||
| cluster: build05 | ||
| commands: | | ||
| source prow/load_prow_secrets.sh | ||
| set -x | ||
|
|
@@ -64,13 +66,16 @@ tests: | |
| from: golang-plus | ||
| nested_podman: true | ||
| optional: true | ||
| restrict_network_access: false | ||
| secrets: | ||
| - mount_path: /usr/local/rosa-clusters-service-sandbox | ||
| name: rosa-clusters-service-sandbox | ||
| - always_run: false | ||
| as: pr-check-aws | ||
| capabilities: | ||
| - intranet | ||
|
Comment on lines
+69
to
+76
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Relevant file excerpt:"
sed -n '1,170p' ci-operator/config/openshift-online/rosa-clusters-service/openshift-online-rosa-clusters-service-konflux-master.yaml
echo
echo "Search for rosa-clusters-service-sandbox and restrict/intranet:"
rg -n "rosa-clusters-service-sandbox|restrict_network_access|intranet|always_run|as: pr-check" ci-operator/config/openshift-online/rosa-clusters-service -S || true
echo
echo "Generated/config metadata presence:"
git ls-files | rg 'zz_generated_metadata|metadata|ci-operator/config/openshift-online/rosa-clusters-service|Makefile' || true
echo
echo "Makefile targets:"
if [ -f Makefile ]; then sed -n '1,220p' Makefile; fiRepository: openshift/release Length of output: 50374 🌐 Web query:
💡 Result: In the OpenShift CI (ci-operator) environment, restricted network access and intranet capability are managed through specific configuration flags and capability definitions to balance security with functional requirements [1][2]. Restricted Network Access and Intranet Capability By default, jobs in the OpenShift CI environment operate with restricted network access. To enable connectivity to the Red Hat intranet, the Citations:
🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Target file with line numbers:"
cat -n ci-operator/config/openshift-online/rosa-clusters-service/openshift-online-rosa-clusters-service-konflux-master.yaml | sed -n '1,160p'
echo
echo "Local metadata/generated files for target org/repo:"
git ls-files | rg 'ci-operator/config/openshift-online/rosa-clusters-service|zz_generated_metadata|prowjobs|openshift-online' || true
echo
echo "Intranet jobs with secret mounts nearby:"
rg -n -C 8 'secrets:|mount_path:|name: rosa-clusters-service-sandbox|restrict_network_access: false|intranet|name: pr-check-aws|name: post-' ci-operator/config/openshift-online/rosa-clusters-service -S || true
echo
echo "CI docs config excerpt if present:"
if [ -f ci-docs.yaml ] || [ -d ci-docs ]; then echo found; fiRepository: openshift/release Length of output: 47790 🌐 Web query:
💡 Result: In the context of OpenShift CI (Prow), setting Citations:
Verify the PR-check secret scope. These jobs both mount 🤖 Prompt for AI Agents |
||
| - nested-podman | ||
| cluster: build05 | ||
| commands: | | ||
| source prow/load_prow_secrets.sh | ||
| set -x | ||
|
|
@@ -79,13 +84,16 @@ tests: | |
| from: golang-plus | ||
| nested_podman: true | ||
| optional: true | ||
| restrict_network_access: false | ||
| secrets: | ||
| - mount_path: /usr/local/rosa-clusters-service-sandbox | ||
| name: rosa-clusters-service-sandbox | ||
| - always_run: false | ||
| as: pr-check-gcp | ||
| capabilities: | ||
| - intranet | ||
| - nested-podman | ||
| cluster: build05 | ||
| commands: | | ||
| source prow/load_prow_secrets.sh | ||
| set -x | ||
|
|
@@ -94,13 +102,16 @@ tests: | |
| from: golang-plus | ||
| nested_podman: true | ||
| optional: true | ||
| restrict_network_access: false | ||
| secrets: | ||
| - mount_path: /usr/local/rosa-clusters-service-sandbox | ||
| name: rosa-clusters-service-sandbox | ||
| - always_run: false | ||
| as: pr-check-rosa-classic | ||
| capabilities: | ||
| - intranet | ||
| - nested-podman | ||
| cluster: build05 | ||
| commands: | | ||
| source prow/load_prow_secrets.sh | ||
| set -x | ||
|
|
@@ -109,13 +120,16 @@ tests: | |
| from: golang-plus | ||
| nested_podman: true | ||
| optional: true | ||
| restrict_network_access: false | ||
| secrets: | ||
| - mount_path: /usr/local/rosa-clusters-service-sandbox | ||
| name: rosa-clusters-service-sandbox | ||
| - always_run: false | ||
| as: pr-check-core | ||
| capabilities: | ||
| - intranet | ||
| - nested-podman | ||
| cluster: build05 | ||
| commands: | | ||
| source prow/load_prow_secrets.sh | ||
| set -x | ||
|
|
@@ -124,6 +138,7 @@ tests: | |
| from: golang-plus | ||
| nested_podman: true | ||
| optional: true | ||
| restrict_network_access: false | ||
| secrets: | ||
| - mount_path: /usr/local/rosa-clusters-service-sandbox | ||
| name: rosa-clusters-service-sandbox | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: openshift/release
Length of output: 386
🏁 Script executed:
Repository: openshift/release
Length of output: 15596
Regenerate the derived Prow job configuration.
This CI operator config changes generated job inputs (
capabilities,restrict_network_access, andsecrets), so include the regenerated Prow/job outputs frommake updatebefore merging.🤖 Prompt for AI Agents
Sources: Coding guidelines, Learnings