Unverified Commit 1289456d authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

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.
parent 40e77e9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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:
Loading