提交 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: ...@@ -426,8 +426,8 @@ resources:
- name: gpdb_src_binary_swap - name: gpdb_src_binary_swap
type: git type: git
source: source:
branch: master branch: {{gpdb-binary-swap-git-tag}}
uri: https://github.com/greenplum-db/gpdb.git uri: {{gpdb-binary-swap-git-remote}}
ignore_paths: ignore_paths:
- gpdb-doc/* - gpdb-doc/*
- README* - README*
...@@ -1177,12 +1177,12 @@ jobs: ...@@ -1177,12 +1177,12 @@ jobs:
trigger: [[ test_trigger ]] trigger: [[ test_trigger ]]
- get: gpdb6-centos6-test - get: gpdb6-centos6-test
- task: ic_gpdb - 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 image: gpdb6-centos6-test
params: params:
MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
TEST_OS: centos TEST_OS: centos
TEST_BINARY_SWAP: false TEST_BINARY_SWAP: {{test-binary-swap}}
CONFIGURE_FLAGS: {{configure_flags}} CONFIGURE_FLAGS: {{configure_flags}}
- name: icw_gporca_centos6 - name: icw_gporca_centos6
...@@ -1279,7 +1279,6 @@ jobs: ...@@ -1279,7 +1279,6 @@ jobs:
params: params:
MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
TEST_OS: centos TEST_OS: centos
TEST_BINARY_SWAP: false
CONFIGURE_FLAGS: {{configure_flags}} CONFIGURE_FLAGS: {{configure_flags}}
{% endif %} {% endif %}
......
...@@ -10,7 +10,7 @@ params: ...@@ -10,7 +10,7 @@ params:
MAKE_TEST_COMMAND: "" MAKE_TEST_COMMAND: ""
BLDWRAP_POSTGRES_CONF_ADDONS: "" BLDWRAP_POSTGRES_CONF_ADDONS: ""
TEST_OS: "" TEST_OS: ""
TEST_BINARY_SWAP: true TEST_BINARY_SWAP: ""
CONFIGURE_FLAGS: "" CONFIGURE_FLAGS: ""
run: run:
path: gpdb_src/concourse/scripts/ic_gpdb.bash 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.
先完成此消息的编辑!
想要评论请 注册