강동현
Builds for 2 pipelines failed in 37 minutes 6 seconds

gitlab-ci 수정

image: node:14-alpine
stages:
- test
- build
Test Server:
stage: test
image: node:14-alpine
script:
- cd common
- yarn install
......@@ -13,8 +14,21 @@ Test Server:
- yarn install
- yarn test
Build:
Build Server:
stage: build
image: tmaier/docker-compose:latest
script:
- HOST=2020105578.oss2021.tk SSL_CERT=/etc/letsencrypt/live/2020105578.oss2021.tk/cert.pem SSL_KEY=/etc/letsencrypt/live/2020105578.oss2021.tk/privkey.pem SSL_CA=/etc/letsencrypt/live/2020105578.oss2021.tk/fullchain.pem docker-compose build --no-cache
- cd common
- yarn install
- cd ../server
- apk add --no-cache build-base gcc python3
- yarn install
- yarn build
Build Web:
stage: build
script:
- cd common
- yarn install
- cd ../web
- npm install
- npm run-script build
......