-
Notifications
You must be signed in to change notification settings - Fork 2.3k
test proxy in deploy-konflux-operator #80783
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
base: main
Are you sure you want to change the base?
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -128,8 +128,15 @@ function deploy_operators() { | |||||||||
| run_command "deploy-konflux-operator/deploy-operator.sh ${args[*]}" | ||||||||||
| } | ||||||||||
|
|
||||||||||
| set_proxy | ||||||||||
| echo "HTTP_PROXY=${HTTP_PROXY:-}" | ||||||||||
| echo "HTTPS_PROXY=${HTTPS_PROXY:-}" | ||||||||||
| echo "NO_PROXY=${NO_PROXY:-}" | ||||||||||
| echo "http_proxy=${http_proxy:-}" | ||||||||||
| echo "https_proxy=${https_proxy:-}" | ||||||||||
| echo "no_proxy=${no_proxy:-}" | ||||||||||
|
|
||||||||||
| install_deps | ||||||||||
| set_proxy | ||||||||||
|
Comment on lines
138
to
+139
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. Proxy setup must happen before dependency installation.
Suggested fix-install_deps
-set_proxy
+set_proxy
+install_deps📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| run_command "oc whoami" | ||||||||||
| run_command "which oc && oc version -o yaml" | ||||||||||
| deploy_operators | ||||||||||
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.
Do not print raw proxy environment variables to CI logs.
HTTP_PROXY/HTTPS_PROXY/http_proxy/https_proxycan contain full URLs and embedded credentials; echoing them leaks sensitive infrastructure details. Log presence only (or redact values) instead of printing raw content.Suggested fix
As per coding guidelines, step-registry command scripts must never print sensitive data (including URLs/credential-bearing values) to logs.
🤖 Prompt for AI Agents
Source: Coding guidelines