Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 133a813

Browse files
Leonid Borchuktuhaihe
authored andcommitted
Rename greenplum_path to cloudberry-env
1 parent eef2516 commit 133a813

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

build_automation/cloudberry/scripts/cloudberry-utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ run_psql_cmd() {
121121
# Function to source Cloudberry environment
122122
source_cloudberry_env() {
123123
echo "=== Sourcing Cloudberry environment ===" | tee -a "${LOG_DIR}/environment.log"
124-
source /usr/local/cloudberry-db/greenplum_path.sh
124+
source /usr/local/cloudberry-db/cloudberry-env.sh
125125
source ${SRC_DIR}/../cloudberry/gpAux/gpdemo/gpdemo-env.sh
126126
}
127127

build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ init_environment "Cloudberry Demo Cluster Script" "${CLUSTER_LOG}"
7979

8080
# Setup environment
8181
log_section "Environment Setup"
82-
source /usr/local/cloudberry-db/greenplum_path.sh || exit 1
82+
source /usr/local/cloudberry-db/cloudberry-env.sh || exit 1
8383
log_section_end "Environment Setup"
8484

8585
# Verify SSH access

images/docker/cbdb/build/rocky8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ RUN cp /tmp/90-cbdb-limits /etc/security/limits.d/90-cbdb-limits && \
186186
/usr/sbin/useradd gpadmin -g gpadmin -G wheel && \
187187
setcap cap_net_raw+ep /usr/bin/ping && \
188188
echo 'gpadmin ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/90-gpadmin && \
189-
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cbdb/greenplum_path.sh ]; then\n source /usr/local/cbdb/greenplum_path.sh\nfi' >> /home/gpadmin/.bashrc && \
189+
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cbdb/cloudberry-env.sh ]; then\n source /usr/local/cbdb/cloudberry-env.sh\nfi' >> /home/gpadmin/.bashrc && \
190190
ssh-keygen -A && \
191191
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config && \
192192
localedef -i en_US -f UTF-8 en_US.UTF-8 && \

images/docker/cbdb/build/rocky9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ RUN cp /tmp/90-cbdb-limits /etc/security/limits.d/90-cbdb-limits && \
189189
/usr/sbin/useradd gpadmin -g gpadmin -G wheel && \
190190
setcap cap_net_raw+ep /usr/bin/ping && \
191191
echo 'gpadmin ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/90-gpadmin && \
192-
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cbdb/greenplum_path.sh ]; then\n source /usr/local/cbdb/greenplum_path.sh\nfi' >> /home/gpadmin/.bashrc && \
192+
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cbdb/cloudberry-env.sh ]; then\n source /usr/local/cbdb/cloudberry-env.sh\nfi' >> /home/gpadmin/.bashrc && \
193193
ssh-keygen -A && \
194194
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config && \
195195
localedef -i en_US -f UTF-8 en_US.UTF-8 && \

images/docker/cbdb/test/rocky8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ RUN dnf install -y \
100100
RUN /usr/sbin/groupadd gpadmin && \
101101
/usr/sbin/useradd gpadmin -g gpadmin -G wheel && \
102102
echo 'gpadmin ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/90-gpadmin && \
103-
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cloudberry/greenplum_path.sh ]; then\n source /usr/local/cloudberry/greenplum_path.sh\n export COORDINATOR_DATA_DIRECTORY=/data1/coordinator/gpseg-1\nfi' >> /home/gpadmin/.bashrc
103+
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cloudberry/cloudberry-env.sh ]; then\n source /usr/local/cloudberry/cloudberry-env.sh\n export COORDINATOR_DATA_DIRECTORY=/data1/coordinator/gpseg-1\nfi' >> /home/gpadmin/.bashrc
104104

105105
# --------------------------------------------------------------------
106106
# Copy Configuration Files and Setup the Environment

images/docker/cbdb/test/rocky9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ RUN dnf install -y \
100100
RUN /usr/sbin/groupadd gpadmin && \
101101
/usr/sbin/useradd gpadmin -g gpadmin -G wheel && \
102102
echo 'gpadmin ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/90-gpadmin && \
103-
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cloudberry/greenplum_path.sh ]; then\n source /usr/local/cloudberry/greenplum_path.sh\n export COORDINATOR_DATA_DIRECTORY=/data1/coordinator/gpseg-1\nfi' >> /home/gpadmin/.bashrc
103+
echo -e '\n# Add Cloudberry entries\nif [ -f /usr/local/cloudberry/cloudberry-env.sh ]; then\n source /usr/local/cloudberry/cloudberry-env.sh\n export COORDINATOR_DATA_DIRECTORY=/data1/coordinator/gpseg-1\nfi' >> /home/gpadmin/.bashrc
104104

105105
# --------------------------------------------------------------------
106106
# Copy Configuration Files and Setup the Environment

0 commit comments

Comments
 (0)