ci: fixes
This commit is contained in:
parent
0ac33054a7
commit
ede3f35724
1 changed files with 4 additions and 3 deletions
|
@ -19,15 +19,16 @@ pipeline:
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing kind
|
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community kind
|
||||||
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
||||||
- kind create cluster --name chart-testing --node-image kindest/node:${k8s} --wait 60s
|
- kind create cluster --name chart-testing --node-image kindest/node:${k8s} --wait 60s
|
||||||
|
- kind get clusters
|
||||||
|
|
||||||
chart-testing:
|
chart-testing:
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm kubectl kind
|
- apk add --no-cache helm kubectl
|
||||||
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
||||||
- kubectl get no -o wide
|
- kubectl get no -o wide
|
||||||
|
|
||||||
|
@ -35,7 +36,7 @@ pipeline:
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing kind
|
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community kind
|
||||||
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
||||||
- kind delete cluster--name chart-testing
|
- kind delete cluster--name chart-testing
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue