ci(lint): give renovate-config room for a cold image pull
Build / build (pull_request) Successful in 36s
Lint / lint (pull_request) Successful in 3m7s
Molecule / select (pull_request) Successful in 6s
Molecule / scenarios (pull_request) Skipped
Lint / renovate-config (pull_request) Successful in 2m42s
Molecule / Result (pull_request) Successful in 1s
Build / build (pull_request) Successful in 36s
Lint / lint (pull_request) Successful in 3m7s
Molecule / select (pull_request) Successful in 6s
Molecule / scenarios (pull_request) Skipped
Lint / renovate-config (pull_request) Successful in 2m42s
Molecule / Result (pull_request) Successful in 1s
Raise the renovate-config timeout to 15 minutes: after a self-bump the runner pulls the large -full image first. The comment on the validator step now says the clone credential is kept out of it, not the job token, which the runner may still pass to every step. The workflow rules note that renovate-config is the Lint job outside the ci image. Refs: #188 Assisted-by: Claude Code
This commit is contained in:
1 parent
fc62e2e110
commit
2c9221ef45
2 files changed
+5
-3
No files matched your search
@@ -56,7 +56,7 @@ issue.
|
|||||||
## Lint and Build
|
## Lint and Build
|
||||||
|
|
||||||
- **Lint and Build run in the pinned `ci` image and compare the pin files with the checksums
|
- **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,
|
`requirements-dev.lock`, `requirements.yml` or `.pre-commit-config.yaml` takes the slow path,
|
||||||
which installs the pinned tools and collections.
|
which installs the pinned tools and collections.
|
||||||
*Why:* a pull request is tested on its own pins, and an unchanged one starts in seconds.
|
*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.yml's pin (test_the_renovate_image_pins_are_the_same); the ci image has no Node.
|
||||||
renovate-config:
|
renovate-config:
|
||||||
runs-on: kamino-docker
|
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:
|
container:
|
||||||
image: renovate/renovate:44.161.0-full@sha256:ddbf02e44b542343c9df696b88fd953f04cc3ee5f771221805ff8efb26595416
|
image: renovate/renovate:44.161.0-full@sha256:ddbf02e44b542343c9df696b88fd953f04cc3ee5f771221805ff8efb26595416
|
||||||
steps:
|
steps:
|
||||||
@@ -173,7 +174,8 @@ jobs:
|
|||||||
git checkout "$SHA" || { git fetch origin "$REF" && git checkout "$SHA"; }
|
git checkout "$SHA" || { git fetch origin "$REF" && git checkout "$SHA"; }
|
||||||
echo "Checked out $(git rev-parse HEAD)"
|
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.
|
# --no-global: renovate.json is a repository config, not the bot's global one.
|
||||||
- name: Validate renovate.json
|
- name: Validate renovate.json
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user