提交 c3d74c60 编写于 作者: T Todd Sedano 提交者: Todd Sedano

Uses make create-demo-cluster

上级 806db982
......@@ -138,7 +138,7 @@ source /usr/local/gpdb/greenplum_path.sh
# Start demo cluster (gpdemo-env.sh is created which contain
# __PGPORT__ and __MASTER_DATA_DIRECTORY__ values)
cd gpAux/gpdemo
make cluster
make create-demo-cluster
source gpdemo-env.sh
```
......
......@@ -23,7 +23,7 @@ class GpBuild(GpdbBuildBase):
return status
status = subprocess.call([
"runuser gpadmin -c \"source /usr/local/gpdb/greenplum_path.sh \
&& make cluster DEFAULT_QD_MAX_CONNECT=150\""], cwd="gpdb_src/gpAux/gpdemo", shell=True)
&& make create-demo-cluster DEFAULT_QD_MAX_CONNECT=150\""], cwd="gpdb_src/gpAux/gpdemo", shell=True)
if status:
return status
return subprocess.call([
......
......@@ -25,7 +25,7 @@ class GporcacodegenBuild(GpdbBuildBase):
return status
status = subprocess.call([
"runuser gpadmin -c \"source /usr/local/gpdb/greenplum_path.sh \
&& make cluster\""], cwd="gpdb_src/gpAux/gpdemo", shell=True)
&& make create-demo-cluster\""], cwd="gpdb_src/gpAux/gpdemo", shell=True)
if status:
return status
return subprocess.call([
......
......@@ -41,7 +41,7 @@ function make_cluster() {
export DEFAULT_QD_MAX_CONNECT=150
workaround_before_concourse_stops_stripping_suid_bits
pushd gpdb_src/gpAux/gpdemo
su gpadmin -c make cluster
su gpadmin -c make create-demo-cluster
popd
}
......
......@@ -6,7 +6,7 @@ if [ ! -e /tmp/demo_sem ]; then
touch /tmp/demo_sem
pushd /workspace/gpdb/gpAux/gpdemo
make cluster
make create-demo-cluster
popd
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册