8000 Standardize shell strict mode across Dagger scripts: drop `-x` and add `-o pipefail`. by copybara-service[bot] · Pull Request #5392 · google/dagger · GitHub
[go: up one dir, main page]

Skip to content

Standardize shell strict mode across Dagger scripts: drop -x and add -o pipefail. - #5392

Merged
copybara-service[bot] merged 1 commit into
gh-pagesfrom
test_gh-pages_1032759568
Dec 4, 2026
Merged

copybara-service[bot] merged 1 commit into
gh-pagesfrom
test_gh-pages_1032759568

Conversation

@copybara-service
Copy link
Copy Markdown

Standardize shell strict mode across Dagger scripts: drop -x and add -o pipefail.

  • Removes -x (xtrace) from shell scripts so expanded commands and secrets
    (such as GH_TOKEN in docs and tag publishing scripts) are not traced into
    terminal or CI logs.
  • Adds -o pipefail to all scripts using set -e* (set -euo pipefail or
    set -eo pipefail where optional positional parameters remain unbound) so
    failures in earlier pipeline commands are not silently masked.

RELNOTES=N/A

…d `-o pipefail`.

- Removes `-x` (`xtrace`) from shell scripts so expanded commands and secrets
  (such as `GH_TOKEN` in docs and tag publishing scripts) are not traced into
  terminal or CI logs.
- Adds `-o pipefail` to all scripts using `set -e*` (`set -euo pipefail` or
  `set -eo pipefail` where optional positional parameters remain unbound) so
  failures in earlier pipeline commands are not silently masked.

RELNOTES=N/A
PiperOrigin-RevId: 1032960820
@copybara-service
copybara-service Bot force-pushed the test_gh-pages_1032759568 branch from 6334eda to aa32b11 Compare December 4, 2026 16:47
@copybara-service
copybara-service Bot merged commit aa32b11 into gh-pages Dec 4, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_gh-pages_1032759568 branch December 4, 2026 16:47
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

0