Skip to content

Commit

Permalink
scripts/promote-config: strip warn: out of denylist on promotion
Browse files Browse the repository at this point in the history
warn: true was added in coreos/coreos-assembler#3539
and can be used to make test failures non-fatal in the pipeline. Let's
strip those from the denylist too on promotion.
  • Loading branch information
dustymabe committed Aug 23, 2023
1 parent cca76b0 commit 8832e34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/promote-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ main() {
# except for manifest.yaml
git checkout -- manifest.yaml

# also strip out the snoozes in the denylist because we don't want
# changes in the executed tests over time for production streams
sed -E -i 's/^(\s+)(snooze:\s+.*)/\1# \2 (disabled on promotion)/' kola-denylist.yaml
# also strip out the snoozes and warns in the denylist because we don't
# want changes in the executed tests over time for production streams
sed -E -i 's/^(\s+)((snooze:|warn:)\s+.*)/\1# \2 (disabled on promotion)/'

git add -A
if git diff --quiet --staged --exit-code; then
Expand Down

0 comments on commit 8832e34

Please sign in to comment.