forked from SeldonIO/seldon-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
70 lines (61 loc) · 1.14 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
image: docker:latest
services:
- docker:dind
variables:
DOCKER_DRIVER: overlay
SPRING_PROFILES_ACTIVE: gitlab-ci
stages:
- build
- deploy
cluster-manager-maven-build:
image: seldonio/core-builder:0.3
stage: build
script:
- cd cluster-manager
- make -f Makefile.ci build_jar
artifacts:
paths:
- cluster-manager/target/*.jar
expire_in: 1 week
only:
- ci_test
- master
- release-0.1
engine-maven-build:
image: seldonio/core-builder:0.3
stage: build
script:
- cd engine
- make -f Makefile.ci build_jar
artifacts:
paths:
- engine/target/*.jar
expire_in: 1 week
only:
- ci_test
- master
- release-0.1
api-frontend-maven-build:
image: seldonio/core-builder:0.3
stage: build
script:
- cd api-frontend
- make -f Makefile.ci build_jar
artifacts:
paths:
- api-frontend/target/*.jar
expire_in: 1 week
only:
- ci_test
- master
- release-0.1
pages:
image: monachus/hugo
stage: deploy
script:
- hugo -b "https://seldon-dev.gitlab.io/seldon-core/" -s=docs/ -d ../public
artifacts:
paths:
- public
only:
- master