Skip to content

Commit 52aea18

Browse files
authored
ci: fail fast in pr and e2e scripts (#13195)
* ci: fail fast in pr and e2e scripts * chore: use different role
1 parent 3f528a8 commit 52aea18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/cloud-e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -e
22

33
source ./scripts/cloud-cli-utils.sh
44
export CURR_BRANCH=$(git branch --show-current)

scripts/cloud-pr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -e
22

33
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
44
source $scriptDir/.env set
@@ -7,7 +7,7 @@ printf 'What is your PR number ? '
77
read PR_NUMBER
88

99
mwinit --aea
10-
ada cred update --profile=cb-ci-account --account=$E2E_ACCOUNT_PROD --role=Admin --provider=isengard --once
10+
ada cred update --profile=cb-ci-account --account=$E2E_ACCOUNT_PROD --role=CodeBuildE2E --provider=isengard --once
1111
RESULT=$(aws codebuild start-build-batch \
1212
--profile=cb-ci-account \
1313
--region us-east-1 \

0 commit comments

Comments
 (0)