Commit 2e8d304b authored by Antoine Thevenet's avatar 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
image: alpine:3.8
image: maven:3.8-openjdk-8
stages:
- build
......@@ -6,14 +6,7 @@ stages:
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
......
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment