woodpecker kubedock
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Michael Thomson 2025-02-12 15:14:00 -05:00
parent 2080fb7158
commit af36f49a6e
No known key found for this signature in database
GPG Key ID: 8EFECCD347C72F7D

View File

@ -7,30 +7,9 @@ steps:
- name: test - name: test
image: golang image: golang
environment: environment:
DOCKER_HOST: 'tcp://docker:2376' DOCKER_HOST: 'tcp://kubedock-service:2475'
DOCKER_CERT_PATH: '/dind-certs/client' TESTCONTAINERS_RYUK_DISABLED: "true"
DOCKER_TLS_VERIFY: '1' TESTCONTAINERS_CHECKS_DISABLE: "true"
volumes:
- woodpecker-cache:/dind-certs
commands: commands:
- go get ./... - go get ./...
- go test ./... -v - go test ./... -v
backend_options:
kubernetes:
nodeSelector:
kubernetes.io/hostname: spongebob
services:
- name: docker
image: docker:dind # use 'docker:<major-version>-dind' or similar in production
privileged: true
environment:
DOCKER_TLS_CERTDIR: /dind-certs
volumes:
- woodpecker-cache:/dind-certs
ports:
- 2376
backend_options:
kubernetes:
nodeSelector:
kubernetes.io/hostname: spongebob