[devscripts] Make repository revision overrideable - #4106
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 38m 18s |
811aab3 to
0f21185
Compare
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider FAILURE in 7m 23s |
|
recheck |
|
This PR is stale because it has been for over 15 days with no activity. |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 52m 45s |
Move the dev-scripts repository URL and revision from role vars to role defaults so callers can select a tested revision through normal Ansible precedence. Keep 9116d288bb2885a29d3c9c9c4bf422305bef370d as the default to preserve existing RHOSO 18 and adoption behavior. Document the variables and exercise an exact RHOSO 19-tested override in Molecule. Related-Issue: #OSPNW-1694 Assisted-By: OpenAI Codex Signed-off-by: Itay Matza <imatza@redhat.com>
0f21185 to
c959612
Compare
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 53m 35s |
Summary
cifmw_devscripts_repoandcifmw_devscripts_repo_branchfromrole vars to role defaults so normal Ansible inventory, play, and group
variables can override them.
9116d288bb2885a29d3c9c9c4bf422305bef370das the default.Why this changed from
HEADThe original revision made every consumer follow a floating upstream tip.
That solved the immediate RHEL 10 blocker but also exposed RHOSO 18 and
adoption jobs to unrelated upstream changes without equivalent validation.
RHOSO 19 jobs instead use the immutable revision
f93ad777ba3fd43b77c27bbc1b70362d31cb582c. That revision contains therequired
rhel10|centos10install path. Keeping the older role default makesthis change opt-in and reproducible.
Compatibility
9116d288...f93ad777...overrideNo existing
ci-framework-jobsmain-branch job overrides this variable.Moving the value does not change the default; it only makes intentional
lower-precedence overrides effective.
Validation
main,including Ansible syntax and lint checks.
revision resolution, repeat-run idempotency, and the expected failure for
nonexistent branch
main.live upstream tip; its replacement expression was exercised independently.
f2cd6afe
and Uni03 build
eb556d55
ran while
f93ad777...was upstream tip, completed dev-scriptsmake all, and failed later in unrelated deployment/post-deployment work.96700fb3
completed successfully with 3,094 passed, 448 skipped, and zero failed or
errored reported tests using an earlier RHEL 10-capable upstream revision.
The updated Molecule assertion still needs to run in Linux CI. Local Podman on
macOS cannot run the scenario because nested virtualization is unavailable.
Related-Issue: #OSPNW-1694
AI assistance: OpenAI Codex assisted with compatibility analysis, test design,
and wording. The author reviewed the resulting changes.