diff --git a/.github/workflows/check-changes.yml b/.github/workflows/check-changes.yml index a0c60ace1e..77991d6c6d 100644 --- a/.github/workflows/check-changes.yml +++ b/.github/workflows/check-changes.yml @@ -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: - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31f87b08e7..6488df4519 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: - diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index 7f870ef6a5..a6611b6ba1 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -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: diff --git a/.github/workflows/e2e-fleet-upgrade-ci.yml b/.github/workflows/e2e-fleet-upgrade-ci.yml index 63303a5b24..b1e9c75494 100644 --- a/.github/workflows/e2e-fleet-upgrade-ci.yml +++ b/.github/workflows/e2e-fleet-upgrade-ci.yml @@ -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: diff --git a/.github/workflows/e2e-multicluster-ci.yml b/.github/workflows/e2e-multicluster-ci.yml index efceffe5f9..0292789713 100644 --- a/.github/workflows/e2e-multicluster-ci.yml +++ b/.github/workflows/e2e-multicluster-ci.yml @@ -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: - diff --git a/.github/workflows/e2e-nightly-ci.yml b/.github/workflows/e2e-nightly-ci.yml index 88b29c5b63..0bae505e09 100644 --- a/.github/workflows/e2e-nightly-ci.yml +++ b/.github/workflows/e2e-nightly-ci.yml @@ -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: diff --git a/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml b/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml index 6a3df3c49a..9b3e4a189c 100644 --- a/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml +++ b/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml @@ -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: - diff --git a/.github/workflows/e2e-rancher-upgrade-fleet.yml b/.github/workflows/e2e-rancher-upgrade-fleet.yml index cb29c077d4..e33ae33090 100644 --- a/.github/workflows/e2e-rancher-upgrade-fleet.yml +++ b/.github/workflows/e2e-rancher-upgrade-fleet.yml @@ -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: - diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 4757afb9be..06fc5ba440 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -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 diff --git a/.github/workflows/release-against-charts.yml b/.github/workflows/release-against-charts.yml index ec640fed9a..4c491dd6f7 100644 --- a/.github/workflows/release-against-charts.yml +++ b/.github/workflows/release-against-charts.yml @@ -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: @@ -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 \ No newline at end of file + ../fleet/.github/scripts/create-pr.sh ${{github.event.inputs.charts_ref}} ${{github.event.inputs.new_fleet}} ${{github.event.inputs.new_chart}} charts diff --git a/.github/workflows/release-against-rancher.yml b/.github/workflows/release-against-rancher.yml index ade4391e12..aa76f6ffc6 100644 --- a/.github/workflows/release-against-rancher.yml +++ b/.github/workflows/release-against-rancher.yml @@ -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: diff --git a/.github/workflows/release-against-test-charts.yml b/.github/workflows/release-against-test-charts.yml index 1fb4daa0e1..7b0193b49b 100644 --- a/.github/workflows/release-against-test-charts.yml +++ b/.github/workflows/release-against-test-charts.yml @@ -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: diff --git a/.github/workflows/release-fleet.yml b/.github/workflows/release-fleet.yml index 3c1230ad8e..0caad3711d 100644 --- a/.github/workflows/release-fleet.yml +++ b/.github/workflows/release-fleet.yml @@ -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 diff --git a/.github/workflows/typos.yaml b/.github/workflows/typos.yaml index f48eefda4b..d6c540934a 100644 --- a/.github/workflows/typos.yaml +++ b/.github/workflows/typos.yaml @@ -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 diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 9da5c05b59..15ff468372 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -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