Files
ansible-role-common/.drone.yml

26 lines
358 B
YAML
Raw Normal View History

2022-03-11 15:29:57 +13:00
---
2022-03-11 12:50:20 +13:00
kind: pipeline
2022-03-11 15:29:57 +13:00
name: default
2022-03-11 11:29:56 +13:00
2022-03-11 12:50:20 +13:00
steps:
2022-03-11 15:25:54 +13:00
- name: test
2022-03-11 15:29:57 +13:00
image: docker:dind
2022-03-11 15:10:08 +13:00
volumes:
2022-03-11 15:22:54 +13:00
- name: dockersock
path: /var/run
2022-03-11 15:10:08 +13:00
commands:
2022-03-11 15:29:57 +13:00
- sleep 5 # give docker enough time to start
- docker info
2022-03-11 14:56:49 +13:00
2022-03-11 12:50:20 +13:00
services:
- name: docker
image: docker:dind
privileged: true
2022-03-11 11:29:56 +13:00
volumes:
2022-03-11 15:22:54 +13:00
- name: dockersock
path: /var/run
2022-03-11 12:50:20 +13:00
volumes:
- name: dockersock
2022-03-11 15:29:57 +13:00
temp: {}