From 5f7d9de46a521463cedc901b729fe27f8d86f381 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Sun, 10 Nov 2024 16:06:06 +0000 Subject: [PATCH] feat: switching to higher spec runners (#1312) * feat: switching to higher spec runners Signed-off-by: AlexsJones * chore: switched to runner groups Signed-off-by: AlexsJones * chore: switched to runner groups Signed-off-by: AlexsJones * chore: switched to runner groups Signed-off-by: AlexsJones --------- Signed-off-by: AlexsJones --- .github/workflows/build_container.yaml | 9 ++++++--- .github/workflows/golangci_lint.yaml | 3 ++- .github/workflows/release.yaml | 9 ++++++--- .github/workflows/semantic_pr.yaml | 3 ++- .github/workflows/test.yaml | 3 ++- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_container.yaml b/.github/workflows/build_container.yaml index 3dcf288281..57a226b6e8 100644 --- a/.github/workflows/build_container.yaml +++ b/.github/workflows/build_container.yaml @@ -22,7 +22,8 @@ defaults: jobs: prepare_ci_run: name: Prepare CI Run - runs-on: ubuntu-24.04 + runs-on: + group: "cncf/Default" outputs: GIT_SHA: ${{ steps.extract_branch.outputs.GIT_SHA }} BRANCH: ${{ steps.extract_branch.outputs.BRANCH }} @@ -61,7 +62,8 @@ jobs: build_image: name: Build Container Image needs: prepare_ci_run - runs-on: ubuntu-24.04 + runs-on: + group: "cncf/Default" env: BRANCH: ${{ needs.prepare_ci_run.outputs.BRANCH }} DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }} @@ -105,7 +107,8 @@ jobs: name: Upload images to ghcr registry needs: [ prepare_ci_run, build_image ] if: github.event_name == 'push' && needs.prepare_ci_run.outputs.NON_FORKED_AND_NON_ROBOT_RUN == 'true' # only run on push to main/maintenance branches - runs-on: ubuntu-24.04 + runs-on: + group: "cncf/Default" env: DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }} BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }} diff --git a/.github/workflows/golangci_lint.yaml b/.github/workflows/golangci_lint.yaml index 4c6f75ffd9..ea3ed58e43 100644 --- a/.github/workflows/golangci_lint.yaml +++ b/.github/workflows/golangci_lint.yaml @@ -6,7 +6,8 @@ on: jobs: golangci-lint: - runs-on: ubuntu-latest + runs-on: + group: "cncf/Default" steps: - name: Check out code into the Go module directory uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f911811d33..bcebd5e79f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,8 @@ jobs: permissions: contents: write # for google-github-actions/release-please-action to create release commit pull-requests: write # for google-github-actions/release-please-action to create release PR - runs-on: ubuntu-latest + runs-on: + group: "cncf/Default" outputs: releases_created: ${{ steps.release.outputs.releases_created }} tag_name: ${{ steps.release.outputs.tag_name }} @@ -38,7 +39,8 @@ jobs: contents: write needs: - release-please - runs-on: ubuntu-latest + runs-on: + group: "cncf/Default" steps: - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main @@ -80,7 +82,8 @@ jobs: if: needs.release-please.outputs.releases_created == 'true' needs: - release-please - runs-on: ubuntu-latest + runs-on: + group: "cncf/Default" permissions: contents: write packages: write diff --git a/.github/workflows/semantic_pr.yaml b/.github/workflows/semantic_pr.yaml index 7741ef0777..92ab1e3d23 100644 --- a/.github/workflows/semantic_pr.yaml +++ b/.github/workflows/semantic_pr.yaml @@ -10,7 +10,8 @@ defaults: shell: bash jobs: validate: - runs-on: ubuntu-24.04 + runs-on: + group: "cncf/Default" permissions: contents: read # Needed for checking out the repository pull-requests: read # Needed for reading prs diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c8d9e22a6d..8a63f89581 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,7 +13,8 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: + group: "cncf/Default" steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4