Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Antoine Thevenet
clif-webui
Commits
2e8d304b
Commit
2e8d304b
authored
Jul 02, 2021
by
Antoine Thevenet
Browse files
Replaced the gitlab-ci.yaml file with the file from the upstream
parent
4d040303
Pipeline
#14420
passed with stages
in 3 minutes and 37 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2e8d304b
image
:
alpine:3.
8
image
:
maven:3.8-openjdk-
8
stages
:
stages
:
-
build
-
build
...
@@ -6,14 +6,7 @@ stages:
...
@@ -6,14 +6,7 @@ stages:
build
:
build
:
stage
:
build
stage
:
build
services
:
-
mongo:latest
script
:
script
:
-
apk add --update nodejs=8.14.0-r0 nodejs-npm=8.14.0-r0
-
ls
-
npm install mocha
-
npm init
-
mocha --exit
-
git submodule init
-
git submodule init
-
git submodule update
-
git submodule update
-
mvn install
-
mvn install
...
@@ -22,7 +15,7 @@ build:
...
@@ -22,7 +15,7 @@ build:
expire_in
:
1s
expire_in
:
1s
paths
:
paths
:
-
target/clif-webui-*.war
-
target/clif-webui-*.war
pages
:
pages
:
stage
:
deploy
stage
:
deploy
only
:
only
:
...
...
WIP.gitlab-ci.yml
0 → 100644
View file @
2e8d304b
image
:
alpine:3.8
stages
:
-
build
-
deploy
build
:
stage
:
build
services
:
-
mongo:latest
script
:
-
apk add --update nodejs=8.14.0-r0 nodejs-npm=8.14.0-r0
-
ls
-
npm install mocha
-
npm init
-
mocha --exit
-
git submodule init
-
git submodule update
-
mvn install
artifacts
:
expire_in
:
1s
paths
:
-
target/clif-webui-*.war
pages
:
stage
:
deploy
only
:
-
master
# As build job artifact expired (almost) immediately we need to exclude all artifacts generated by the build job from pages job dependencies. Defining an empty array prevent pages job from download build job artifacts.
dependencies
:
[]
script
:
-
mkdir -p public/download
-
cd public/download && ../../gitlab-pages/bin/download-page.sh > index.html
-
cp -a ../../gitlab-pages/images ../
artifacts
:
expire_in
:
1h
paths
:
-
public
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment