Pass volumes to each step
This commit is contained in:
parent
b0f06c1082
commit
7999210d0d
17
.drone.yml
17
.drone.yml
@ -16,7 +16,7 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
volumes:
|
volumes:
|
||||||
- name: tempx
|
- name: temp
|
||||||
path: /tmp
|
path: /tmp
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
@ -28,6 +28,11 @@ steps:
|
|||||||
|
|
||||||
- name: build-fail
|
- name: build-fail
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
|
volumes:
|
||||||
|
- name: temp
|
||||||
|
path: /tmp
|
||||||
|
- name: cache
|
||||||
|
path: /tmp/cache
|
||||||
commands:
|
commands:
|
||||||
- echo "Go do some debugging - you've got $${SLEEP} seconds"
|
- echo "Go do some debugging - you've got $${SLEEP} seconds"
|
||||||
- sleep $${SLEEP}
|
- sleep $${SLEEP}
|
||||||
@ -40,6 +45,11 @@ steps:
|
|||||||
|
|
||||||
- name: build-success
|
- name: build-success
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
|
volumes:
|
||||||
|
- name: temp
|
||||||
|
path: /tmp
|
||||||
|
- name: cache
|
||||||
|
path: /tmp/cache
|
||||||
commands:
|
commands:
|
||||||
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
|
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
|
||||||
# - sleep $${SLEEP}
|
# - sleep $${SLEEP}
|
||||||
@ -50,6 +60,11 @@ steps:
|
|||||||
|
|
||||||
- name: build-install
|
- name: build-install
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
|
volumes:
|
||||||
|
- name: temp
|
||||||
|
path: /tmp
|
||||||
|
- name: cache
|
||||||
|
path: /tmp/cache
|
||||||
commands:
|
commands:
|
||||||
- make install
|
- make install
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user