forked from ApsaraDB/PolarDB-for-PostgreSQL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
61 lines (58 loc) · 1.56 KB
/
.cirrus.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
task:
# triggered when PR to 'POLARDB_11_DEV'
# or direct push to 'POLARDB_11_DEV' or merge to 'POLARDB_11_STABLE'
only_if: |
($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'POLARDB_11_DEV') ||
($CIRRUS_PR == '' && ($CIRRUS_BRANCH == 'POLARDB_11_DEV' || $CIRRUS_BRANCH == 'POLARDB_11_STABLE'))
# triggered when the changes are included in:
skip: |
!changesInclude(
'.cirrus.yml',
'config/**',
'contrib/**',
'external/**',
'src/**',
'configure*',
'polardb_build.sh'
)
# task run timeout
timeout_in: 120m
# run on Linux-AMD64 and Linux-ARM64 in parallel
matrix:
# Linux - AMD64
-
container:
image: polardb/polardb_pg_devel:centos7
cpu: 2
memory: 8G
greedy: true
# Linux - ARM64
-
arm_container:
image: polardb/polardb_pg_devel:centos7
cpu: 2
memory: 8G
greedy: true
# Run OLTP/OLAP/DMA regression in parallel
matrix:
# OLTP regression
-
name: "regression (OLTP)"
script:
- |
source /etc/bashrc && \
./polardb_build.sh -r -e -r-external -r-contrib -r-pl --withrep --with-tde
# OLAP regression
-
name: "regression (OLAP)"
script:
- |
source /etc/bashrc && \
./polardb_build.sh -r-px -e -r-external -r-contrib -r-pl --with-tde
# DMA regression
-
name: "regression (DMA)"
script:
- |
source /etc/bashrc && \
./polardb_build.sh -r -e -r-external -r-contrib -r-pl --with-tde --with-dma