Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into parallel-migration-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpc committed Oct 1, 2021
2 parents 699e2de + ca20fd3 commit a92d0fa
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down
60 changes: 30 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9561,7 +9561,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9592,7 +9592,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9623,7 +9623,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9654,7 +9654,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9685,7 +9685,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9716,7 +9716,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9747,7 +9747,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9778,7 +9778,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9809,7 +9809,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9840,7 +9840,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9871,7 +9871,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9902,7 +9902,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9933,7 +9933,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9964,7 +9964,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -9995,7 +9995,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10026,7 +10026,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10057,7 +10057,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10088,7 +10088,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10119,7 +10119,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10150,7 +10150,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10181,7 +10181,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10212,7 +10212,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10243,7 +10243,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10274,7 +10274,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10305,7 +10305,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10336,7 +10336,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10367,7 +10367,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10398,7 +10398,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down Expand Up @@ -10429,7 +10429,7 @@ jobs:
source .circleci/local_publish_helpers.sh
setAwsAccountCredentials
cd packages/graphql-transformers-e2e-tests/
yarn e2e --maxWorkers=3 $TEST_SUITE
retry yarn e2e --maxWorkers=3 $TEST_SUITE
environment:
AMPLIFY_CLI_DISABLE_LOGGING: 'true'
no_output_timeout: 90m
Expand Down
3 changes: 1 addition & 2 deletions .circleci/local_publish_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ function useChildAccountCredentials {
}

retry() {
# TODO: Bump MAX_ATTEMPTS when there is more team buy-in to this strategy
MAX_ATTEMPTS=1
MAX_ATTEMPTS=2
SLEEP_DURATION=5
n=0
until [ $n -ge $MAX_ATTEMPTS ]
Expand Down

0 comments on commit a92d0fa

Please sign in to comment.