test: use volumes in Woodpecker CI
This commit is contained in:
parent
fffe15c919
commit
c8a4b6dad3
@ -8,3 +8,26 @@ pipeline:
|
||||
- make setup-code
|
||||
- (cd client/ && yarn generate)
|
||||
- make -C server build
|
||||
when:
|
||||
branch: none
|
||||
|
||||
step1:
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- date
|
||||
- ls -l /mnt/
|
||||
- date >/mnt/step1.txt
|
||||
- ls -l /mnt/
|
||||
volumes:
|
||||
- /mnt:/mnt
|
||||
|
||||
step2:
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- date
|
||||
- ls -l /mnt/
|
||||
- date >/mnt/step2.txt
|
||||
- ls -l /mnt/
|
||||
volumes:
|
||||
- /mnt:/mnt
|
||||
|
Loading…
Reference in New Issue
Block a user