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
image: golang
environment:
DOCKER_HOST: 'tcp://docker:2376'
DOCKER_CERT_PATH: '/dind-certs/client'
DOCKER_TLS_VERIFY: '1'
volumes:
- woodpecker-cache:/dind-certs
DOCKER_HOST: 'tcp://kubedock-service:2475'
TESTCONTAINERS_RYUK_DISABLED: "true"
TESTCONTAINERS_CHECKS_DISABLE: "true"
commands:
- go get ./...
- 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