more testing

This commit is contained in:
Michael Kriese 2023-03-21 15:10:25 +01:00
parent a3aaac6979
commit bb21788b6b
No known key found for this signature in database
GPG key ID: B83F553A0724D44E

View file

@ -8,13 +8,6 @@ when:
- main - main
- release/** - release/**
services:
docker:
image: docker:dind
environment:
DOCKER_TLS_CERTDIR: ''
command: ['--storage-driver=vfs', '--tls=false']
matrix: matrix:
k8s: k8s:
# from https://hub.docker.com/r/kindest/node/tags # from https://hub.docker.com/r/kindest/node/tags
@ -25,16 +18,14 @@ pipeline:
create-cluster: create-cluster:
image: alpine:3.17.2 image: alpine:3.17.2
pull: true pull: true
environment:
DOCKER_HOST: tcp://docker:2375
commands: commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community docker-cli kind - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community docker-cli kind
- export KUBECONFIG=$${CI_WORKSPACE}/kube.config - export KUBECONFIG=$${CI_WORKSPACE}/kube.config
- sleep 30s - docker info
- docker --tls=false info
- kind create cluster --help - kind create cluster --help
- kind create cluster --name chart-testing --image kindest/node:${k8s} --wait 60s - kind create cluster --name chart-testing --image kindest/node:${k8s} --wait 60s
- kind get clusters - kind get clusters
- docker ps
chart-testing: chart-testing:
image: alpine:3.17.2 image: alpine:3.17.2
@ -47,12 +38,11 @@ pipeline:
delete-cluster: delete-cluster:
image: alpine:3.17.2 image: alpine:3.17.2
pull: true pull: true
environment:
DOCKER_HOST: tcp://docker:2375
commands: commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community docker-cli kind - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community docker-cli 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
- docker info
when: when:
status: status:
- success - success