-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
47 lines (38 loc) · 1.19 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
stages:
- build
- test
- sync
variables:
XUXIAOWEI_DATABASE_HOST: mysql
XUXIAOWEI_DATABASE_USERNAME: root
XUXIAOWEI_DATABASE_PASSWORD: xuxiaowei.com.cn
XUXIAOWEI_DATABASE: spring_cloud_xuxiaowei
XUXIAOWEI_NACOS_MYSQL_HOST: $XUXIAOWEI_DATABASE_HOST
XUXIAOWEI_NACOS_MYSQL_USERNAME: $XUXIAOWEI_DATABASE_USERNAME
XUXIAOWEI_NACOS_MYSQL_PASSWORD: $XUXIAOWEI_DATABASE_PASSWORD
XUXIAOWEI_NACOS_MYSQL_DATABASE: spring_cloud_xuxiaowei_nacos
XUXIAOWEI_REDIS_HOST: redis
XUXIAOWEI_REDIS_PASSWORD: ""
SETTINGS_XML_PATH: settings.xml
GLOBAL_JAVA_OPTS: -Xms128m -Xmx256m
VERSION: 0.0.2-SNAPSHOT
GITLAB_ADVANCED_SAST_ENABLED: 'true'
GLOBAL_MAVEN_OPTS: >-
-Dhttps.protocols=TLSv1.2
-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true
GLOBAL_MAVEN_CLI_OPTS: >-
--batch-mode
--errors
--fail-at-end
--show-version
--no-transfer-progress
-DinstallAtEnd=true
-DdeployAtEnd=true
include:
- local: .gitlab/ci/build-mvn-spring-boot-2.yml
- local: .gitlab/ci/build-mvnw-spring-boot-2.yml
- local: .gitlab/ci/free.yaml
- local: .gitlab/ci/ultimate.yml
- local: .gitlab/ci/sync.yml