fix(actions): install kubectl before creating test cluster
Some checks failed
/ validate (push) Failing after 6s
Some checks failed
/ validate (push) Failing after 6s
This commit is contained in:
parent
b582c1205b
commit
d18ec2fd2f
1 changed files with 4 additions and 1 deletions
|
|
@ -41,7 +41,10 @@ jobs:
|
||||||
curl -fsSL -o /tmp/k3d https://github.com/k3d-io/k3d/releases/download/v5.7.4/k3d-linux-amd64
|
curl -fsSL -o /tmp/k3d https://github.com/k3d-io/k3d/releases/download/v5.7.4/k3d-linux-amd64
|
||||||
chmod +x /tmp/k3d
|
chmod +x /tmp/k3d
|
||||||
mv /tmp/k3d /usr/local/bin
|
mv /tmp/k3d /usr/local/bin
|
||||||
|
- name: Install kubectl
|
||||||
|
run: |
|
||||||
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||||
|
chmod +x kubectl mv kubectl /usr/local/bin
|
||||||
- name: Create test cluster
|
- name: Create test cluster
|
||||||
run: |
|
run: |
|
||||||
k3d cluster create test --wait
|
k3d cluster create test --wait
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue