test pipeline

This commit is contained in:
marcel-dempers 2020-05-13 17:35:17 +10:00
parent 4ae1661ece
commit cc780b2df3

View File

@ -1,4 +1,6 @@
---
kind: pipeline kind: pipeline
type: kubernetes
name: default name: default
steps: steps:
@ -6,11 +8,19 @@ steps:
image: docker:dind image: docker:dind
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run
commands: commands:
- sleep 5 # give docker enough time to start
- docker ps -a - docker ps -a
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes: volumes:
- name: dockersock - name: dockersock
host: temp: {}
path: /var/run/docker.sock