mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
test: switch development env smoke target from dashboard to matomo
This commit is contained in:
1 file changed
+4
-4
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
APP="${APP:-web-app-dashboard}"
|
||||
APP="${APP:-web-app-matomo}"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
||||
|
||||
@@ -16,10 +16,10 @@ make test
|
||||
make test-local-dedicated APP="${APP}"
|
||||
make trust-ca
|
||||
|
||||
DASHBOARD_URL="https://dashboard.infinito.example"
|
||||
MATOMO_URL="https://matomo.infinito.example"
|
||||
|
||||
echo "Checking dashboard URL: ${DASHBOARD_URL}"
|
||||
curl -sS -o /dev/null -w '%{http_code}\n' "${DASHBOARD_URL}" | grep -qx '200'
|
||||
echo "Checking matomo URL: ${MATOMO_URL}"
|
||||
curl -sS -o /dev/null -w '%{http_code}\n' "${MATOMO_URL}" | grep -qx '200'
|
||||
|
||||
make down
|
||||
make dev-environment-teardown
|
||||
Reference in new issue
Block a user