test docker dind
This commit is contained in:
parent
cfd0c04479
commit
09b465dd0b
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,10 @@ when:
|
|||
- main
|
||||
- release/**
|
||||
|
||||
services:
|
||||
docker:
|
||||
image: docker:dind
|
||||
|
||||
matrix:
|
||||
k8s:
|
||||
# from https://hub.docker.com/r/kindest/node/tags
|
||||
|
@ -18,6 +22,8 @@ pipeline:
|
|||
create-cluster:
|
||||
image: alpine:3.17.2
|
||||
pull: true
|
||||
environment:
|
||||
DOCKER_HOST: tcp://0.0.0.0:2375
|
||||
commands:
|
||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community kind
|
||||
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
||||
|
@ -36,6 +42,8 @@ pipeline:
|
|||
delete-cluster:
|
||||
image: alpine:3.17.2
|
||||
pull: true
|
||||
environment:
|
||||
DOCKER_HOST: tcp://0.0.0.0:2375
|
||||
commands:
|
||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community kind
|
||||
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config
|
||||
|
|
Loading…
Reference in a new issue