Skip to content

Update ubuntu Docker tag to v26 - #211

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ubuntu-26.x
Open

Update ubuntu Docker tag to v26#211
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ubuntu-26.x

Conversation

@renovate

@renovate renovate Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ubuntu final major nobleresolute

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/ubuntu-26.x branch from 5f244b5 to 7cc6054 Compare July 22, 2026 10:34
@coretl

coretl commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Needs to be in sync with the upstream change. Need to stop renovate from doing these updates downstream, should only happen on copier template.

coretl added a commit to DiamondLightSource/python-copier-template that referenced this pull request Jul 24, 2026
Downstream repos generated from this template were getting Renovate
PRs (e.g. "Update ubuntu Docker tag") for base images that are only
ever meant to be bumped centrally, in template/Dockerfile.jinja.
Add a packageRule to renovate.json.jinja that disables the dockerfile
manager for ubuntu and ghcr.io/diamondlightsource/ubuntu-devcontainer,
mirroring the existing pyenv and github-actions disable rules.

Reported in bluesky/scanspec#211.
coretl added a commit to DiamondLightSource/python-copier-template that referenced this pull request Aug 14, 2026
…os (#365)

## Summary

Downstream repos generated from this template were receiving Renovate
PRs (e.g. "Update ubuntu Docker tag") for Docker base images that are
only ever meant to be bumped centrally, in `template/Dockerfile.jinja`.
This PR adds a `packageRule` to `template/renovate.json.jinja` — the
config shipped to downstream projects — that disables Renovate's
`dockerfile` manager for the two template-managed base images (`ubuntu`
and `ghcr.io/diamondlightsource/ubuntu-devcontainer`), mirroring the
existing rules that already disable `pyenv` and template-managed GitHub
Actions.

The rule is appended to the **end** of the `packageRules` array (not
inserted before the existing github-actions rule), since
`tests/test_example.py::test_renovate_actions_match_what_is_shipped`
hard-indexes `packageRules[1]` as the github-actions rule.

## Originating request

From a maintainer comment on
[bluesky/scanspec#211](bluesky/scanspec#211):
Renovate was opening Docker base-image bump PRs in downstream repos, but
those base images are managed centrally by this template — the update
should only ever happen here, not downstream.

## Deliberately left alone

- **Root `renovate.json`** (this template repo's own Renovate config)
was **not** changed — this repo should keep receiving Docker base-image
updates itself, since it's the one place those bumps are supposed to
land.
- `template/Dockerfile.jinja`, the root `Dockerfile`, workflows, and
`uv.lock` were not touched.

## Verification

Ran locally from the repo root, as CI does:
- `uv run --locked tox -e pre-commit` — passed.
- `uv run --locked tox -e tests` —
`test_renovate_actions_match_what_is_shipped` passes for all 5
parametrized scenarios (no-docker, docker, docker+debug, pypi, sphinx
docs). Two pre-existing, unrelated failures were confirmed to reproduce
identically on unmodified `main` (a docs-build test blocked by
network/proxy restrictions in this sandbox, and a template-version-hash
mismatch in a generated doc link) — left untouched as instructed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---
_Generated by [Claude
Code](https://claude.ai/code/session_01J29WGmqiaFAwfavJrqwon7)_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant