ci(renovate): validate the config in Lint, bump Renovate's own image weekly, run on push to main #525
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user