Skip to content

Commit

Permalink
Use e2e aggregation for the e2e instance (beyondessential#2954)
Browse files Browse the repository at this point in the history
  • Loading branch information
kael89 authored Aug 5, 2021
1 parent 8b62b7d commit 4af9e99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devops/scripts/deployment/deployPackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ for PACKAGE in ${PACKAGES[@]}; do
# name (e.g. [branch-name]-api.tupaia.org -> specific-branch-api.tupaia.org)
sed -i -e "s/\[branch-name\]/${BRANCH}/g" .env

if [[ "$BRANCH" == *-e2e ]]; then
if [[ "$BRANCH" == *-e2e || "$BRANCH" == e2e ]]; then
# Update e2e environment variables
if [[ $PACKAGE == "meditrak-server" || $PACKAGE == "web-config-server" ]]; then
sed -i -E 's/^AGGREGATION_URL_PREFIX="?dev-"?$/AGGREGATION_URL_PREFIX=e2e-/g' .env
Expand Down
Empty file modified scripts/node/validateTests.js
100644 → 100755
Empty file.

0 comments on commit 4af9e99

Please sign in to comment.