This commit is contained in:
parent
36813d0c27
commit
17291a846a
18
.drone.yml
18
.drone.yml
@ -17,20 +17,18 @@ steps:
|
|||||||
# - make check
|
# - make check
|
||||||
|
|
||||||
- name: itest
|
- name: itest
|
||||||
image: docker/compose
|
image: golang:1.15
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: itest_out
|
||||||
path: /var/run/docker.sock
|
path: /out
|
||||||
environment:
|
|
||||||
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
|
|
||||||
commands:
|
commands:
|
||||||
- apk add make bash
|
- echo "start" > /out/start_result.txt
|
||||||
- make itest
|
- echo "start" > /out/exec_result.txt
|
||||||
|
- timeout 70 go run . -watch 10s -debug
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: itest_out
|
||||||
host:
|
temp: {}
|
||||||
path: /var/run/docker.sock
|
|
||||||
# ---
|
# ---
|
||||||
# kind: pipeline
|
# kind: pipeline
|
||||||
# name: publish
|
# name: publish
|
||||||
|
Loading…
Reference in New Issue
Block a user