fix(fleet): strip digest from build_base tag before APT compatibility check; mark wizard done

This commit is contained in:
2026-05-10 22:27:47 -04:00
parent 80fff1efa4
commit 59d3351306
2 changed files with 3 additions and 2 deletions

View File

@@ -141,7 +141,7 @@
- [x] **CI/CD pipeline** — Automated testing and linting via Gitea Actions. - [x] **CI/CD pipeline** — Automated testing and linting via Gitea Actions.
- [x] **Strict Typing** — Project-wide enforcement of PEP 484 type hints. - [x] **Strict Typing** — Project-wide enforcement of PEP 484 type hints.
- [x] **Plugin SDK docs** — Documentation for adding custom services. - [x] **Plugin SDK docs** — Documentation for adding custom services.
- [ ] **Config generator wizard**`decnet wizard` for interactive setup. - [x] **Config generator wizard**`decnet wizard` for interactive setup. - Not CLI, but UI in the DeckyDeploy wizard, plus TopologyWizard.
## API Improvements ## API Improvements

View File

@@ -203,7 +203,8 @@ def test_all_distros_have_build_base():
def test_all_distro_build_bases_are_apt_compatible(): def test_all_distro_build_bases_are_apt_compatible():
for slug, profile in all_distros().items(): for slug, profile in all_distros().items():
assert profile.build_base in APT_COMPATIBLE, ( tag = profile.build_base.split("@")[0]
assert tag in APT_COMPATIBLE, (
f"Distro '{slug}' build_base '{profile.build_base}' is not apt-compatible. " f"Distro '{slug}' build_base '{profile.build_base}' is not apt-compatible. "
f"Allowed: {APT_COMPATIBLE}" f"Allowed: {APT_COMPATIBLE}"
) )