Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b05991ad3 |
No files matched your search
@@ -89,11 +89,6 @@ jobs:
|
||||
VIPPS_SUBSCRIPTION_KEY: ${{ secrets.VIPPS_SUBSCRIPTION_KEY }}
|
||||
VIPPS_WEBHOOK_SECRET: ${{ secrets.VIPPS_WEBHOOK_SECRET }}
|
||||
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
|
||||
# is touched. Only names are printed: the log is public.
|
||||
- name: Write the env files
|
||||
|
||||
@@ -165,11 +165,7 @@ address either.
|
||||
Going live, in order:
|
||||
|
||||
1. Set `PAY_HOST`, `VIPPS_MSN` and the three key secrets (table above).
|
||||
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.
|
||||
The keys are in `pass` as `tomtervel/vipps/medlemskap`.
|
||||
2. Merge the DNS record (`dns/dnsconfig.js`, `betaling`) and run the DNS
|
||||
workflow; add the `betaling.tomtervel.no` block from
|
||||
`host-caddy/tomtervel.no` to kasse's Caddy.
|
||||
|
||||
+2
-3
@@ -18,9 +18,8 @@ set -euo pipefail
|
||||
root=/srv/tomtervel/infrastructure
|
||||
stage=/var/lib/gitea-runner/tomtervel-env
|
||||
files=(.env portal.env nats.env chat.env)
|
||||
# Written only when the site runs what needs it (Rauthy, the money
|
||||
# service under the pay profile).
|
||||
optional=(rauthy.env kron.env)
|
||||
# Written only when the site runs what needs it (Rauthy).
|
||||
optional=(rauthy.env)
|
||||
|
||||
[ -d "$root/.git" ] || { echo "no checkout at $root - bootstrap it first" >&2; exit 1; }
|
||||
for f in "${files[@]}"; do
|
||||
|
||||
+1
-7
@@ -63,13 +63,7 @@ D("tomtervel.no", REG_NONE, DnsProvider(DSP_CLOUDFLARE),
|
||||
|
||||
// Reports only, to start. Tighten to p=quarantine once the reports
|
||||
// show both Zoho and kasse passing.
|
||||
//
|
||||
// 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"),
|
||||
TXT("_dmarc", "v=DMARC1; p=none; rua=mailto:post@tomtervel.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
|
||||
|
||||
Reference in new issue
Block a user