mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Add dind
This commit is contained in:
parent
37b4661b09
commit
428b41a876
21
.drone.yml
21
.drone.yml
@ -15,6 +15,27 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- go test -cover -v ./...
|
- go test -cover -v ./...
|
||||||
|
|
||||||
|
- name: dock
|
||||||
|
image: docker:dind
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
commands:
|
||||||
|
- sleep 5 # give docker enough time to start
|
||||||
|
- docker ps -a
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image:
|
||||||
|
docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
temp: {}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
temp: {}
|
temp: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user