2022-11-04 20:36:24 +00:00
|
|
|
pipeline:
|
2022-11-04 21:14:26 +00:00
|
|
|
build:
|
2022-11-04 20:40:40 +00:00
|
|
|
image: node:16-alpine
|
2022-11-04 20:36:24 +00:00
|
|
|
commands:
|
2022-11-04 21:14:26 +00:00
|
|
|
- apk add make
|
|
|
|
- apk add go
|
|
|
|
- apk add go-bindata
|
|
|
|
- make setup-code
|
2022-11-04 21:17:01 +00:00
|
|
|
- (cd client/ && yarn generate)
|
2022-11-04 21:17:39 +00:00
|
|
|
- make -C server build
|
2022-11-05 20:18:08 +00:00
|
|
|
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
|
|
|
|
|