drone-test/.drone.yml

41 lines
556 B
YAML
Raw Normal View History

2021-10-31 06:32:11 +00:00
---
2020-05-25 04:45:54 +00:00
kind: pipeline
type: kubernetes
name: default
2021-10-31 07:33:52 +00:00
clone:
disable: true
2020-05-25 04:45:54 +00:00
steps:
2021-10-31 07:33:52 +00:00
- name: write
pull: if-not-exists
image: alpine
volumes:
- name: shared
path: /shared
2020-05-25 04:45:54 +00:00
commands:
2021-10-31 07:33:52 +00:00
- pwd
2021-10-31 07:08:30 +00:00
- echo "hello" > /shared/greetings.txt
2021-10-31 07:33:52 +00:00
- name: read
pull: if-not-exists
image: alpine
2021-10-31 06:30:34 +00:00
volumes:
2021-10-31 07:33:52 +00:00
- name: shared
2021-10-31 07:08:30 +00:00
path: /shared
2021-10-31 07:33:52 +00:00
commands:
- pwd
- ls /shared
- cat /shared/greetings.txt
2021-10-31 06:30:34 +00:00
volumes:
- name: shared
claim:
name: go-pkg
2021-10-31 07:33:52 +00:00
2021-10-31 06:32:11 +00:00
---
kind: signature
2021-10-31 07:33:52 +00:00
hmac: 3907aa03bc3c2cc7725159839547e594001bd34ed1fe997f5510c22de6522e60
2021-10-31 06:32:11 +00:00
...