Merge pull request 'ci: run two jobs on the runner and give molecule 45 minutes' (#367) from ci/243-capacity-two into main
Images / image (0.1, Dockerfile, ubuntu:24.04@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289, molecule-ubuntu2404, images/molecule-ubuntu2404) (push) Successful in 13s
Images / image (0.1, Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604) (push) Successful in 14s
Images / image (0.2, images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, ) (push) Successful in 14s

Reviewed-on: #367
This commit was merged in pull request #367.
This commit is contained in:
Defame1297 committed 2026-11-25 13:15:03 +00:00
commit 696fe92142
2 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ jobs:
github.ref == 'refs/heads/main'
runs-on: kamino-docker
timeout-minutes: 45
# One job at a time on the single-capacity runner. An empty subpath means the
# max-parallel: 1 keeps the builds to one at a time. The runner takes two jobs, so a build
# may share it with one other job (Lint, Build or Molecule). An empty subpath means the
# repository root is the build context.
#
# base: MAJOR.MINOR of the image's semver tags, independent of the Collection's releases;
+3 -2
View File
@@ -47,9 +47,10 @@ jobs:
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository)
runs-on: [kamino-molecule]
# Two full runs sharing the runner (a nightly run and a dispatch) take more than 30 minutes.
# Also the age past which the sweep step removes a run's containers; a script test holds the
# two equal.
timeout-minutes: 30
timeout-minutes: 45
env:
# The tools and collections molecule runs with: the image Lint and Build use.
CI_IMAGE: >-
@@ -97,7 +98,7 @@ jobs:
ids="$(docker ps -aq --filter 'label=net.rkdr.mortis.molecule-run')"
# The job's timeout-minutes (a script test holds them equal): a shorter bound would remove a
# live run's containers.
cutoff="$(date -d '30 minutes ago' +%s)"
cutoff="$(date -d '45 minutes ago' +%s)"
old=""
for id in $ids; do
# a container removed since the listing, by its run or another run's sweep, is skipped