Skip to content

Commit

Permalink
Hack: Re-source envvars in post-deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Sep 27, 2024
1 parent 8e2175d commit 859706d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/post/v2.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

set -euo pipefail

# HACK: Garrison doesn't see these variables that were exported in main deploy
# script, which is unintuitive. NOTE that sourcing VERSION.env is not
# compatible with integration, but this script doesn't receive the environment
# as a parameter. Garrison needs some extra thought here.
source /etc/profile.d/envvars.sh
source VERSION.env

# TODO: figure out better way
echo "Waiting 10 seconds for the new stack to come up..."
sleep 10
Expand Down

0 comments on commit 859706d

Please sign in to comment.