Skip to content

Commit

Permalink
chore(ci): use better option checking (teutonet#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau authored and SyeKlu committed May 13, 2024
1 parent 7d4ae15 commit de3d6c3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/create-values-diff.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

set -eu
set -o pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/enforce-trusted-registries.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

set -eu
set -o pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/extract-artifacthub-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

set -eu
set -o pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/prepare-values.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

function mergeYaml() {
local valuesFile="${1?}"
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/splitYamlIntoDir
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

set -eu
set -o pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/sync-codeowners.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

echo "* @teutonet/k8s"

Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/templateHelmChart.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

set -eu
set -o pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/validate-pullrequest.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

[[ "$RUNNER_DEBUG" == 1 ]] && set -x
[[ $- == *x* ]] && export RUNNER_DEBUG=1
[[ -o xtrace ]] && export RUNNER_DEBUG=1

set -eu
set -o pipefail
Expand Down

0 comments on commit de3d6c3

Please sign in to comment.