ci: add teamcity build and deployment entry points
This commit is contained in:
7
scripts/teamcity/smoke.sh
Normal file
7
scripts/teamcity/smoke.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
: "${APP_BASE_URL:?APP_BASE_URL is required}"
|
||||
curl --fail --silent --show-error "${APP_BASE_URL}/health/live"
|
||||
curl --fail --silent --show-error "${APP_BASE_URL}/health/ready"
|
||||
curl --fail --silent --show-error "${APP_BASE_URL}/" >/dev/null
|
||||
Reference in New Issue
Block a user