Add CADT prerelease apt repo support and v2 config format#468
Merged
TheLastCicada merged 3 commits intomainfrom Mar 2, 2026
Merged
Add CADT prerelease apt repo support and v2 config format#468TheLastCicada merged 3 commits intomainfrom
TheLastCicada merged 3 commits intomainfrom
Conversation
- 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.
Starttoaster
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cadt_apt_prereleasevariable (defaultfalse) 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.config-v2.yaml.j2template based on the installed CADT version (>= 1.7.26). Adds v1/v2 configuration defaults for dual-API support.| boolfilter tocloudflare_proxyconditionals for strict Ansible compatibility./worktrees/to.gitignore.Test plan
cadt_apt_prerelease: trueand an RC version (e.g.cadt_api_version: "1.7.26-rc16") and verify the prerelease repo is added and the package installscadt_apt_prerelease: false(or unset) and verify the stable repo is used