-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
58 lines (53 loc) · 1.23 KB
/
.gitlab-ci.yml
File metadata and controls
58 lines (53 loc) · 1.23 KB
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
image: smallerinfinity/monomyth-ci
stages:
- test
test:
stage: test
cache:
key: qlot-cache
paths:
- .qlot/
services:
- rabbitmq:latest
variables:
TEST_RMQ: "rabbitmq"
TEST_RMQ_DEFAULT_USER: "guest"
TEST_RMQ_DEFAULT_PASS: "guest"
before_script:
- qlot install
- ln -s /builds/smaller_infinity/monomyth /root/.roswell/local-projects/monomyth
script:
- qlot exec ./bin/test.ros
only:
- merge_request
- develop
- master
test-map-reduce:
stage: test
cache:
key: qlot-cache
paths:
- .qlot/
services:
- rabbitmq:3-management-alpine
- postgres:13-alpine
variables:
TEST_RMQ: "rabbitmq"
TEST_RMQ_DEFAULT_USER: "guest"
TEST_RMQ_DEFAULT_PASS: "guest"
POSTGRES_DB: "monomyth"
POSTGRES_USER: "user"
POSTGRES_PASSWORD: "password"
POSTGRES_HOST: "postgres"
TEST_FILE_PATH: "test-resources/moby-dick.txt"
MIGRATIONS_PATH: "example/map-reduce/migrations/"
before_script:
- qlot install
- ln -s /builds/smaller_infinity/monomyth /root/.roswell/local-projects/monomyth
script:
- qlot exec ./bin/run-map-reduce-migrations.ros
- qlot exec ./bin/run-map-reduce.ros
only:
- merge_request
- develop
- master