Update CloudberryDB release from 1.0.0 to 1.5.1
diff --git a/.github/workflows/feishu-notify.yml b/.github/workflows/feishu-notify.yml
new file mode 100644
index 0000000..42b256c
--- /dev/null
+++ b/.github/workflows/feishu-notify.yml
@@ -0,0 +1,57 @@
+# Source file from https://github.com/bytedance/gopkg/blob/develop/.github/workflows/feishu-notify.yml. Thanks to the original developers.
+name: Feishu Notification
+
+on:
+ pull_request:
+ types: [opened]
+ issues:
+ types: [opened]
+
+jobs:
+ pr-opened:
+ name: Pull Request Opened Notification
+ if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
+ runs-on: ubuntu-latest
+ steps:
+ - name: Send Feishu Message
+ env:
+ ACTIONS_FEISHU_TAG: v1.3.1
+ INPUT_WEBHOOK: ${{ secrets.FEISHU_ROBOT_WEBHOOK_URL }}
+ INPUT_MESSAGE_TYPE: post
+ INPUT_TITLE: 🎉New Pull Request
+ INPUT_CONTENT: |
+ @${{ github.event.pull_request.user.login }} opened pull request #${{ github.event.pull_request.number }}:
+
+ ${{ github.event.pull_request.title }}
+
+ 🫱See: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}.
+ run: |
+ sudo apt update
+ sudo apt install wget -y
+ wget -q https://github.com/xiachufang/actions-feishu/releases/download/${{ env.ACTIONS_FEISHU_TAG }}/linux-amd64-actions-feishu.tar.gz
+ tar zxf linux-amd64-actions-feishu.tar.gz feishu
+ ./feishu
+
+ issues-opened:
+ name: Issue Opened Notification
+ if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
+ runs-on: ubuntu-latest
+ steps:
+ - name: Send Feishu Message
+ env:
+ ACTIONS_FEISHU_TAG: v1.3.1
+ INPUT_WEBHOOK: ${{ secrets.FEISHU_ROBOT_WEBHOOK_URL }}
+ INPUT_MESSAGE_TYPE: post
+ INPUT_TITLE: 🐛New Issue
+ INPUT_CONTENT: |
+ @${{ github.event.issue.user.login }} opened issue #${{ github.event.issue.number }}:
+
+ ${{ github.event.issue.title }}
+
+ 🫱See: https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }}.
+ run: |
+ sudo apt update
+ sudo apt install wget -y
+ wget -q https://github.com/xiachufang/actions-feishu/releases/download/${{ env.ACTIONS_FEISHU_TAG }}/linux-amd64-actions-feishu.tar.gz
+ tar zxf linux-amd64-actions-feishu.tar.gz feishu
+ ./feishu
diff --git a/000-cbdb-sandbox/README.md b/000-cbdb-sandbox/README.md
index 4566753..6f78e82 100644
--- a/000-cbdb-sandbox/README.md
+++ b/000-cbdb-sandbox/README.md
@@ -19,7 +19,7 @@
## Build the Sandbox
-This section introduces how to set up the Docker container in which the source code of Cloudberry Database v1.0 (released in [Cloudberry Database Release Page](https://github.com/cloudberrydb/cloudberrydb/releases)) will be compiled. In this CentOS 7.9 Docker container, a single-node cluster will be initialized with one coordinator and two segments. Both x86 and ARM CPUs (including Apple chips) are supported.
+This section introduces how to set up the Docker container in which the source code of Cloudberry Database v1.5.1 (released in [Cloudberry Database Release Page](https://github.com/cloudberrydb/cloudberrydb/releases)) will be compiled. In this CentOS 7.9 Docker container, a single-node cluster will be initialized with one coordinator and two segments. Both x86 and ARM CPUs (including Apple chips) are supported.
Build steps:
@@ -36,7 +36,7 @@
```shell
cd bootcamp/000-cbdb-sandbox
chmod +x ./run.sh
- ./run.sh
+ sudo ./run.sh
```
Once the script finishes without error, the sandbox is built successfully.
diff --git a/000-cbdb-sandbox/cbdb_Dockerfile b/000-cbdb-sandbox/cbdb_Dockerfile
index fde9945..2721c3a 100644
--- a/000-cbdb-sandbox/cbdb_Dockerfile
+++ b/000-cbdb-sandbox/cbdb_Dockerfile
@@ -47,11 +47,11 @@
RUN yum install -y python3-devel python3-pip; yum clean all
RUN cd /tmp/ \
- && unzip -d /tmp /tmp/cloudberrydb-1.0.0.zip \
- && cd /tmp/cloudberrydb-1.0.0 \
+ && unzip -d /tmp /tmp/cloudberrydb-1.5.1.zip \
+ && cd /tmp/cloudberrydb-1.5.1 \
&& pip3 install -i https://mirrors.aliyun.com/pypi/simple -r python-dependencies.txt
-RUN cd /tmp/cloudberrydb-1.0.0 \
+RUN cd /tmp/cloudberrydb-1.5.1 \
&& source scl_source enable devtoolset-10 \
&& ./configure --with-perl --with-python --with-libxml --with-gssapi --prefix=/usr/local/cloudberry-db \
&& make -j8 \
@@ -60,4 +60,4 @@
EXPOSE 5432 22
VOLUME [ "/sys/fs/cgroup" ]
-CMD ["bash","-c","/tmp/init_system.sh"]
+CMD ["bash","-c","/tmp/init_system.sh"]
\ No newline at end of file
diff --git a/000-cbdb-sandbox/configs/cloudberrydb-1.0.0.zip b/000-cbdb-sandbox/configs/cloudberrydb-1.0.0.zip
deleted file mode 100644
index 928ead5..0000000
--- a/000-cbdb-sandbox/configs/cloudberrydb-1.0.0.zip
+++ /dev/null
Binary files differ
diff --git a/000-cbdb-sandbox/configs/cloudberrydb-1.5.1.zip b/000-cbdb-sandbox/configs/cloudberrydb-1.5.1.zip
new file mode 100644
index 0000000..d538ec4
--- /dev/null
+++ b/000-cbdb-sandbox/configs/cloudberrydb-1.5.1.zip
Binary files differ