feat: separate pipeline steps for frontend and backend
This commit is contained in:
parent
14546cd7b8
commit
34ef10c6e6
@ -1,28 +1,15 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: node:16-alpine
|
||||
commands:
|
||||
- apk add make
|
||||
- apk add go
|
||||
- apk add go-bindata
|
||||
- make setup-code
|
||||
- (cd client/ && yarn generate)
|
||||
- make -C server build
|
||||
when:
|
||||
branch: none
|
||||
|
||||
frontend:
|
||||
image: node:16-alpine
|
||||
commands:
|
||||
- date
|
||||
- ls -l
|
||||
- date >step-frontend.txt
|
||||
- ls -l
|
||||
- ( cd client && yarn install )
|
||||
- ( cd client/ && yarn generate )
|
||||
- mkdir -p client/.output/public/
|
||||
|
||||
backend:
|
||||
image: golang:1.18
|
||||
commands:
|
||||
- date
|
||||
- ls -l
|
||||
- date >step-backend.txt
|
||||
- ls -l
|
||||
|
||||
- apk add go-bindata
|
||||
- make -C server setup
|
||||
- make -C server build
|
Loading…
Reference in New Issue
Block a user