Skip to content

Commit 5c41769

Browse files
Xiaoran Wangtuhaihe
authored andcommitted
Fix pipeline (#59)
* Fix test_diskquota.sh * Replace docker-image with registry-image
1 parent 008cffb commit 5c41769

2 files changed

Lines changed: 20 additions & 15 deletions

File tree

gpcontrib/diskquota/concourse/pipeline/pipeline.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ groups:
1111

1212
resource_types:
1313
- name: gcs
14-
type: docker-image
14+
type: registry-image
1515
source:
1616
repository: frodenas/gcs-resource
1717

@@ -20,27 +20,27 @@ resources:
2020
# Image Resources
2121

2222
- name: centos-gpdb-dev-6
23-
type: docker-image
23+
type: registry-image
2424
source:
25-
repository: pivotaldata/centos-gpdb-dev
26-
tag: '6-gcc6.2-llvm3.7'
25+
repository: gcr.io/data-gpdb-public-images/gpdb5-centos6-build-test
26+
tag: latest
2727

2828
- name: centos-gpdb-dev-7
29-
type: docker-image
29+
type: registry-image
3030
source:
31-
repository: pivotaldata/centos-gpdb-dev
32-
tag: '7-gcc6.2-llvm3.7'
31+
repository: gcr.io/data-gpdb-public-images/gpdb5-centos7-build-test
32+
tag: latest
3333

3434
- name: ubuntu18-image-build
35-
type: docker-image
35+
type: registry-image
3636
source:
37-
repository: pivotaldata/gpdb6-ubuntu18.04-build
37+
repository: gcr.io/data-gpdb-public-images/gpdb6-ubuntu18.04-build
3838
tag: latest
3939

4040
- name: ubuntu18-image-test
41-
type: docker-image
41+
type: registry-image
4242
source:
43-
repository: pivotaldata/gpdb6-ubuntu18.04-test
43+
repository: gcr.io/data-gpdb-public-images/gpdb6-ubuntu18.04-test
4444
tag: latest
4545

4646
# Github Source Codes
@@ -103,6 +103,8 @@ jobs:
103103
image: centos-gpdb-dev-7
104104
input_mapping:
105105
bin_diskquota: diskquota_artifacts
106+
params:
107+
DISKQUOTA_OS: rhel7
106108

107109
- name: diskquota_centos6_build_test
108110
max_in_flight: 3
@@ -124,6 +126,8 @@ jobs:
124126
image: centos-gpdb-dev-6
125127
input_mapping:
126128
bin_diskquota: diskquota_artifacts
129+
params:
130+
DISKQUOTA_OS: rhel6
127131

128132
- name: diskquota_ubuntu18_build_test
129133
max_in_flight: 3
@@ -146,4 +150,5 @@ jobs:
146150
image: ubuntu18-image-test
147151
input_mapping:
148152
bin_diskquota: diskquota_artifacts
149-
153+
params:
154+
DISKQUOTA_OS: ubuntu18.04

gpcontrib/diskquota/concourse/scripts/test_diskquota.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -exo pipefail
55
CWDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
TOP_DIR=${CWDIR}/../../../
77
GPDB_CONCOURSE_DIR=${TOP_DIR}/gpdb_src/concourse/scripts
8-
CUT_NUMBER=6
8+
CUT_NUMBER=5
99

1010
source "${GPDB_CONCOURSE_DIR}/common.bash"
1111
function test(){
@@ -53,8 +53,8 @@ function _main() {
5353

5454
time make_cluster
5555
time install_diskquota
56-
if [ "${DISKQUOTA_OS}" == "rhel7" ]; then
57-
CUT_NUMBER=5
56+
if [ "${DISKQUOTA_OS}" == "ubuntu18.04" ]; then
57+
CUT_NUMBER=6
5858
fi
5959

6060
time test

0 commit comments

Comments
 (0)