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
|
|
|
|
|
2022-11-05 20:54:26 +00:00
|
|
|
frontend:
|
|
|
|
image: node:16-alpine
|
2022-11-05 20:18:08 +00:00
|
|
|
commands:
|
|
|
|
- date
|
2022-11-05 20:51:38 +00:00
|
|
|
- ls -l
|
2022-11-05 20:54:26 +00:00
|
|
|
- date >step-frontend.txt
|
2022-11-05 20:51:38 +00:00
|
|
|
- ls -l
|
2022-11-05 20:54:26 +00:00
|
|
|
backend:
|
|
|
|
image: golang:1.18
|
2022-11-05 20:18:08 +00:00
|
|
|
commands:
|
|
|
|
- date
|
2022-11-05 20:51:38 +00:00
|
|
|
- ls -l
|
2022-11-05 20:54:26 +00:00
|
|
|
- date >step-backend.txt
|
2022-11-05 20:51:38 +00:00
|
|
|
- ls -l
|
|
|
|
|