This commit is contained in:
37
.drone.yml
37
.drone.yml
@@ -1,40 +1,9 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: basic-example
|
name: hello-world
|
||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: skip_tls_clone
|
- name: say-hello
|
||||||
image: plugins/git
|
|
||||||
settings:
|
|
||||||
depth: 10
|
|
||||||
skip_verify: true
|
|
||||||
|
|
||||||
- name: test
|
|
||||||
image: busybox
|
image: busybox
|
||||||
commands:
|
commands:
|
||||||
- echo "this is a dummy test step"
|
- echo hello-world
|
||||||
|
|
||||||
- name: build
|
|
||||||
image: busybox
|
|
||||||
commands:
|
|
||||||
- echo "this is a dummy build step"
|
|
||||||
- echo "dummy artifact" > /tmp/runtime-volume/data.txt
|
|
||||||
volumes:
|
|
||||||
- name: runtime-volume
|
|
||||||
path: /tmp/runtime-volume
|
|
||||||
|
|
||||||
- name: deploy
|
|
||||||
image: busybox
|
|
||||||
commands:
|
|
||||||
- echo "this is a dummy deploy step"
|
|
||||||
- cat /tmp/runtime-volume/data.txt
|
|
||||||
volumes:
|
|
||||||
- name: runtime-volume
|
|
||||||
path: /tmp/runtime-volume
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: runtime-volume
|
|
||||||
temp: {}
|
|
||||||
Reference in New Issue
Block a user