forked from manticoresoftware/manticoresearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
97 lines (86 loc) · 1.78 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
stages:
- mirroring
- routines
- publish
pages:
stage: mirroring
tags:
- docs
- docker
image: registry.gitlab.com/manticoresearch/dev/manticoredocs:latest
script:
- cd docs
- make html
- cd -
- mkdir .public
- cp -r docs/build/html/* .public
- mv .public public
artifacts:
paths:
- public
only:
- master
job_mirror:
stage: mirroring
only:
- master
script:
- ~/gitsync.sh
allow_failure: true
simple_tests:
stage: routines
tags:
- ubuntu
- specdocker
dependencies: []
image: registry.gitlab.com/manticoresearch/dev/ubertests:latest
script:
- ctest -V -S /work/gltest.cmake
artifacts:
paths:
- build/here
- build/test/test_*/report.txt
- build/test/error*.txt
- build/test/searchd.log
expire_in: 12 hrs
when: always
retry: 1
release_tests:
stage: routines
tags:
- ubuntu
- specdocker
dependencies: []
image: registry.gitlab.com/manticoresearch/dev/ubertests:latest
script:
- ctest -V -DCTEST_BUILD_CONFIGURATION=RelWithDebInfo -S /work/gltest.cmake
artifacts:
paths:
- build/here
- build/test/test_*/report.txt
- build/test/error*.txt
- build/test/searchd.log
expire_in: 12 hrs
when: always
retry: 1
push_results:
stage: publish
tags:
- ubuntu
- specdocker
image: registry.gitlab.com/manticoresearch/dev/ubertests:latest
dependencies:
- simple_tests
- release_tests
variables:
GIT_STRATEGY: none
script:
- ctest -S /work/upload.cmake
when: always
artifacts:
paths:
- results.html
environment:
name: ${CI_COMMIT_REF_NAME}
url: http://$CDASH_URL/CDash/public/index.php?project=Manticoresearch&filtercount=1&field1=revision&compare1=63&value1=$CI_COMMIT_SHA
retry: 1