Load ~/.config/taler-monitoring/env (taler-monitoring-env profiles) before suite defaults. Drop hardcoded operator homes and host aliases from scripts; apply/staging/www/secrets/wallet via env.
55 lines
1.9 KiB
Text
55 lines
1.9 KiB
Text
# monitoring site-gen — non-secret settings (safe as example)
|
|
# Copy: cp settings.conf.example settings.conf
|
|
# Never put passwords/tokens here.
|
|
|
|
# On an outside runner the suite runs *locally* (RUNNER_SSH empty). From a laptop you
|
|
# can set RUNNER_SSH=<outside-runner-ssh-alias> to drive a one-off remote run instead.
|
|
RUNNER_SSH=
|
|
RUNNER_SSH_FALLBACKS=
|
|
RUNNER_REMOTE_WORKDIR=/tmp/taler-monitoring-site-gen
|
|
MONITORING_ROOT=..
|
|
|
|
# Outside-only: never SSH into bank/exchange/merchant containers
|
|
SKIP_SSH=1
|
|
|
|
# Deploy staging on koopa (host Caddy later — root copies to /var/www)
|
|
DEPLOY_SSH= # set SSH host for deploy
|
|
DEPLOY_SSH_FALLBACKS=koopa
|
|
# Static files for Caddy file_server (created per hostname)
|
|
DEPLOY_WWW_ROOT= # e.g. /var/www/monitoring-sites
|
|
DEPLOY_SUDO=sudo
|
|
CADDY_CONFIG=/etc/caddy/Caddyfile
|
|
CADDY_MIRROR_REL=configs/caddy/Caddyfile
|
|
# Working tree on deploy host for apply (optional)
|
|
KOOPA_CADDY_DIR= # absolute path to Caddy tree on mon host
|
|
|
|
# Source link for HTML footer (Forgejo)
|
|
SOURCE_REPO_WEB=https://git.hacktivism.ch/hernani/taler-monitoring
|
|
SOURCE_COMMIT_URL_TMPL={repo}/src/commit/{commit}
|
|
SOURCE_SUITE_PATH=.
|
|
|
|
CONTINUE_ON_ERROR=1
|
|
PHASES_ERR=urls versions
|
|
PHASES_OK=urls versions
|
|
SKIP_E2E=1
|
|
|
|
# Local work dir for logs + HTML
|
|
WORK_ROOT=/tmp/taler-monitoring-sites-work
|
|
|
|
# Sites: hostname|domain_profile (9 fronts)
|
|
# Start with hacktivism; stage + prod LFP follow
|
|
SITES="
|
|
bank.hacktivism.ch|hacktivism.ch
|
|
exchange.hacktivism.ch|hacktivism.ch
|
|
taler.hacktivism.ch|hacktivism.ch
|
|
stage.bank.lefrancpaysan.ch|stage.lefrancpaysan.ch
|
|
stage.exchange.lefrancpaysan.ch|stage.lefrancpaysan.ch
|
|
stage.monnaie.lefrancpaysan.ch|stage.lefrancpaysan.ch
|
|
bank.lefrancpaysan.ch|lefrancpaysan.ch
|
|
exchange.lefrancpaysan.ch|lefrancpaysan.ch
|
|
monnaie.lefrancpaysan.ch|lefrancpaysan.ch
|
|
"
|
|
|
|
# Only process this subset (space-separated hostnames). Empty = all SITES.
|
|
# Example for first deploy: ONLY_HOSTS=bank.hacktivism.ch exchange.hacktivism.ch taler.hacktivism.ch
|
|
ONLY_HOSTS=
|