feat(deploy): add production one-click deployment
This commit is contained in:
@@ -101,6 +101,8 @@ printf '%s\n' 'https://alerts.example.test/gochat' >"$ALERTMANAGER_WEBHOOK_URL_F
|
||||
TEST_MUTABLE_IMAGE=1
|
||||
export TEST_MUTABLE_IMAGE
|
||||
expect_failure 'a mutable production image' 'must be pinned to a sha256 digest'
|
||||
"$root/deploy/docker/preflight.sh" --allow-local-images > "$tmp/output" 2>&1
|
||||
grep -F 'production preflight passed' "$tmp/output" >/dev/null
|
||||
unset TEST_MUTABLE_IMAGE
|
||||
|
||||
export GOCHAT_DATABASE_DSN='postgres://external_user:external_password@db.example.test:5432/gochat?sslmode=disable'
|
||||
|
||||
Reference in New Issue
Block a user