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