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

gitlab-ci 수정

1 +image: node:14-alpine
2 +
1 stages: 3 stages:
2 - test 4 - test
3 - build 5 - build
4 6
5 Test Server: 7 Test Server:
6 stage: test 8 stage: test
7 - image: node:14-alpine
8 script: 9 script:
9 - cd common 10 - cd common
10 - yarn install 11 - yarn install
...@@ -13,8 +14,21 @@ Test Server: ...@@ -13,8 +14,21 @@ Test Server:
13 - yarn install 14 - yarn install
14 - yarn test 15 - yarn test
15 16
16 -Build: 17 +Build Server:
17 stage: build 18 stage: build
18 - image: tmaier/docker-compose:latest
19 script: 19 script:
20 - - 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 20 + - cd common
21 + - yarn install
22 + - cd ../server
23 + - apk add --no-cache build-base gcc python3
24 + - yarn install
25 + - yarn build
26 +
27 +Build Web:
28 + stage: build
29 + script:
30 + - cd common
31 + - yarn install
32 + - cd ../web
33 + - npm install
34 + - npm run-script build
......