cc-ci 9e7316499c
cc-ci/testme cc-ci: success
fix: keep config object versions in abra.sh only, not .env.sample
These five were added to .env.sample while abra.sh already exported them, so every
deployment got a second, divergent copy.

That is not just untidy. .env.sample becomes the operator .env at `abra app new`,
and a .env is NEVER updated by a recipe upgrade. So the next time a recipe change
bumps e.g. CLICKHOUSE_ENTRYPOINT_VERSION in abra.sh, an existing deployment keeps
the stale value from its .env: the config CONTENT changes while the swarm config
NAME does not, and swarm configs are immutable -

  FATA failed to update config <stack>_clickhouse_entrypoint_v6:
       only updates to Labels are allowed

which is exactly the failure gitea hit with app_ini_v22.

The fleet convention, consistent across gitea/discourse/keycloak/mailu: .env.sample
carries SECRET_*_VERSION only (operator-managed secret rotation); config object
versions live in abra.sh (recipe-managed - bumping one IS a recipe change).
plausible main already followed this; only this branch diverged.

abra.sh is unchanged and keeps CLICKHOUSE_USER_CONF_VERSION=v3 - that bump is
correct, clickhouse-user-config.xml content genuinely changed.
2026-08-11 18:38:40 +00:00
2023-11-09 20:35:00 +00:00
2025-01-08 10:09:13 -08:00
2021-09-28 00:55:27 +02:00
2026-06-09 15:46:28 +00:00

plausible

Status: Work in progress

  • Category: Apps
  • Status: 1, alpha
  • Image: plausible/analytics, 4, upstream
  • Healthcheck:
  • Backups: Yes
  • Email: No
  • Tests:
  • SSO: No

Basic usage

  1. Set up Docker Swarm and abra
  2. Deploy coop-cloud/traefik
  3. abra app new ${REPO_NAME} --secrets (optionally with --pass if you'd like to save secrets in pass)
  4. abra app config YOURAPPDOMAIN - be sure to change $DOMAIN to something that resolves to your Docker swarm box
  5. abra app deploy YOURAPPDOMAIN
  6. Open the configured domain in your browser to finish set-up
S
Description
cc-ci private mirror of coop-cloud/plausible (recipe CI)
Readme
101 KiB
Languages
Shell 91.7%
Roff 8.3%