fix(cdn): restore Alliance pull-zone hostname #166

Merged
pat-s merged 1 commit from t3code/investigate-cran-reindex-url into main 2026-08-13 14:13:05 +00:00
Owner

Motivation

Applying #165 recreated the Alliance SwissPass pull zone without its custom hostname because the hostname association was not represented in OpenTofu.
The recreated zone also received a new numeric ID, making the weekly purge configuration stale.

Changes

  • Manage cran.allianceswisspass.devxy.io as a pull-zone hostname with TLS and forced HTTPS.
  • Resolve the Alliance pull-zone ID from its hostname before purging instead of persisting a replaceable numeric ID.
  • Install jq in the purge step for the Bunny API lookup.

Verification

  • Targeted prek hooks pass.
  • tofu validate passes.
  • crow lint .crow/ passes.
  • just edge-test passes all 14 routing steps.
  • bash -n scripts/purge_cdn_zone.sh passes.

Deployment

Run tofu apply to restore the Alliance hostname on the recreated pull zone.

## Motivation Applying #165 recreated the Alliance SwissPass pull zone without its custom hostname because the hostname association was not represented in OpenTofu. The recreated zone also received a new numeric ID, making the weekly purge configuration stale. ## Changes - Manage `cran.allianceswisspass.devxy.io` as a pull-zone hostname with TLS and forced HTTPS. - Resolve the Alliance pull-zone ID from its hostname before purging instead of persisting a replaceable numeric ID. - Install `jq` in the purge step for the Bunny API lookup. ## Verification - Targeted `prek` hooks pass. - `tofu validate` passes. - `crow lint .crow/` passes. - `just edge-test` passes all 14 routing steps. - `bash -n scripts/purge_cdn_zone.sh` passes. ## Deployment Run `tofu apply` to restore the Alliance hostname on the recreated pull zone.
pat-s force-pushed t3code/investigate-cran-reindex-url from 9f13315d10 to b395ddf4bd 2026-08-13 14:12:54 +00:00 Compare
pat-s merged commit 9bded261ee into main 2026-08-13 14:13:05 +00:00
pat-s deleted branch t3code/investigate-cran-reindex-url 2026-08-13 14:13:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
devxy/build-cran-binaries!166
No description provided.