Skip to content

CI: Suppress credentials in logs output - #1338

Open
ntsemah wants to merge 1 commit into
openucx:masterfrom
ntsemah:HPCINFRA-3435
Open

CI: Suppress credentials in logs output#1338
ntsemah wants to merge 1 commit into
openucx:masterfrom
ntsemah:HPCINFRA-3435

Conversation

@ntsemah

@ntsemah ntsemah commented Aug 5, 2026

Copy link
Copy Markdown

What

set -x would expose users and passwords in CI logs. Wrap those lines with set +x/set -x so the values are never traced, regardless of how credentials are injected.

Why ?

HPCINFRA-3435

How ?

It is optional but for complex PRs please provide information about the design,
architecture, approach, etc.

set -x expanded sensitive values into the job log.
Switch those lines to verbose-only and restore xtrace afterwards,
so the values are never traced regardless of how credentials are
injected.

Signed-off-by: Noam Tsemah <ntsemah@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant