From 0b21dbd564f653cf68e2fb3b6d6103b7ce688652 Mon Sep 17 00:00:00 2001 From: awsluja Date: Thu, 1 Jun 2023 20:55:33 -0400 Subject: [PATCH 1/2] ci: rename e2e branch to avoid triggering circleci job --- scripts/cloud-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cloud-e2e.sh b/scripts/cloud-e2e.sh index 355224a646d..1c65dd9f1af 100644 --- a/scripts/cloud-e2e.sh +++ b/scripts/cloud-e2e.sh @@ -40,7 +40,7 @@ function cloudE2E { echo Running Prod E2E Test Suite export CLOUD_E2E_PROFILE=AmplifyCLIE2E export CLOUD_E2E_ACCOUNT=$E2E_ACCOUNT_PROD - export TARGET_BRANCH=run-e2e/$USER/$CURR_BRANCH + export TARGET_BRANCH=run-cb-e2e/$USER/$CURR_BRANCH git push $(git remote -v | grep aws-amplify/amplify-cli | head -n1 | awk '{print $1;}') $CURR_BRANCH:$TARGET_BRANCH --no-verify --force-with-lease authenticate triggerBuild From faa21b68912bd10a54a6b6870e3f8a91de9274b3 Mon Sep 17 00:00:00 2001 From: awsluja Date: Fri, 2 Jun 2023 16:13:15 -0400 Subject: [PATCH 2/2] ci: update docs --- scripts/cloud-e2e.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cloud-e2e.sh b/scripts/cloud-e2e.sh index 1c65dd9f1af..97bfb4b763e 100644 --- a/scripts/cloud-e2e.sh +++ b/scripts/cloud-e2e.sh @@ -1,5 +1,7 @@ #!/bin/bash +# this file is used to automate the process of triggering an e2e build for each environment type + # set exit on error to true set -e # load .env