Skip to content

Commit

Permalink
Migrate away from engineerd kind action
Browse files Browse the repository at this point in the history
  • Loading branch information
pst committed May 28, 2023
1 parent 847d41b commit abecbae
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup Kind'
- name: 'Setup K8s'
if: startsWith(matrix.runner, 'ubuntu-')
uses: engineerd/setup-kind@v0.5.0
uses: helm/kind-action@v1.7.0
with:
version: "${{ env.KIND_VERSION }}"
cluster_name: kind

- name: Set up Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -115,10 +116,11 @@ jobs:
- name: 'Ensure provider is executable'
run: chmod +x terraform.d/plugins/registry.terraform.io/kbst/kustomization/1.0.0/linux_amd64/terraform-provider-kustomization_v1.0.0

- name: 'Setup Kind'
uses: engineerd/setup-kind@v0.5.0
- name: 'Setup K8s'
uses: helm/kind-action@v1.7.0
with:
version: "${{ env.KIND_VERSION }}"
cluster_name: kind

- name: 'Terraform Init'
run: terraform init
Expand All @@ -134,10 +136,11 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup Kind'
uses: engineerd/setup-kind@v0.5.0
- name: 'Setup K8s'
uses: helm/kind-action@v1.7.0
with:
version: "${{ env.KIND_VERSION }}"
cluster_name: kind

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
Expand Down Expand Up @@ -176,10 +179,11 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup Kind'
uses: engineerd/setup-kind@v0.5.0
- name: 'Setup K8s'
uses: helm/kind-action@v1.7.0
with:
version: "${{ env.KIND_VERSION }}"
cluster_name: kind

- name: 'Download terraform-plugins'
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -228,10 +232,11 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup Kind'
uses: engineerd/setup-kind@v0.5.0
- name: 'Setup K8s'
uses: helm/kind-action@v1.7.0
with:
version: "${{ env.KIND_VERSION }}"
cluster_name: kind

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
Expand Down Expand Up @@ -282,10 +287,11 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup Kind'
uses: engineerd/setup-kind@v0.5.0
- name: 'Setup K8s'
uses: helm/kind-action@v1.7.0
with:
version: "${{ env.KIND_VERSION }}"
cluster_name: kind

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
Expand Down

0 comments on commit abecbae

Please sign in to comment.