Skip to content

Commit

Permalink
TMP: DISABLE EC2 scripts
Browse files Browse the repository at this point in the history
We still pssh to the instances and have them echo their
ENVSUBST variables, but they then exit.  This way we can
test that we can authenticate to the instances, that template
rendering works, and that all the other authentication
(S3, Fastly) works, without actually changing anything on
staging/production.
  • Loading branch information
nmagedman committed Apr 9, 2024
1 parent f1f2adf commit 680ed77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions activate_new_build.sh.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
RC_DIR='$RC_DIR_ENVSUBST'

echo RC_DIR=\'$RC_DIR\'
echo BAILING OUT!
exit

set -e

# Find Rocket.Chat service names
Expand Down
7 changes: 7 additions & 0 deletions install_tarball.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ RC_DIR='$RC_DIR_ENVSUBST'
RC_TARBALL='$RC_TARBALL_ENVSUBST'
S3_BUCKET='$S3_BUCKET_ENVSUBST'

echo AWS_DEFAULT_REGION=\'$AWS_DEFAULT_REGION\'
echo RC_DIR=\'$RC_DIR\'
echo RC_TARBALL=\'$RC_TARBALL\'
echo S3_BUCKET=\'$S3_BUCKET\'
echo BAILING OUT!
exit

set -e

# Clean old RC dirs and create new
Expand Down

0 comments on commit 680ed77

Please sign in to comment.