diff --git a/.gitea/workflows/image.yml b/.gitea/workflows/image.yml index e7eb749..07ab4a3 100644 --- a/.gitea/workflows/image.yml +++ b/.gitea/workflows/image.yml @@ -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; diff --git a/.gitea/workflows/molecule.yml b/.gitea/workflows/molecule.yml index a2a59dc..768390a 100644 --- a/.gitea/workflows/molecule.yml +++ b/.gitea/workflows/molecule.yml @@ -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