Skip to content

Commit

Permalink
configure CI steps to use rancher hosted GHA runners
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Oct 11, 2024
1 parent 91c2544 commit f840cf2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/prom-fed-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ env:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- x64
- arm64
runs-on : runs-on,image=ubuntu22-full-${{ matrix.arch }},runner=4cpu-linux-${{ matrix.arch }},run-id=${{ github.run_id }}
steps:
- uses: actions/checkout@v4
- name : Set up Go
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/prom-fed-e2e-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ permissions:
jobs:
prebuild-env:
name: Prebuild needed Env vars
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- x64
- arm64
runs-on : runs-on,image=ubuntu22-full-${{ matrix.arch }},runner=4cpu-linux-${{ matrix.arch }},run-id=${{ github.run_id }}
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
Expand All @@ -67,14 +72,17 @@ jobs:
needs: [
prebuild-env,
]
runs-on: ubuntu-latest
env:
TAG: ${{ needs.prebuild-env.outputs.branch_static_tag }}
strategy:
matrix:
arch:
- x64
- arm64
k3s_version:
# k3d version list k3s | sed 's/+/-/' | sort -h
- ${{ github.event.inputs.k3s_version || 'v1.28.14-k3s1' }}
runs-on : runs-on,image=ubuntu22-full-${{ matrix.arch }},runner=4cpu-linux-${{ matrix.arch }},run-id=${{ github.run_id }}
env:
TAG: ${{ needs.prebuild-env.outputs.branch_static_tag }}
steps:
-
uses: actions/checkout@v3
Expand Down

0 comments on commit f840cf2

Please sign in to comment.