diff options
| author | Wolfgang Walther <walther@technowledgy.de> | 2025-11-24 18:26:45 +0100 |
|---|---|---|
| committer | Wolfgang Walther <walther@technowledgy.de> | 2025-11-25 11:44:14 +0100 |
| commit | 1289456d3ba95d381a8855e128b4e8947db0d310 (patch) | |
| tree | f5f979a1b4bf0de4e35f5ec2e1dee520b884f496 /.github | |
| parent | 40e77e9e6b129b439cd88ef85d22daa0145cf5e2 (diff) | |
workflows: run smaller jobs on ubuntu-slim
This is in public preview now. These runners run in a docker container
with only a single vCPU instead of 4 like the other jobs. For most of
our jobs, this should be plenty, except for eval and linting.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/backport.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/bot.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/check.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/comment.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/edited.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/eval.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/merge-group.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/periodic-merge.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/pull-request-target.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/review.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/reviewed.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/teams.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 2 |
13 files changed, 16 insertions, 16 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 57e7cd547ef5..bcbcc73dae1f 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -22,7 +22,7 @@ jobs: backport: name: Backport Pull Request if: vars.NIXPKGS_CI_APP_ID && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport')) - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim timeout-minutes: 3 steps: # Use a GitHub App to create the PR so that CI gets triggered diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 024ced4688a7..b43aca0541e6 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -39,7 +39,7 @@ defaults: jobs: run: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim if: github.event_name != 'schedule' || github.repository_owner == 'NixOS' env: # TODO: Remove after 2026-03-04, when Node 24 becomes the default. diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 9d8be547c7ee..a264e3ecba48 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,7 +32,7 @@ jobs: if: inputs.baseBranch && inputs.headBranch permissions: pull-requests: write - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim timeout-minutes: 3 steps: - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 5f6941f7daed..16efc03bf6e5 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -19,7 +19,7 @@ jobs: # a reaction to these comments. react: name: React with eyes - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim timeout-minutes: 2 if: contains(github.event.comment.body, '@NixOS/nixpkgs-merge-bot merge') steps: diff --git a/.github/workflows/edited.yml b/.github/workflows/edited.yml index 8e9d471eaa13..b05eb973074c 100644 --- a/.github/workflows/edited.yml +++ b/.github/workflows/edited.yml @@ -29,7 +29,7 @@ defaults: jobs: base: name: Trigger jobs - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim if: github.event.changes.base.ref.from && github.event.changes.base.ref.from != github.event.pull_request.base.ref timeout-minutes: 2 steps: diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml index e1b0ae973f9e..9d8dc0b7deab 100644 --- a/.github/workflows/eval.yml +++ b/.github/workflows/eval.yml @@ -33,7 +33,7 @@ defaults: jobs: versions: if: inputs.testVersions - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim outputs: versions: ${{ steps.versions.outputs.versions }} steps: @@ -257,7 +257,7 @@ jobs: # Creates a matrix of Eval performance for various versions and systems. report: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim needs: [versions, eval] steps: - name: Download output paths and eval stats for all versions diff --git a/.github/workflows/merge-group.yml b/.github/workflows/merge-group.yml index 8473ebf30735..277d9c268825 100644 --- a/.github/workflows/merge-group.yml +++ b/.github/workflows/merge-group.yml @@ -18,7 +18,7 @@ permissions: {} jobs: prepare: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim outputs: baseBranch: ${{ steps.prepare.outputs.base }} mergedSha: ${{ steps.prepare.outputs.mergedSha }} @@ -113,7 +113,7 @@ jobs: needs: - lint - eval - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim permissions: statuses: write steps: diff --git a/.github/workflows/periodic-merge.yml b/.github/workflows/periodic-merge.yml index d29f34e643c0..32bce047783c 100644 --- a/.github/workflows/periodic-merge.yml +++ b/.github/workflows/periodic-merge.yml @@ -21,7 +21,7 @@ defaults: jobs: merge: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim timeout-minutes: 5 steps: # Use a GitHub App to create the PR so that CI gets triggered diff --git a/.github/workflows/pull-request-target.yml b/.github/workflows/pull-request-target.yml index ea0a887888e3..a9bbf62c388d 100644 --- a/.github/workflows/pull-request-target.yml +++ b/.github/workflows/pull-request-target.yml @@ -19,7 +19,7 @@ permissions: {} jobs: prepare: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim permissions: # wrong branch review comment pull-requests: write @@ -121,7 +121,7 @@ jobs: - lint - eval - build - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim permissions: statuses: write steps: diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index a6ced7d29059..a6f2299d06cc 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -17,7 +17,7 @@ defaults: jobs: process: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim timeout-minutes: 2 steps: - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 diff --git a/.github/workflows/reviewed.yml b/.github/workflows/reviewed.yml index d7d368739eaa..bf6be077b189 100644 --- a/.github/workflows/reviewed.yml +++ b/.github/workflows/reviewed.yml @@ -12,6 +12,6 @@ defaults: jobs: trigger: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim steps: - run: echo This is a no-op only used as a trigger for workflow_run. diff --git a/.github/workflows/teams.yml b/.github/workflows/teams.yml index 5a1cb51f3ddf..1b144af2a0b6 100644 --- a/.github/workflows/teams.yml +++ b/.github/workflows/teams.yml @@ -15,7 +15,7 @@ defaults: jobs: sync: if: github.event_name != 'schedule' || github.repository_owner == 'NixOS' - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim steps: # Use a GitHub App to create the PR so that CI gets triggered and to # request team member lists. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57f8ba83d2c8..63e055207c76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ permissions: {} jobs: prepare: - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim outputs: merge-group: ${{ steps.files.outputs.merge-group }} mergedSha: ${{ steps.prepare.outputs.mergedSha }} |
