mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-06-19 20:22:19 +00:00
feat: switching to higher spec runners (#1312)
* feat: switching to higher spec runners Signed-off-by: AlexsJones <alexsimonjones@gmail.com> * chore: switched to runner groups Signed-off-by: AlexsJones <alexsimonjones@gmail.com> * chore: switched to runner groups Signed-off-by: AlexsJones <alexsimonjones@gmail.com> * chore: switched to runner groups Signed-off-by: AlexsJones <alexsimonjones@gmail.com> --------- Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
This commit is contained in:
parent
7dcdfc83d2
commit
5f7d9de46a
9
.github/workflows/build_container.yaml
vendored
9
.github/workflows/build_container.yaml
vendored
@ -22,7 +22,8 @@ defaults:
|
|||||||
jobs:
|
jobs:
|
||||||
prepare_ci_run:
|
prepare_ci_run:
|
||||||
name: Prepare CI Run
|
name: Prepare CI Run
|
||||||
runs-on: ubuntu-24.04
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
outputs:
|
outputs:
|
||||||
GIT_SHA: ${{ steps.extract_branch.outputs.GIT_SHA }}
|
GIT_SHA: ${{ steps.extract_branch.outputs.GIT_SHA }}
|
||||||
BRANCH: ${{ steps.extract_branch.outputs.BRANCH }}
|
BRANCH: ${{ steps.extract_branch.outputs.BRANCH }}
|
||||||
@ -61,7 +62,8 @@ jobs:
|
|||||||
build_image:
|
build_image:
|
||||||
name: Build Container Image
|
name: Build Container Image
|
||||||
needs: prepare_ci_run
|
needs: prepare_ci_run
|
||||||
runs-on: ubuntu-24.04
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
env:
|
env:
|
||||||
BRANCH: ${{ needs.prepare_ci_run.outputs.BRANCH }}
|
BRANCH: ${{ needs.prepare_ci_run.outputs.BRANCH }}
|
||||||
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
|
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
|
||||||
@ -105,7 +107,8 @@ jobs:
|
|||||||
name: Upload images to ghcr registry
|
name: Upload images to ghcr registry
|
||||||
needs: [ prepare_ci_run, build_image ]
|
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
|
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:
|
env:
|
||||||
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
|
DATETIME: ${{ needs.prepare_ci_run.outputs.DATETIME }}
|
||||||
BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }}
|
BUILD_TIME: ${{ needs.prepare_ci_run.outputs.BUILD_TIME }}
|
||||||
|
3
.github/workflows/golangci_lint.yaml
vendored
3
.github/workflows/golangci_lint.yaml
vendored
@ -6,7 +6,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
golangci-lint:
|
golangci-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
|
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@ -16,7 +16,8 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write # for google-github-actions/release-please-action to create release commit
|
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
|
pull-requests: write # for google-github-actions/release-please-action to create release PR
|
||||||
runs-on: ubuntu-latest
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
outputs:
|
outputs:
|
||||||
releases_created: ${{ steps.release.outputs.releases_created }}
|
releases_created: ${{ steps.release.outputs.releases_created }}
|
||||||
tag_name: ${{ steps.release.outputs.tag_name }}
|
tag_name: ${{ steps.release.outputs.tag_name }}
|
||||||
@ -38,7 +39,8 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
needs:
|
needs:
|
||||||
- release-please
|
- release-please
|
||||||
runs-on: ubuntu-latest
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
steps:
|
steps:
|
||||||
- name: Free Disk Space (Ubuntu)
|
- name: Free Disk Space (Ubuntu)
|
||||||
uses: jlumbroso/free-disk-space@main
|
uses: jlumbroso/free-disk-space@main
|
||||||
@ -80,7 +82,8 @@ jobs:
|
|||||||
if: needs.release-please.outputs.releases_created == 'true'
|
if: needs.release-please.outputs.releases_created == 'true'
|
||||||
needs:
|
needs:
|
||||||
- release-please
|
- release-please
|
||||||
runs-on: ubuntu-latest
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
packages: write
|
packages: write
|
||||||
|
3
.github/workflows/semantic_pr.yaml
vendored
3
.github/workflows/semantic_pr.yaml
vendored
@ -10,7 +10,8 @@ defaults:
|
|||||||
shell: bash
|
shell: bash
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: ubuntu-24.04
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # Needed for checking out the repository
|
contents: read # Needed for checking out the repository
|
||||||
pull-requests: read # Needed for reading prs
|
pull-requests: read # Needed for reading prs
|
||||||
|
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
@ -13,7 +13,8 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on:
|
||||||
|
group: "cncf/Default"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user