.gitlab-ci.yml 758 Bytes
Newer Older
cazenave's avatar
cazenave committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
variables:
  GIT_SSL_NO_VERIFY: "true"
  DOCKER_DRIVER: overlay2
  DOCKER_TLS_CERTDIR: ""
  MAVEN_OPTS: "-Dmaven.repo.local=./.m2/repository"
  
stages:
  - build_java


.machine: &runner-shell
    tags:
        - dev, shell

.machine: &runner-docker
    tags:
        - dev, docker 


cazenave's avatar
cazenave committed
20
build_vitamui:dev:
cazenave's avatar
cazenave committed
21
22
23
  image: maven:3.6.3-jdk-8
  stage: build_java
  only:
cazenave's avatar
cazenave committed
24
    - develop
cazenave's avatar
cazenave committed
25
26
27
28
  <<: *runner-docker
  script:
    - mvn clean install -Pdev -DskipTests

cazenave's avatar
cazenave committed
29
30
31
32
33
34
35
36
37
38
39
40
41
42
build_api:dev:
  image: maven:3.6.3-jdk-8
  stage: build_java
  only:
    - master
  <<: *runner-docker
  script:
    - cd api/api-security/security-internal
    - mvn spring-boot:run -Dspring-boot.run.noverify
  artifacts:
    paths:
     - api/api-security/security-internal/target/
  dependencies: []