forked from CDLSoftware/pg-mv-fast-refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
executable file
·49 lines (43 loc) · 1.87 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
image: postgres:11.5
Build:
stage: build
tags:
- dev
script:
- echo Starting postgres
- /usr/local/bin/docker-entrypoint.sh postgres &
- sleep 10
- echo Starting pipeline build
- cd /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner
- cp .pipeline_module_set_variables.sh module_set_variables.sh
- /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner/run_pipeline_checks.sh build
MV-Refresh:
stage: test
tags:
- dev
script:
- echo Starting postgres
- /usr/local/bin/docker-entrypoint.sh postgres &
- sleep 10
- echo Starting pipeline build
- cd /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner
- cp .pipeline_module_set_variables.sh module_set_variables.sh
- /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner/run_pipeline_checks.sh build
- echo Starting pipeline MV refresh
- cd /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner
- /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner/run_pipeline_checks.sh test
Module-Destroy:
stage: test
tags:
- dev
script:
- echo Starting postgres
- /usr/local/bin/docker-entrypoint.sh postgres &
- sleep 10
- echo Starting pipeline build
- cd /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner
- cp .pipeline_module_set_variables.sh module_set_variables.sh
- /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner/run_pipeline_checks.sh build
- echo Starting destroy of module
- cd /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner
- /builds/cheshire-datasystems/dba-team/pg-mv-fast-refresh-githubrunner/run_pipeline_checks.sh destroy