diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a6966f88e7..a8690c2f9c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -503,7 +503,7 @@ jobs: - run: name: 'Deploy - Web API - Cognito Create Users' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "USTC_ADMIN_PASS=${USTC_ADMIN_PASS}" --rm efcms /bin/sh -c "cd web-api && ./setup-cognito-users.sh ${ENV}" else echo "skipping…" @@ -511,7 +511,7 @@ jobs: - run: name: 'Deploy - Web API - Cognito Create Court Users' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "USTC_ADMIN_PASS=${USTC_ADMIN_PASS}" --rm efcms /bin/sh -c "cd web-api && ./setup-court-users.sh ${ENV}" else echo "skipping…" @@ -519,7 +519,7 @@ jobs: - run: name: 'Deploy - Web API - Cognito Create IRS User' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "USTC_ADMIN_PASS=${USTC_ADMIN_PASS}" --rm efcms /bin/sh -c "cd web-api && ./setup-irs-user.sh ${ENV}" else echo "skipping…" @@ -530,7 +530,7 @@ jobs: - run: name: 'Deploy - Web API - Smoke Tests - us-east-1' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" --rm efcms /bin/sh -c "cd web-api && node smoke-tests.js ${ENV} us-east-1" else echo "skipping…" @@ -538,7 +538,7 @@ jobs: - run: name: 'Deploy - Web API - Smoke Tests - us-west-1' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" --rm efcms /bin/sh -c "cd web-api && node smoke-tests.js ${ENV} us-west-1" else echo "skipping…" @@ -546,7 +546,7 @@ jobs: - run: name: 'Deploy - Cypress Smoke Tests' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" --rm efcms /bin/sh -c "CYPRESS_BASE_URL='https://ui-$ENV.$EFCMS_DOMAIN' ENV=${ENV} npm run cypress:smoketests" else echo "skipping…" @@ -554,7 +554,7 @@ jobs: - run: name: 'Deploy - Pa11y Smoke Tests' command: | - if [ "${CIRCLE_BRANCH}" != "migration" ]; then + if [ "${CIRCLE_BRANCH}" != "migration" ] && [ "${CIRCLE_BRANCH}" != "master"]; then docker run -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "EFCMS_DOMAIN=${EFCMS_DOMAIN}" --rm efcms /bin/sh -c "ENV=${ENV} npm run test:pa11y:smoketests" else echo "skipping…"