-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
43 lines (37 loc) · 950 Bytes
/
.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
variables:
CI_DEBUG_TRACE: "false"
WANT_TO_KNOW_MORE. "https://docs.gitlab.com/ee/ci/pipelines.html"
cache:
paths:
- maven.repository/
stages:
- build
- docker
- compose
docker-stuff:
stage: docker
image: gitlab/dind:latest
allow_failure: true
script:
- docker --version
docker-compose-stuff:
stage: compose
image: docker/compose:1.24.0-rc3
allow_failure: true
script:
- docker-compose -d -f e2e/docker-compose.yml up
- sleep 5
after_script:
- set +e
- docker-compose -f e2e/docker-compose.yml down -v --remove-orphans --rmi all
build-docs:
#image: $CI_REGISTRY/pxc-gitlab-maven:stable
stage: build
script:
- echo "I'm building the docs while you wait"
build-code:
#image: $CI_REGISTRY/pxc-gitlab-maven:stable
stage: build
allow_failure: true
script:
- mvn -U -Dmaven.repo.local=maven.repository --batch-mode -pl e2e -P e2e -am -Dtest=RestAssuredTest -DskipTests test