ci(renovate): validate the config in Lint, bump Renovate's own image weekly, run on push to main #525

Merged
Defame1297 merged 6 commits from ci/188-172-renovate-self-bump into main 2026-12-06 17:56:38 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 2c9221ef45 - Show all commits

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ issue.
## Lint and Build
- **Lint and Build run in the pinned `ci` image and compare the pin files with the checksums
baked into it (`/opt/ci-pins.sha256`).** A pull request that changes `requirements-dev.txt`,
baked into it (`/opt/ci-pins.sha256`)**, except Lint's `renovate-config` job (below). A pull request that changes `requirements-dev.txt`,
`requirements-dev.lock`, `requirements.yml` or `.pre-commit-config.yaml` takes the slow path,
which installs the pinned tools and collections.
*Why:* a pull request is tested on its own pins, and an unchanged one starts in seconds.
+4 -2
View File
@@ -153,7 +153,8 @@ jobs:
# renovate.yml's pin (test_the_renovate_image_pins_are_the_same); the ci image has no Node.
renovate-config:
runs-on: kamino-docker
timeout-minutes: 5
# Ceiling only: it includes a cold pull of the large -full image after a bump.
timeout-minutes: 15
container:
image: renovate/renovate:44.161.0-full@sha256:ddbf02e44b542343c9df696b88fd953f04cc3ee5f771221805ff8efb26595416
steps:
@@ -173,7 +174,8 @@ jobs:
git checkout "$SHA" || { git fetch origin "$REF" && git checkout "$SHA"; }
echo "Checked out $(git rev-parse HEAD)"
# A step of its own, so the job token is not in the environment that reads renovate.json.
# A step of its own, so the clone credential (http.extraheader) is not in the environment
# that reads renovate.json.
# --no-global: renovate.json is a repository config, not the bot's global one.
- name: Validate renovate.json
run: |