Pass stable image config to go-live
This commit is contained in:
@@ -101,6 +101,7 @@ output="$(
|
||||
"$UPLOAD_SCRIPT" \
|
||||
--host 203.0.113.10 \
|
||||
--identity "$TEST_IDENTITY" \
|
||||
--go-live \
|
||||
2>&1
|
||||
)"
|
||||
status=$?
|
||||
@@ -120,6 +121,9 @@ assert_contains \
|
||||
"Commit $REVISION ist auf dem Server aktiv." \
|
||||
"$output"
|
||||
assert_contains "sleep|5" "$(<"$FAKE_LOG")"
|
||||
assert_contains \
|
||||
"WATERMAPS_ENV_FILE=/opt/watermaps/deploy/.env.production WATERMAPS_IMAGES_ENV_FILE=/opt/watermaps/deploy/.env.images /opt/watermaps/current/deploy/scripts/go-live.sh '203.0.113.10'" \
|
||||
"$(<"$FAKE_LOG")"
|
||||
|
||||
NEWER_REVISION="4444444444444444444444444444444444444444"
|
||||
set +e
|
||||
|
||||
Reference in New Issue
Block a user