Skip to content

Commit

Permalink
Use standalone runners
Browse files Browse the repository at this point in the history
  • Loading branch information
manno committed Oct 25, 2024
1 parent ef6fd0b commit 2ee0c3e
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
check-changes:
runs-on: ubuntu-latest
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}

steps:
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
unit-test:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,run-id=${{ github.run_id }}

steps:
-
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ env:

jobs:
e2e-fleet-test:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-fleet-upgrade-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:

jobs:
fleet-upgrade-test:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

strategy:
matrix:
k3s:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-multicluster-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
e2e-fleet-mc-test:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

steps:
-
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:

jobs:
e2e-fleet-nightly-test:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

strategy:
matrix:
k3s_version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:

jobs:
rancher-fleet-integration:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

steps:
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-rancher-upgrade-fleet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ env:

jobs:
rancher-fleet-upgrade:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

steps:
-
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-against-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ on:

jobs:
create-rancher-charts-pr:
runs-on: ubuntu-latest
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -53,4 +54,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PUSH_TO_FORKS_SUBMIT_PRS }}
working-directory: ./charts/
run: |
../fleet/.github/scripts/create-pr.sh ${{github.event.inputs.charts_ref}} ${{github.event.inputs.new_fleet}} ${{github.event.inputs.new_chart}} charts
../fleet/.github/scripts/create-pr.sh ${{github.event.inputs.charts_ref}} ${{github.event.inputs.new_fleet}} ${{github.event.inputs.new_chart}} charts
3 changes: 2 additions & 1 deletion .github/workflows/release-against-rancher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ env:

jobs:
create-rancher-pr:
runs-on: ubuntu-latest
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}

steps:
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-against-test-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ permissions:

jobs:
push-test-rancher-charts:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,run-id=${{ github.run_id }}

outputs:
target_branch: ${{ steps.compute_target_branch.outputs.target_branch }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-fleet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ env:

jobs:
build-fleet:
runs-on: ubuntu-latest
runs-on: runs-on,runner=8cpu-linux-x64,mem=16,run-id=${{ github.run_id }}

if: github.repository == 'rancher/fleet'
steps:
- name: Check out Fleet
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/typos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on: [pull_request]
jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ permissions:

jobs:
updatecli:
runs-on: ubuntu-latest
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}

if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
Expand Down

0 comments on commit 2ee0c3e

Please sign in to comment.