From 09b465dd0b49c626115703ae878194756270f3d9 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 21 Mar 2023 14:42:43 +0100 Subject: [PATCH] test docker dind --- .woodpecker/e2e.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.woodpecker/e2e.yml b/.woodpecker/e2e.yml index 13c3c5d..ec7bb43 100644 --- a/.woodpecker/e2e.yml +++ b/.woodpecker/e2e.yml @@ -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