implement basic exec [ci skip]
This commit is contained in:
31
engine/testdata/volume_temp.yml
vendored
Normal file
31
engine/testdata/volume_temp.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: write
|
||||
pull: if-not-exists
|
||||
image: alpine
|
||||
volumes:
|
||||
- name: test
|
||||
path: /tmp
|
||||
commands:
|
||||
- pwd
|
||||
- echo "hello" > /tmp/greetings.txt
|
||||
|
||||
- name: read
|
||||
pull: if-not-exists
|
||||
image: alpine
|
||||
volumes:
|
||||
- name: test
|
||||
path: /tmp
|
||||
commands:
|
||||
- pwd
|
||||
- cat /tmp/greetings.txt
|
||||
|
||||
volumes:
|
||||
- name: test
|
||||
temp: {}
|
||||
Reference in New Issue
Block a user