.gitlab-ci.yml 900 Bytes
Newer Older
ceoche's avatar
ceoche committed
1
2
3
# Define templates
include:
  - project: 'gazelle/private/gitlab-ci-templates'
Cédric Eoche-Duval's avatar
Cédric Eoche-Duval committed
4
5
    file: 'extends.yaml'
    ref: 'master'
ceoche's avatar
ceoche committed
6
7
8
9

# Define stages
stages:
  - build
Cédric Eoche-Duval's avatar
Cédric Eoche-Duval committed
10
  - postbuild
ceoche's avatar
ceoche committed
11
12
13
14
  - deploy
  - tests
  - release
  - upgrade
Cédric Eoche-Duval's avatar
Cédric Eoche-Duval committed
15
  - cleanup
16
  
ceoche's avatar
ceoche committed
17
18
# Define global variables
variables:
19
  P_NAME: "app.patient-registry"
ceoche's avatar
ceoche committed
20
  P_APP_TYPE: "java"
21
  P_CODE_SRC_PATH: "."
benjamin carriou's avatar
benjamin carriou committed
22
23
24
25
26
27
28
29
  P_DB_DATASOURCE_NAME: "patientRegistry"
  P_IMPORT_DB_SCHEMA: "true"
  P_DB_SCHEMA_PATH: "patient-registry-service/src/main/resources/sql/schema.sql"
  P_DB_NAME: "pam-simulator"

services:
  - postgres:9.6.17-alpine

benjamin carriou's avatar
benjamin carriou committed
30

benjamin carriou's avatar
benjamin carriou committed
31
amplification/patient-registry-service:
ceoche's avatar
ceoche committed
32
33
  stage: tests
  extends:
benjamin carriou's avatar
benjamin carriou committed
34
    - .amplificationForJavaWithDspotWithPostgresql
ceoche's avatar
ceoche committed
35
  variables:
benjamin carriou's avatar
benjamin carriou committed
36
    P_MAVEN_IMAGE_TAG: "wildfly-3.6.3-18.0.1.Final"
benjamin carriou's avatar
benjamin carriou committed
37
38
39
    P_DSPOT_ABSOLUTE_PATH_TO_PROJECT_ROOT: "patient-registry-service"
    P_DSPOT_TEST_SELECTOR: "PitMutantScoreSelector"
    P_DSPOT_AMPLIFIERS: "None"