-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
31 lines (27 loc) · 1.15 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
# Apache Ignite module build pipeline
# Point to your docker repositoty
variables:
DOCKER_HOST: "tcp://192.168.1.60:2375"
before_script:
- pwd
- mvn -v
- printenv
stages:
- deploy
- deploy_public
deploy:
stage: deploy
only:
- /^feature.*$/
- /^master.*$/
- /^release.*$/
script:
# deploy ignite to internal repository
- mvn clean deploy -Dignite.edition=apache-ignite-lgpl -Prelease,all-java,all-scala,licenses,lgpl,tensorflow,web-console,docker-image -DskipTests -Dmaven.javadoc.skip=true -DaltReleaseDeploymentRepository=hawkore.releases::default::http://nexus3:8081/repository/hawkore.releases/ -DaltSnapshotDeploymentRepository=hawkore.snapshots::default::http://nexus3:8081/repository/hawkore.snapshots/
deployPublic:
stage: deploy_public
only:
- /^release.*$/
script:
# deploy ignite artifacts to public repository
- mvn clean deploy -Dignite.edition=apache-ignite-lgpl -Prelease,all-java,all-scala,licenses,lgpl,tensorflow,web-console -DskipTests -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -DaltReleaseDeploymentRepository=hawkore.releases::default::http://nexus3:8081/repository/hawkore-public.releases/