提交 4bbfd0c3 编写于 作者: A Asim R P 提交者: Asim RP

Parameterize pipeline config to control binary swap tests

Binary swap tests need to be enabled only on stable branches but not on master.
This commit makes it easy to enable / disable binary swap tests in a pipeline,
especially when gen_pipeline.py is used to generate it.
上级 6ded6e99
......@@ -426,8 +426,8 @@ resources:
- name: gpdb_src_binary_swap
type: git
source:
branch: master
uri: https://github.com/greenplum-db/gpdb.git
branch: {{gpdb-binary-swap-git-tag}}
uri: {{gpdb-binary-swap-git-remote}}
ignore_paths:
- gpdb-doc/*
- README*
......@@ -1177,12 +1177,12 @@ jobs:
trigger: [[ test_trigger ]]
- get: gpdb6-centos6-test
- task: ic_gpdb
file: gpdb_src/concourse/tasks/ic_gpdb.yml
file: gpdb_src/concourse/tasks/ic_gpdb_binary_swap.yml
image: gpdb6-centos6-test
params:
MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
TEST_OS: centos
TEST_BINARY_SWAP: false
TEST_BINARY_SWAP: {{test-binary-swap}}
CONFIGURE_FLAGS: {{configure_flags}}
- name: icw_gporca_centos6
......@@ -1279,7 +1279,6 @@ jobs:
params:
MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
TEST_OS: centos
TEST_BINARY_SWAP: false
CONFIGURE_FLAGS: {{configure_flags}}
{% endif %}
......
......@@ -10,7 +10,7 @@ params:
MAKE_TEST_COMMAND: ""
BLDWRAP_POSTGRES_CONF_ADDONS: ""
TEST_OS: ""
TEST_BINARY_SWAP: true
TEST_BINARY_SWAP: ""
CONFIGURE_FLAGS: ""
run:
path: gpdb_src/concourse/scripts/ic_gpdb.bash
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册