You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by ma...@apache.org on 2024/11/29 08:03:45 UTC
(cloudberry) 02/02: test: Add single-node test configurations to CI pipeline
This is an automated email from the ASF dual-hosted git repository.
maxyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 6df030cc59c4e31b97efbe646eb32c4f7b434e8f
Author: Ed Espino <es...@apache.org>
AuthorDate: Wed Nov 27 22:15:31 2024 -0800
test: Add single-node test configurations to CI pipeline
* Add three new test configurations for single-node testing:
- ic-singlenode_regress
- ic-singlenode_isolation
- ic-singlenode_isolation2
* Update build workflow to support tests with configurable number of
primary-mirror pairs
* Add new test configurations to required checks in .asf.yaml
* Fix path quoting in demo cluster creation script
---
.asf.yaml | 3 +++
.github/workflows/build-cloudberry.yml | 27 ++++++++++++++++++++++-----
2 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 04618bee51..f637517f0b 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -88,6 +88,9 @@ github:
- RPM Install Test Apache Cloudberry
- ic-good-opt-off
- ic-expandshrink
+ - ic-singlenode_regress
+ - ic-singlenode_isolation
+ - ic-singlenode_isolation2
- Generate Apache Cloudberry Build Report
# Pull request review requirements
diff --git a/.github/workflows/build-cloudberry.yml b/.github/workflows/build-cloudberry.yml
index ecb19067d0..5da4d7c97f 100644
--- a/.github/workflows/build-cloudberry.yml
+++ b/.github/workflows/build-cloudberry.yml
@@ -625,18 +625,35 @@ jobs:
strategy:
fail-fast: false # Continue with other tests if one fails
matrix:
- test: [ic-good-opt-off, ic-expandshrink]
+ test:
+ - ic-good-opt-off
+ - ic-expandshrink
+ - ic-singlenode_regress
+ - ic-singlenode_isolation
+ - ic-singlenode_isolation2
include:
- test: ic-good-opt-off
make_target: installcheck-good
make_directory: --directory=src/test/regress
+ num_primary_mirror_pairs: 3
pg_settings:
optimizer: "off"
- test: ic-expandshrink
make_target: installcheck-expandshrink
make_directory: --directory=src/test/isolation2
- pg_settings:
- optimizer: "off"
+ num_primary_mirror_pairs: 3
+ - test: ic-singlenode_regress
+ make_target: installcheck-singlenode
+ make_directory: --directory=src/test/singlenode_regress
+ num_primary_mirror_pairs: 0
+ - test: ic-singlenode_isolation
+ make_target: installcheck-singlenode
+ make_directory: --directory=src/test/isolation
+ num_primary_mirror_pairs: 0
+ - test: ic-singlenode_isolation2
+ make_target: installcheck-singlenode
+ make_directory: --directory=src/test/singlenode_isolation2
+ num_primary_mirror_pairs: 0
container:
image: apache/incubator-cloudberry:cbdb-build-rocky9-latest
@@ -874,8 +891,8 @@ jobs:
set -eo pipefail
{
- chmod +x ${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
- if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} ${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then
+ chmod +x "${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
+ if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' SRC_DIR=${SRC_DIR} ${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then
echo "::error::Demo cluster creation failed"
exit 1
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org