ansible / ansible/ansible-dev-tools

Add Renovate custom manager to track Fedora base image in execution-environment.yml

Open
#776 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
207
Forks
71
Avg merge
4d 6h
Merged PRs (30d)
4

Description

Renovate is already configured in this repo but only tracks Python packages. The Fedora base image in execution-environment.yml is not covered, which has caused it to go stale twice (#660, #774) — leaving the project on an EOL Fedora version for weeks before someone notices.

Renovate approach (won't work)

A Renovate customManagers regex entry with the docker datasource can detect new tags on quay.io/fedora/fedora-minimal, but it cannot distinguish stable releases from development/rawhide images. Fedora publishes container tags for unreleased versions (e.g., :45 is currently tagged but its org.opencontainers.image.version OCI label is rawhide, not 45). Renovate does not inspect OCI image labels for version filtering — it only uses them for sourceUrl and gitRef. This means Renovate would propose premature bumps to unstable releases.

See closed PR #777 for the attempted Renovate approach.

Alternative under investigation

A custom GitHub Actions workflow that uses skopeo inspect to check the org.opencontainers.image.version OCI label on the next tag. Only when the label matches the tag number (i.e., it's a stable release, not rawhide) would it open a PR. This avoids third-party dependencies and uses the registry as the source of truth.

Follow-up to #774.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing execution-environment.yml and the closed PR #777, then inspect the repository's existing Renovate and GitHub Actions configuration. The workflow should use skopeo to check the Fedora image's OCI version label and open an update only when it matches a stable tag, avoiding rawhide releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.