This repository has been archived by the owner on Nov 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.gitlab-ci.yml
82 lines (74 loc) · 1.63 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
cache:
paths:
- .m2/
variables:
MAVEN_OPTS: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dmaven.repo.local=.m2"
stages:
- build
- build_tests
- test
mssql:
stage: build
image: raonigabriel/graalvm-playground:19.0.0
script: wrapper/scripts/wrap-mssql.sh
artifacts:
paths:
- mssql/
oracle:
stage: build
image: raonigabriel/graalvm-playground:19.0.0
script: wrapper/scripts/wrap-oracle.sh
artifacts:
paths:
- oracle/
postgresql:
stage: build
image: raonigabriel/graalvm-playground:19.0.0
script: wrapper/scripts/wrap-postgresql.sh
artifacts:
paths:
- postgresql/
mssql_test:
stage: test
image: golang:1.12
services:
- name: registry.gitlab.com/identitii/gdbc/mssql:2017-CU12-ubuntu
alias: db
dependencies:
- mssql
variables:
ACCEPT_EULA: "Y"
SA_PASSWORD: yourStrong(!)Password
MSSQL_DB: test
MSSQL_USER: root
MSSQL_PASSWORD: yourStrong(!)Password
MSSQL_HOST: db
script: ./benchmark.sh mssql
oracle_test:
stage: test
image: golang:1.12
services:
- name: registry.gitlab.com/identitii/gdbc/oracle:12c-r1
alias: db
dependencies:
- oracle
variables:
ORACLE_DB: xe
ORACLE_USER: GDBCUSER
ORACLE_PASSWORD: password
ORACLE_HOST: db
script: sleep 30 && ./benchmark.sh oracle
postgresql_test:
stage: test
image: golang:1.12
services:
- name: postgres:latest
alias: db
dependencies:
- postgresql
variables:
POSTGRES_DB: test
POSTGRES_USER: root
POSTGRES_PASSWORD: password
POSTGRES_HOST: db
script: ./benchmark.sh postgresql