mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
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.
This commit is contained in:
parent
40e77e9e6b
commit
1289456d3b
13 changed files with 16 additions and 16 deletions
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/bot.yml
vendored
2
.github/workflows/bot.yml
vendored
|
|
@ -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.
|
||||
|
|
|
|||
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/comment.yml
vendored
2
.github/workflows/comment.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/edited.yml
vendored
2
.github/workflows/edited.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
4
.github/workflows/eval.yml
vendored
4
.github/workflows/eval.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/merge-group.yml
vendored
4
.github/workflows/merge-group.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/periodic-merge.yml
vendored
2
.github/workflows/periodic-merge.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/pull-request-target.yml
vendored
4
.github/workflows/pull-request-target.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/review.yml
vendored
2
.github/workflows/review.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/reviewed.yml
vendored
2
.github/workflows/reviewed.yml
vendored
|
|
@ -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.
|
||||
|
|
|
|||
2
.github/workflows/teams.yml
vendored
2
.github/workflows/teams.yml
vendored
|
|
@ -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.
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue