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
|
- main
|
||||||
- release/**
|
- release/**
|
||||||
|
|
||||||
|
services:
|
||||||
|
docker:
|
||||||
|
image: docker:dind
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
k8s:
|
k8s:
|
||||||
# from https://hub.docker.com/r/kindest/node/tags
|
# from https://hub.docker.com/r/kindest/node/tags
|
||||||
|
@ -18,6 +22,8 @@ pipeline:
|
||||||
create-cluster:
|
create-cluster:
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
pull: true
|
pull: true
|
||||||
|
environment:
|
||||||
|
DOCKER_HOST: tcp://0.0.0.0:2375
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community 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
|
||||||
|
@ -36,6 +42,8 @@ pipeline:
|
||||||
delete-cluster:
|
delete-cluster:
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
pull: true
|
pull: true
|
||||||
|
environment:
|
||||||
|
DOCKER_HOST: tcp://0.0.0.0:2375
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community 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
|
||||||
|
|
Loading…
Reference in a new issue