This commit is contained in:
41
.drone.yml
41
.drone.yml
@@ -1,40 +1,9 @@
|
||||
kind: pipeline
|
||||
name: basic-example
|
||||
name: hello-world
|
||||
type: docker
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: skip_tls_clone
|
||||
image: plugins/git
|
||||
settings:
|
||||
depth: 10
|
||||
skip_verify: true
|
||||
|
||||
- name: test
|
||||
image: busybox
|
||||
commands:
|
||||
- echo "this is a dummy test step"
|
||||
|
||||
- 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: {}
|
||||
- name: say-hello
|
||||
image: busybox
|
||||
commands:
|
||||
- echo hello-world
|
||||
Reference in New Issue
Block a user