Skip to content

Commit

Permalink
Merge pull request #506 from rancher/k3d_gha_replacement
Browse files Browse the repository at this point in the history
Replace AbsaOSS github action
  • Loading branch information
thardeck authored Oct 23, 2024
2 parents 22a2154 + 34affef commit b5d366c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ jobs:
name: Build Docker Images
run: |
docker build -f package/Dockerfile -t rancher/gitjob:dev .
-
name: Install k3d
run: curl --silent --fail https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=${{ env.SETUP_K3D_VERSION }} bash
-
name: Provision k3d Cluster
uses: AbsaOSS/k3d-action@v2
# k3d will automatically create a network named k3d-test-cluster-1 with the range 172.18.0.0/16
with:
cluster-name: "k3s-default"
args: >-
--agents 3
--network "nw01"
run: |
k3d cluster create k3s-default --wait \
--agents 3 \
--network "nw01" \
--image docker.io/rancher/k3s:${{matrix.k3s_version}}
-
name: Import Images Into k3d
Expand Down

0 comments on commit b5d366c

Please sign in to comment.