mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-04-28 19:33:33 +00:00
feat: reverting the cncf runners (#1319)
Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
This commit is contained in:
parent
1ae70e806e
commit
ad86e7aa39
9
.github/workflows/build_container.yaml
vendored
9
.github/workflows/build_container.yaml
vendored
@ -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 }}
|
||||
|
3
.github/workflows/golangci_lint.yaml
vendored
3
.github/workflows/golangci_lint.yaml
vendored
@ -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
|
||||
|
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@ -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
|
||||
|
3
.github/workflows/semantic_pr.yaml
vendored
3
.github/workflows/semantic_pr.yaml
vendored
@ -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
|
||||
|
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
@ -13,8 +13,7 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on:
|
||||
group: "enterprise/cncf/Default"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user