6 Commits
Author SHA1 Message Date
blandClaude Opus 5.5 43421f0923 dns: DMARC reports go to dmarc@, not the board's inbox
dns / dns (push) Successful in 4s
Each large mailbox provider mails post@ a daily XML report, and the
board forwards them on. dmarc@ is an address at Zoho, to be made there
before the zone is pushed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:06:53 +01:00
bl 48f286650b Merge pull request 'deploy-tomtervel: kron.env is one of the optional env files' (#14) from deploy-kron-env into main
deploy / deploy (push) Failing after 2s
Reviewed-on: #14
2026-11-10 22:31:01 +01:00
blandClaude Fable 5.1 99852cdce6 deploy-tomtervel: kron.env is one of the optional env files
The first deploy with the pay profile failed: compose wanted kron.env
in the checkout and the host script only moves the files it knows.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 22:27:40 +01:00
bl 3d7da36401 Merge pull request 'deploy: check out the repo, so its scripts are there' (#12) from deploy-checkout into main
deploy / deploy (push) Successful in 11s
Reviewed-on: #12
2026-11-10 22:07:49 +01:00
bl bd37ae5786 Merge pull request 'kron in the stack, auto_link for Vipps Login, and the vel's colours in Rauthy' (#13) from kron-pay into main
deploy / deploy (push) Failing after 1m39s
dns / dns (push) Successful in 4s
Reviewed-on: #13
2026-11-10 22:07:40 +01:00
blandClaude Fable 5.1 459f780049 deploy: check out the repo, so its scripts are there
The deploy of #10 failed at the Rauthy providers step with
"./rauthy-providers.sh: No such file or directory": the job wrote env
files and ran the host script, but never had the repo itself.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 22:05:03 +01:00
4 changed files with 20 additions and 4 deletions

No files matched your search

+5
View File
@@ -89,6 +89,11 @@ jobs:
VIPPS_SUBSCRIPTION_KEY: ${{ secrets.VIPPS_SUBSCRIPTION_KEY }} VIPPS_SUBSCRIPTION_KEY: ${{ secrets.VIPPS_SUBSCRIPTION_KEY }}
VIPPS_WEBHOOK_SECRET: ${{ secrets.VIPPS_WEBHOOK_SECRET }} VIPPS_WEBHOOK_SECRET: ${{ secrets.VIPPS_WEBHOOK_SECRET }}
steps: steps:
# The repo's own scripts (rauthy-providers.sh) run from the
# checkout; the stack itself is pulled on the host by
# deploy-tomtervel, not from here.
- uses: actions/checkout@v4
# A missing value stops here, by name, before anything on the host # A missing value stops here, by name, before anything on the host
# is touched. Only names are printed: the log is public. # is touched. Only names are printed: the log is public.
- name: Write the env files - name: Write the env files
+5 -1
View File
@@ -165,7 +165,11 @@ address either.
Going live, in order: Going live, in order:
1. Set `PAY_HOST`, `VIPPS_MSN` and the three key secrets (table above). 1. Set `PAY_HOST`, `VIPPS_MSN` and the three key secrets (table above).
The keys are in `pass` as `tomtervel/vipps/medlemskap`. The keys are in `pass` as `tomtervel/vipps/medlemskap`. The host
script must know `kron.env` (this repo's `deploy-tomtervel`, optional
files): on kasse, `sudo install -m 0755 -o root -g root
/srv/tomtervel/infrastructure/deploy-tomtervel /usr/local/bin/deploy-tomtervel`
after the pull, since the installed copy does not update itself.
2. Merge the DNS record (`dns/dnsconfig.js`, `betaling`) and run the DNS 2. Merge the DNS record (`dns/dnsconfig.js`, `betaling`) and run the DNS
workflow; add the `betaling.tomtervel.no` block from workflow; add the `betaling.tomtervel.no` block from
`host-caddy/tomtervel.no` to kasse's Caddy. `host-caddy/tomtervel.no` to kasse's Caddy.
+3 -2
View File
@@ -18,8 +18,9 @@ set -euo pipefail
root=/srv/tomtervel/infrastructure root=/srv/tomtervel/infrastructure
stage=/var/lib/gitea-runner/tomtervel-env stage=/var/lib/gitea-runner/tomtervel-env
files=(.env portal.env nats.env chat.env) files=(.env portal.env nats.env chat.env)
# Written only when the site runs what needs it (Rauthy). # Written only when the site runs what needs it (Rauthy, the money
optional=(rauthy.env) # service under the pay profile).
optional=(rauthy.env kron.env)
[ -d "$root/.git" ] || { echo "no checkout at $root - bootstrap it first" >&2; exit 1; } [ -d "$root/.git" ] || { echo "no checkout at $root - bootstrap it first" >&2; exit 1; }
for f in "${files[@]}"; do for f in "${files[@]}"; do
+7 -1
View File
@@ -63,7 +63,13 @@ D("tomtervel.no", REG_NONE, DnsProvider(DSP_CLOUDFLARE),
// Reports only, to start. Tighten to p=quarantine once the reports // Reports only, to start. Tighten to p=quarantine once the reports
// show both Zoho and kasse passing. // show both Zoho and kasse passing.
TXT("_dmarc", "v=DMARC1; p=none; rua=mailto:post@tomtervel.no"), //
// The reports (a daily XML file from each large mailbox provider) go
// to dmarc@, not the board's post@. dmarc@ is an address at Zoho, made
// in Zoho Mail's admin before this is pushed: otherwise they bounce.
// Another domain in rua= needs its own consent record there
// (tomtervel.no._report._dmarc.<that domain>).
TXT("_dmarc", "v=DMARC1; p=none; rua=mailto:dmarc@tomtervel.no"),
// Zoho's DKIM key, as it stands today: on the zone's apex, where no // Zoho's DKIM key, as it stands today: on the zone's apex, where no
// receiver looks for it, so mail from Zoho is unsigned in effect. Zoho // receiver looks for it, so mail from Zoho is unsigned in effect. Zoho