feat: reverting the cncf runners (#1319)

Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
This commit is contained in:
Alex Jones 2024-11-10 20:54:16 +00:00 committed by GitHub
parent 1ae70e806e
commit ad86e7aa39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 18 deletions

View File

@ -22,8 +22,7 @@ defaults:
jobs:
prepare_ci_run:
name: Prepare CI Run
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
outputs:
GIT_SHA: ${{ steps.extract_branch.outputs.GIT_SHA }}
BRANCH: ${{ steps.extract_branch.outputs.BRANCH }}
@ -62,8 +61,7 @@ jobs:
build_image:
name: Build Container Image
needs: prepare_ci_run
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
env:
BRANCH: ${{ needs.prepare_ci_run.outputs.BRANCH }}
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
@ -107,8 +105,7 @@ 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:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
env:
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }}

View File

@ -6,8 +6,7 @@ on:
jobs:
golangci-lint:
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

View File

@ -16,8 +16,7 @@ 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:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
@ -39,8 +38,7 @@ jobs:
contents: write
needs:
- release-please
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
@ -82,8 +80,7 @@ jobs:
if: needs.release-please.outputs.releases_created == 'true'
needs:
- release-please
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
permissions:
contents: write
packages: write

View File

@ -10,8 +10,7 @@ defaults:
shell: bash
jobs:
validate:
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
permissions:
contents: read # Needed for checking out the repository
pull-requests: read # Needed for reading prs

View File

@ -13,8 +13,7 @@ env:
jobs:
build:
runs-on:
group: "enterprise/cncf/Default"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4