Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강동현
2021-06-11 03:32:46 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
73782e6de31f7bbf69425f8138180bb37f91e457
73782e6d
1 parent
a56996a2
Builds for 2 pipelines
failed
in 37 minutes 6 seconds
gitlab-ci 수정
Changes
1
Builds
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
.gitlab-ci.yml
.gitlab-ci.yml
View file @
73782e6
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
...
...
Please
register
or
login
to post a comment