Skip to content

Add CADT prerelease apt repo support and v2 config format#468

Merged
TheLastCicada merged 3 commits intomainfrom
cadt-prerelease-and-v2-config
Mar 2, 2026
Merged

Add CADT prerelease apt repo support and v2 config format#468
TheLastCicada merged 3 commits intomainfrom
cadt-prerelease-and-v2-config

Conversation

@TheLastCicada
Copy link
Contributor

Summary

  • CADT prerelease repo support: adds cadt_apt_prerelease variable (default false) to toggle between the stable (repo.chia.net/cadt) and prerelease (repo.chia.net/cadt-test) apt repositories, per the CADT README. Includes a cleanup task to remove the unused repo when switching.
  • CADT v2 config format: auto-detects whether to use the new config-v2.yaml.j2 template based on the installed CADT version (>= 1.7.26). Adds v1/v2 configuration defaults for dual-API support.
  • climate-nginx-base fix: applies | bool filter to cloudflare_proxy conditionals for strict Ansible compatibility.
  • Adds /worktrees/ to .gitignore.

Test plan

  • Deploy to a host with cadt_apt_prerelease: true and an RC version (e.g. cadt_api_version: "1.7.26-rc16") and verify the prerelease repo is added and the package installs
  • Deploy to a host with cadt_apt_prerelease: false (or unset) and verify the stable repo is used
  • Verify switching from prerelease to stable (or vice versa) cleans up the old repo entry
  • Verify v2 config template is used for versions >= 1.7.26

- Add cadt_apt_prerelease variable to toggle between stable and prerelease
  (cadt-test) apt repositories, with cleanup of the unused repo
- Add v2 config template and auto-detect config format based on version
- Add v1/v2 configuration defaults for dual-API support
- Fix cloudflare_proxy conditionals to use bool filter
- Add /worktrees/ to .gitignore
Resolve conflicts in cadt/tasks/main.yml: keep main's conservative
version check logic and dynamic config path from PR #467.
@TheLastCicada TheLastCicada enabled auto-merge March 2, 2026 07:40
@TheLastCicada TheLastCicada merged commit 514008d into main Mar 2, 2026
11 checks passed
@TheLastCicada TheLastCicada deleted the cadt-prerelease-and-v2-config branch March 2, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants