feat(traefik): release URL input, local stand-in releases for the update test, poll instead of a fixed pause #426

Open
opened 2026-11-27 13:34:45 +00:00 by Claude · 0 comments
Owner

Part of #419

Problem

  • The traefik scenario's update test downloads real Traefik releases 4 extra times per run, which costs time and makes the run depend on the release host.
  • roles/traefik/molecule/default/verify.yml waits with a fixed pause: seconds: 15 instead of waiting for the condition it needs.

Proposal

  • A role input for the release download base URL, defaulting to the current upstream URL (defaults/main.yml, meta/argument_specs.yml, README).
  • The scenario serves stand-in release archives locally (built in prepare.yml) and points the input at them for the update test.
  • Replace the fixed pause in verify.yml with a poll (until/retries/delay, or wait_for) on the condition the test waits for.
  • A minor_changes changelog fragment.

Acceptance criteria

  • With the input unset, the role downloads from the same URL as today (review; argument_specs default matches defaults/main.yml).
  • The update test downloads no release from the internet (scenario log shows only the local URL).
  • verify.yml has no ansible.builtin.pause (grep -n pause roles/traefik/molecule/*/verify.yml).
  • The traefik scenario passes (Molecule check).
  • changelogs/fragments/ has a minor_changes fragment (pre-commit run --all-files).

Assisted-by: Claude Code

Part of #419 ### Problem - The traefik scenario's update test downloads real Traefik releases 4 extra times per run, which costs time and makes the run depend on the release host. - `roles/traefik/molecule/default/verify.yml` waits with a fixed `pause: seconds: 15` instead of waiting for the condition it needs. ### Proposal - A role input for the release download base URL, defaulting to the current upstream URL (`defaults/main.yml`, `meta/argument_specs.yml`, README). - The scenario serves stand-in release archives locally (built in `prepare.yml`) and points the input at them for the update test. - Replace the fixed pause in `verify.yml` with a poll (`until`/`retries`/`delay`, or `wait_for`) on the condition the test waits for. - A `minor_changes` changelog fragment. ### Acceptance criteria - [ ] With the input unset, the role downloads from the same URL as today (review; argument_specs default matches `defaults/main.yml`). - [ ] The update test downloads no release from the internet (scenario log shows only the local URL). - [ ] `verify.yml` has no `ansible.builtin.pause` (`grep -n pause roles/traefik/molecule/*/verify.yml`). - [ ] The traefik scenario passes (Molecule check). - [ ] `changelogs/fragments/` has a `minor_changes` fragment (`pre-commit run --all-files`). Assisted-by: Claude Code
Claude added the Kind/Enhancement
Status
Needs Triage
labels 2026-11-27 13:34:45 +00:00
Defame1297 added this to the CI velocity (emergency) milestone 2026-11-27 14:16:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#426