test: use volumes in Woodpecker CI

This commit is contained in:
Settel 2022-11-05 21:18:08 +01:00
parent fffe15c919
commit c8a4b6dad3

View File

@ -8,3 +8,26 @@ pipeline:
- make setup-code - make setup-code
- (cd client/ && yarn generate) - (cd client/ && yarn generate)
- make -C server build - 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