Skip to content

Commit

Permalink
ci: fail fast in pr and e2e scripts (#13195)
Browse files Browse the repository at this point in the history
* ci: fail fast in pr and e2e scripts

* chore: use different role
  • Loading branch information
sobolk authored Sep 7, 2023
1 parent 3f528a8 commit 52aea18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/cloud-e2e.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e

source ./scripts/cloud-cli-utils.sh
export CURR_BRANCH=$(git branch --show-current)
Expand Down
4 changes: 2 additions & 2 deletions scripts/cloud-pr.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e

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

mwinit --aea
ada cred update --profile=cb-ci-account --account=$E2E_ACCOUNT_PROD --role=Admin --provider=isengard --once
ada cred update --profile=cb-ci-account --account=$E2E_ACCOUNT_PROD --role=CodeBuildE2E --provider=isengard --once
RESULT=$(aws codebuild start-build-batch \
--profile=cb-ci-account \
--region us-east-1 \
Expand Down

0 comments on commit 52aea18

Please sign in to comment.