Skip to content

Commit

Permalink
feat: switching to higher spec runners (#1312)
Browse files Browse the repository at this point in the history
* feat: switching to higher spec runners

Signed-off-by: AlexsJones <[email protected]>

* chore: switched to runner groups

Signed-off-by: AlexsJones <[email protected]>

* chore: switched to runner groups

Signed-off-by: AlexsJones <[email protected]>

* chore: switched to runner groups

Signed-off-by: AlexsJones <[email protected]>

---------

Signed-off-by: AlexsJones <[email protected]>
  • Loading branch information
AlexsJones authored Nov 10, 2024
1 parent 7dcdfc8 commit 5f7d9de
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/golangci_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/semantic_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on:
group: "cncf/Default"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

Expand Down

0 comments on commit 5f7d9de

Please sign in to comment.