Skip to content

Commit

Permalink
fix: Revert changes to not use CNCF runners (#6238)
Browse files Browse the repository at this point in the history
  • Loading branch information
JorTurFer authored Oct 15, 2024
1 parent 0b7ac6d commit 25deb21
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-add-issues-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- opened
jobs:
track_issue:
runs-on: equinix-2cpu-8gb
runs-on: ubuntu-latest
steps:
- name: Get project data
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
build:
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build:
name: build
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
needs: build
uses: kedacore/keda/.github/workflows/template-trivy-scan.yml@main
with:
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
scan-type: "fs"
format: "sarif"
exit-code: 0
Expand All @@ -101,7 +101,7 @@ jobs:
needs: build
strategy:
matrix:
runner: [oracle-aarch64-4cpu-16gb, equinix-4cpu-16gb]
runner: [ARM64, ubuntu-latest]
uses: kedacore/keda/.github/workflows/template-trivy-scan.yml@main
with:
runs-on: ${{ matrix.runner }}
Expand All @@ -115,7 +115,7 @@ jobs:
needs: build
strategy:
matrix:
runner: [oracle-aarch64-4cpu-16gb, equinix-4cpu-16gb]
runner: [ARM64, ubuntu-latest]
uses: kedacore/keda/.github/workflows/template-trivy-scan.yml@main
with:
runs-on: ${{ matrix.runner }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-e2e-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
e2e-checker:
name: label checker
runs-on: equinix-2cpu-8gb
runs-on: ubuntu-latest
steps:
- uses: LouisBrunner/checks-action@6b626ffbad7cc56fd58627f774b9067e6118af23 # v2
name: Enqueue e2e
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-e2e-creator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
check-creator:
name: check-creator
runs-on: equinix-2cpu-8gb
runs-on: ubuntu-latest
steps:
- uses: LouisBrunner/checks-action@6b626ffbad7cc56fd58627f774b9067e6118af23 # v2
name: Enqueue e2e
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
triage:
runs-on: equinix-2cpu-8gb
runs-on: ubuntu-latest
name: Comment evaluate
container: ghcr.io/kedacore/keda-tools:1.22.5
outputs:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
build-test-images:
needs: triage
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
name: Build images
container: ghcr.io/kedacore/keda-tools:1.22.5
if: needs.triage.outputs.run-e2e == 'true'
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:

run-test:
needs: [triage, build-test-images]
runs-on: equinix-keda-runner
runs-on: e2e
name: Execute e2e tests
container: ghcr.io/kedacore/keda-tools:1.22.5
if: needs.triage.outputs.run-e2e == 'true'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
include:
- runner: oracle-aarch64-4cpu-16gb
- runner: ARM64
name: arm64
- runner: equinix-4cpu-16gb
- runner: ubuntu-latest
name: amd64
steps:
- name: Check out code
Expand Down Expand Up @@ -81,9 +81,9 @@ jobs:
strategy:
matrix:
include:
- runner: oracle-aarch64-4cpu-16gb
- runner: ARM64
name: arm64
- runner: equinix-4cpu-16gb
- runner: ubuntu-latest
name: amd64
steps:
- name: Check out code
Expand Down Expand Up @@ -112,9 +112,9 @@ jobs:
strategy:
matrix:
include:
- runner: oracle-aarch64-4cpu-16gb
- runner: ARM64
name: arm64
- runner: equinix-4cpu-16gb
- runner: ubuntu-latest
name: amd64
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
trivy-scan:
uses: kedacore/keda/.github/workflows/template-trivy-scan.yml@main
with:
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
scan-type: "fs"
format: "table"
output: ""
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-welcome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
pr_bot:
name: PR Bot
runs-on: equinix-2cpu-8gb
runs-on: ubuntu-latest
steps:
- name: "Add welcome comment on PR #${{ github.event.number }} (draft)"
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build:
name: Push Release
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
codeQl:
name: Analyze CodeQL Go
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
container: ghcr.io/kedacore/keda-tools:1.22.5
if: (github.actor != 'dependabot[bot]')
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis-semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
semgrep:
name: Analyze Semgrep
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
container: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template-arm64-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
concurrency: arm-smoke-tests
uses: kedacore/keda/.github/workflows/template-smoke-tests.yml@main
with:
runs-on: oracle-aarch64-4cpu-16gb
runs-on: ARM64
kubernetesVersion: v1.30
kindImage: kindest/node:v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e
2 changes: 1 addition & 1 deletion .github/workflows/template-main-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
e2e-tests:
name: Run e2e test
runs-on: oracle-aarch64-4cpu-16gb
runs-on: ARM64
# keda-tools is built from github.com/test-tools/tools/Dockerfile
container: ghcr.io/kedacore/keda-tools:1.22.5
concurrency: e2e-tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-versions-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
smoke-tests:
name: equinix-4cpu-16gb
name: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -19,6 +19,6 @@ jobs:
kindImage: kindest/node:v1.28.9@sha256:dca54bc6a6079dd34699d53d7d4ffa2e853e46a20cd12d619a09207e35300bd0
uses: kedacore/keda/.github/workflows/template-smoke-tests.yml@main
with:
runs-on: equinix-4cpu-16gb
runs-on: ubuntu-latest
kubernetesVersion: ${{ matrix.kubernetesVersion }}
kindImage: ${{ matrix.kindImage }}
2 changes: 1 addition & 1 deletion .github/workflows/v1-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
validate:
name: Validate
runs-on: equinix-2cpu-8gb
runs-on: ubuntu-latest
container: kedacore/build-tools:v1
steps:
- name: Check out code
Expand Down

0 comments on commit 25deb21

Please sign in to comment.