This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit b1e46cbb702a4e010002f16212b6d806bede0d10
Author: Leonid Borchuk <xi...@qavm-f9b691f5.qemu>
AuthorDate: Wed Aug 27 11:34:00 2025 +0000

    Reorganize files in main repo and add licence info to all files
---
 .github/workflows/build-cloudberry.yml             |  62 ++----
 .github/workflows/build-dbg-cloudberry.yml         |  62 ++----
 .github/workflows/docker-cbdb-build-containers.yml | 208 +++++++++++++++++++++
 .github/workflows/docker-cbdb-test-containers.yml  | 182 ++++++++++++++++++
 cloudberry-devops-release/CONTRIBUTING.md          |  66 -------
 cloudberry-devops-release/LICENSE                  | 202 --------------------
 cloudberry-devops-release/README.md                |   1 -
 devops/README.md                                   |  88 +++++++++
 .../cloudberry/scripts/analyze_core_dumps.sh       |   0
 .../cloudberry/scripts/build-cloudberry.sh         |   0
 .../cloudberry/scripts/cloudberry-utils.sh         |   0
 .../cloudberry/scripts/configure-cloudberry.sh     |   0
 .../scripts/create-cloudberry-demo-cluster.sh      |   0
 .../scripts/destroy-cloudberry-demo-cluster.sh     |   0
 .../cloudberry/scripts/parse-results.pl            |   0
 .../cloudberry/scripts/parse-test-results.sh       |   0
 .../cloudberry/scripts/test-cloudberry.sh          |   0
 .../cloudberry/scripts/unittest-cloudberry.sh      |   0
 .../rpm}/apache-cloudberry-db-incubating.spec      |  17 ++
 .../rpm}/apache-cloudberry-hll-incubating.spec     |  17 ++
 .../apache-cloudberry-pgvector-incubating.spec     |  17 ++
 .../build/packaging/rpm}/build-rpm.sh              |  16 ++
 .../build/packaging/rpm}/cloudberry-dev-repo.spec  |  17 ++
 .../deploy/docker}/build/rocky8/Dockerfile         |   0
 .../docker}/build/rocky8/configs/90-cbdb-limits    |   0
 .../docker}/build/rocky8/configs/gpinitsystem.conf |   0
 .../docker}/build/rocky8/configs/init_system.sh    |   0
 .../docker}/build/rocky8/tests/requirements.txt    |   0
 .../tests/testinfra/test_cloudberry_db_env.py      |   0
 .../deploy/docker}/build/rocky9/Dockerfile         |   0
 .../docker}/build/rocky9/configs/90-cbdb-limits    |   0
 .../docker}/build/rocky9/configs/gpinitsystem.conf |   0
 .../docker}/build/rocky9/configs/init_system.sh    |   0
 .../docker}/build/rocky9/tests/requirements.txt    |   0
 .../tests/testinfra/test_cloudberry_db_env.py      |   0
 .../deploy/docker}/test/rocky8/Dockerfile          |   0
 .../docker}/test/rocky8/configs/90-cbdb-limits     |   0
 .../docker}/test/rocky8/configs/gpinitsystem.conf  |   0
 .../docker}/test/rocky8/configs/init_system.sh     |   0
 .../deploy/docker}/test/rocky9/Dockerfile          |   0
 .../docker}/test/rocky9/configs/90-cbdb-limits     |   0
 .../docker}/test/rocky9/configs/gpinitsystem.conf  |   0
 .../docker}/test/rocky9/configs/init_system.sh     |   0
 .../release/cloudberry-release.sh                  |   0
 .../tools}/elf_rockylinux_dependency_analyzer.py   |  16 ++
 .../tools}/elf_ubuntu_dependency_analyzer.py       |  16 ++
 .../tools}/s3-repo-sync-and-sign.sh                |  16 ++
 pom.xml                                            |   5 +
 48 files changed, 641 insertions(+), 367 deletions(-)

diff --git a/.github/workflows/build-cloudberry.yml 
b/.github/workflows/build-cloudberry.yml
index fd2b9c73949..76dc06ced80 100644
--- a/.github/workflows/build-cloudberry.yml
+++ b/.github/workflows/build-cloudberry.yml
@@ -441,24 +441,6 @@ jobs:
           fetch-depth: 1
           submodules: true
 
-      - name: Checkout CI Build/Test Scripts
-        if: needs.check-skip.outputs.should_skip != 'true'
-        uses: actions/checkout@v4
-        with:
-          repository: apache/cloudberry-devops-release
-          ref: main
-          path: cloudberry-devops-release
-          fetch-depth: 1
-
-      - name: Move cloudberry-devops-release directory
-        if: needs.check-skip.outputs.should_skip != 'true'
-        run: |
-          set -eo pipefail
-          if ! mv "${GITHUB_WORKSPACE}"/cloudberry-devops-release 
"${GITHUB_WORKSPACE}"/..; then
-            echo "::error::Container initialization failed"
-            exit 1
-          fi
-
       - name: Cloudberry Environment Initialization
         if: needs.check-skip.outputs.should_skip != 'true'
         env:
@@ -510,8 +492,8 @@ jobs:
           SRC_DIR: ${{ github.workspace }}
         run: |
           set -eo pipefail
-          chmod +x 
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/configure-cloudberry.sh
-          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
ENABLE_DEBUG=${{ env.ENABLE_DEBUG }} 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/configure-cloudberry.sh";
 then
+          chmod +x 
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
+          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
ENABLE_DEBUG=${{ env.ENABLE_DEBUG }} 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh"; 
then
             echo "::error::Configure script failed"
             exit 1
           fi
@@ -523,8 +505,8 @@ jobs:
         run: |
           set -eo pipefail
 
-          chmod +x 
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/build-cloudberry.sh
-          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/build-cloudberry.sh";
 then
+          chmod +x 
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/build-cloudberry.sh
+          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/build-cloudberry.sh"; then
             echo "::error::Build script failed"
             exit 1
           fi
@@ -606,7 +588,7 @@ jobs:
             # Create RPM
             echo "Creating RPM package..."
             rpmdev-setuptree
-            ln -s 
"${SRC_DIR}"/../cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-db-incubating.spec
 "${HOME}"/rpmbuild/SPECS/apache-cloudberry-db-incubating.spec
+            ln -s 
"${SRC_DIR}"/devops/build/packaging/rpm/apache-cloudberry-db-incubating.spec 
"${HOME}"/rpmbuild/SPECS/apache-cloudberry-db-incubating.spec
             cp "${SRC_DIR}"/LICENSE /usr/local/cloudberry-db
 
             DEBUG_RPMBUILD_OPT=""
@@ -616,7 +598,7 @@ jobs:
                DEBUG_IDENTIFIER=".debug"
             fi
 
-            "${SRC_DIR}"/../cloudberry-devops-release/scripts/build-rpm.sh 
--version "${CBDB_VERSION}" --release "${BUILD_NUMBER}" "${DEBUG_RPMBUILD_OPT}"
+            "${SRC_DIR}"/devops/build/packaging/rpm/build-rpm.sh --version 
"${CBDB_VERSION}" --release "${BUILD_NUMBER}" "${DEBUG_RPMBUILD_OPT}"
 
             # Get OS version and move RPM
             os_version=$(grep -oP '(?<=^VERSION_ID=")[0-9]' /etc/os-release)
@@ -653,8 +635,8 @@ jobs:
           SRC_DIR: ${{ github.workspace }}
         run: |
           set -eo pipefail
-          chmod +x 
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/unittest-cloudberry.sh
-          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/unittest-cloudberry.sh";
 then
+          chmod +x 
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/unittest-cloudberry.sh
+          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/unittest-cloudberry.sh"; 
then
             echo "::error::Unittest script failed"
             exit 1
           fi
@@ -904,24 +886,6 @@ jobs:
         run: |
           echo "Timestamp from output: ${{ needs.build.outputs.build_timestamp 
}}"
 
-      - name: Checkout CI Build/Test Scripts
-        if: needs.check-skip.outputs.should_skip != 'true'
-        uses: actions/checkout@v4
-        with:
-          repository: apache/cloudberry-devops-release
-          ref: main
-          path: cloudberry-devops-release
-          fetch-depth: 1
-
-      - name: Move cloudberry-devops-release directory
-        if: needs.check-skip.outputs.should_skip != 'true'
-        run: |
-          set -eo pipefail
-          if ! mv "${GITHUB_WORKSPACE}"/cloudberry-devops-release 
"${GITHUB_WORKSPACE}"/..; then
-            echo "::error::Container initialization failed"
-            exit 1
-          fi
-
       - name: Cloudberry Environment Initialization
         env:
           LOGS_DIR: build-logs
@@ -1267,8 +1231,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} && 
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
+            chmod +x 
"${SRC_DIR}"/devops/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}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh";
 then
               echo "::error::Demo cluster creation failed"
               exit 1
             fi
@@ -1343,7 +1307,7 @@ jobs:
                  MAKE_DIRECTORY='-C $dir' \
                  PGOPTIONS='${PG_OPTS}' \
                  SRC_DIR='${SRC_DIR}' \
-                 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/test-cloudberry.sh"
 \
+                 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/test-cloudberry.sh" \
                  2>&1 | tee "$config_log"; then
               echo "::warning::Test execution failed for configuration 
$((i+1)): make -C $dir $target"
               overall_status=1
@@ -1376,7 +1340,7 @@ jobs:
             ls -Rl "/tmp/cloudberry-cores"
             echo "-----------------------------------------"
 
-            
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/analyze_core_dumps.sh
 "$test_id"
+            
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/analyze_core_dumps.sh 
"$test_id"
             core_analysis_rc=$?
             case "$core_analysis_rc" in
               0) echo "No core dumps found for this configuration" ;;
@@ -1452,7 +1416,7 @@ jobs:
             # Parse this configuration's results
 
             MAKE_NAME="${{ matrix.test }}-config$i" \
-            
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/parse-test-results.sh
 "$config_log"
+            
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/parse-test-results.sh 
"$config_log"
             status_code=$?
 
             {
diff --git a/.github/workflows/build-dbg-cloudberry.yml 
b/.github/workflows/build-dbg-cloudberry.yml
index 569e6a350d6..4bc23a5d677 100644
--- a/.github/workflows/build-dbg-cloudberry.yml
+++ b/.github/workflows/build-dbg-cloudberry.yml
@@ -343,24 +343,6 @@ jobs:
           fetch-depth: 1
           submodules: true
 
-      - name: Checkout CI Build/Test Scripts
-        if: needs.check-skip.outputs.should_skip != 'true'
-        uses: actions/checkout@v4
-        with:
-          repository: apache/cloudberry-devops-release
-          ref: main
-          path: cloudberry-devops-release
-          fetch-depth: 1
-
-      - name: Move cloudberry-devops-release directory
-        if: needs.check-skip.outputs.should_skip != 'true'
-        run: |
-          set -eo pipefail
-          if ! mv "${GITHUB_WORKSPACE}"/cloudberry-devops-release 
"${GITHUB_WORKSPACE}"/..; then
-            echo "::error::Container initialization failed"
-            exit 1
-          fi
-
       - name: Cloudberry Environment Initialization
         if: needs.check-skip.outputs.should_skip != 'true'
         env:
@@ -412,8 +394,8 @@ jobs:
           SRC_DIR: ${{ github.workspace }}
         run: |
           set -eo pipefail
-          chmod +x 
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/configure-cloudberry.sh
-          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
ENABLE_DEBUG=${{ env.ENABLE_DEBUG }} 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/configure-cloudberry.sh";
 then
+          chmod +x 
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
+          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
ENABLE_DEBUG=${{ env.ENABLE_DEBUG }} 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh"; 
then
             echo "::error::Configure script failed"
             exit 1
           fi
@@ -425,8 +407,8 @@ jobs:
         run: |
           set -eo pipefail
 
-          chmod +x 
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/build-cloudberry.sh
-          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/build-cloudberry.sh";
 then
+          chmod +x 
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/build-cloudberry.sh
+          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/build-cloudberry.sh"; then
             echo "::error::Build script failed"
             exit 1
           fi
@@ -508,7 +490,7 @@ jobs:
             # Create RPM
             echo "Creating RPM package..."
             rpmdev-setuptree
-            ln -s 
"${SRC_DIR}"/../cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-db-incubating.spec
 "${HOME}"/rpmbuild/SPECS/apache-cloudberry-db-incubating.spec
+            ln -s 
"${SRC_DIR}"/devops/build/packaging/rpm/apache-cloudberry-db-incubating.spec 
"${HOME}"/rpmbuild/SPECS/apache-cloudberry-db-incubating.spec
             cp "${SRC_DIR}"/LICENSE /usr/local/cloudberry-db
 
             DEBUG_RPMBUILD_OPT=""
@@ -518,7 +500,7 @@ jobs:
                DEBUG_IDENTIFIER=".debug"
             fi
 
-            "${SRC_DIR}"/../cloudberry-devops-release/scripts/build-rpm.sh 
--version "${CBDB_VERSION}" --release "${BUILD_NUMBER}" "${DEBUG_RPMBUILD_OPT}"
+            "${SRC_DIR}"/devops/build/packaging/rpm/build-rpm.sh --version 
"${CBDB_VERSION}" --release "${BUILD_NUMBER}" "${DEBUG_RPMBUILD_OPT}"
 
             # Get OS version and move RPM
             os_version=$(grep -oP '(?<=^VERSION_ID=")[0-9]' /etc/os-release)
@@ -553,8 +535,8 @@ jobs:
           SRC_DIR: ${{ github.workspace }}
         run: |
           set -eo pipefail
-          chmod +x 
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/unittest-cloudberry.sh
-          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/unittest-cloudberry.sh";
 then
+          chmod +x 
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/unittest-cloudberry.sh
+          if ! time su - gpadmin -c "cd ${SRC_DIR} && SRC_DIR=${SRC_DIR} 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/unittest-cloudberry.sh"; 
then
             echo "::error::Unittest script failed"
             exit 1
           fi
@@ -804,24 +786,6 @@ jobs:
         run: |
           echo "Timestamp from output: ${{ needs.build.outputs.build_timestamp 
}}"
 
-      - name: Checkout CI Build/Test Scripts
-        if: needs.check-skip.outputs.should_skip != 'true'
-        uses: actions/checkout@v4
-        with:
-          repository: apache/cloudberry-devops-release
-          ref: main
-          path: cloudberry-devops-release
-          fetch-depth: 1
-
-      - name: Move cloudberry-devops-release directory
-        if: needs.check-skip.outputs.should_skip != 'true'
-        run: |
-          set -eo pipefail
-          if ! mv "${GITHUB_WORKSPACE}"/cloudberry-devops-release 
"${GITHUB_WORKSPACE}"/..; then
-            echo "::error::Container initialization failed"
-            exit 1
-          fi
-
       - name: Cloudberry Environment Initialization
         env:
           LOGS_DIR: build-logs
@@ -1167,8 +1131,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} && 
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
+            chmod +x 
"${SRC_DIR}"/devops/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}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh";
 then
               echo "::error::Demo cluster creation failed"
               exit 1
             fi
@@ -1239,7 +1203,7 @@ jobs:
                  MAKE_DIRECTORY='-C $dir' \
                  PGOPTIONS='${PG_OPTS}' \
                  SRC_DIR='${SRC_DIR}' \
-                 
${SRC_DIR}/../cloudberry-devops-release/build_automation/cloudberry/scripts/test-cloudberry.sh"
 \
+                 
${SRC_DIR}/devops/build/automation/cloudberry/scripts/test-cloudberry.sh" \
                  2>&1 | tee "$config_log"; then
               echo "::warning::Test execution failed for configuration 
$((i+1)): make -C $dir $target"
               overall_status=1
@@ -1272,7 +1236,7 @@ jobs:
             ls -Rl "/tmp/cloudberry-cores"
             echo "-----------------------------------------"
 
-            
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/analyze_core_dumps.sh
 "$test_id"
+            
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/analyze_core_dumps.sh 
"$test_id"
             core_analysis_rc=$?
             case "$core_analysis_rc" in
               0) echo "No core dumps found for this configuration" ;;
@@ -1348,7 +1312,7 @@ jobs:
             # Parse this configuration's results
 
             MAKE_NAME="${{ matrix.test }}-config$i" \
-            
"${SRC_DIR}"/../cloudberry-devops-release/build_automation/cloudberry/scripts/parse-test-results.sh
 "$config_log"
+            
"${SRC_DIR}"/devops/build/automation/cloudberry/scripts/parse-test-results.sh 
"$config_log"
             status_code=$?
 
             {
diff --git a/.github/workflows/docker-cbdb-build-containers.yml 
b/.github/workflows/docker-cbdb-build-containers.yml
new file mode 100644
index 00000000000..f5f8676cd4c
--- /dev/null
+++ b/.github/workflows/docker-cbdb-build-containers.yml
@@ -0,0 +1,208 @@
+# --------------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to You under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of the
+# License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+#
+# --------------------------------------------------------------------
+# GitHub Actions Workflow for Apache Cloudberry Build Environments
+# --------------------------------------------------------------------
+# Purpose:
+# Builds, tests, and publishes multi-architecture Docker images for
+# Apache Cloudberry DB build environments. Images are built for both
+# Rocky Linux 8 and 9, tested with TestInfra, and pushed to DockerHub.
+#
+# Multi-Architecture Support:
+# - Builds images for both AMD64 and ARM64 architectures
+# - Creates and pushes multi-arch manifests
+# - Uses QEMU for cross-platform builds
+# - Automated testing for all architectures
+#
+# Image Tags:
+# - Latest: cbdb-build-{platform}-latest
+# - Versioned: cbdb-build-{platform}-{YYYYMMDD}-{git-short-sha}
+#
+# Features:
+# - Matrix build for multiple platforms
+# - Parallel architecture builds
+# - Build caching strategy
+# - Path filtering to only build changed platforms
+# - Comprehensive build summary and metadata
+# - Container testing with TestInfra
+# - Multi-arch manifest creation
+#
+# Requirements:
+# - DockerHub credentials in GitHub secrets
+#   - DOCKERHUB_USER
+#   - DOCKERHUB_TOKEN
+# --------------------------------------------------------------------
+
+name: docker-cbdb-build-containers
+
+# Trigger workflow on pushes to main when relevant paths change
+# Also allows manual triggering via GitHub UI
+on:
+  push:
+    branches:
+      - main
+    paths:
+      - 'devops/deploy/docker/build/rocky8/**'
+      - 'devops/deploy/docker/build/rocky9/**'
+  workflow_dispatch:  # Manual trigger
+
+# Prevent multiple workflow runs from interfering with each other
+concurrency:
+  group: docker-build-${{ github.ref }}
+  cancel-in-progress: true
+
+jobs:
+  build-and-push:
+    # Set timeout to prevent hanging builds
+    timeout-minutes: 60
+    runs-on: ubuntu-latest
+
+    # Matrix strategy to build for both Rocky Linux 8 and 9
+    strategy:
+      matrix:
+        platform: ['rocky8', 'rocky9']
+
+    steps:
+      # Checkout repository code with full history
+      - name: Checkout code
+        uses: actions/checkout@v4
+
+      # Generate version information for image tags
+      # - BUILD_DATE: Current date in YYYYMMDD format
+      # - SHA_SHORT: Short form of the git commit SHA
+      - name: Set version
+        id: version
+        run: |
+          echo "BUILD_DATE=$(date -u +'%Y%m%d')" >> $GITHUB_OUTPUT
+          echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
+
+      # Determine if the current platform's files have changed
+      # This prevents unnecessary builds if only one platform was modified
+      - name: Determine if platform changed
+        id: platform-filter
+        uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
+        with:
+          filters: |
+            rocky8:
+              - 'devops/deploy/docker/build/rocky8/**'
+            rocky9:
+              - 'devops/deploy/docker/build/rocky9/**'
+
+      # Set up QEMU for multi-architecture support
+      # This allows building ARM64 images on AMD64 infrastructure and vice 
versa
+      - name: Set up QEMU
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/setup-qemu-action@v3
+
+      # Login to DockerHub for pushing images
+      # Requires DOCKERHUB_USER and DOCKERHUB_TOKEN secrets to be set
+      - name: Login to Docker Hub
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/login-action@v3
+        with:
+          username: ${{ secrets.DOCKERHUB_USER }}
+          password: ${{ secrets.DOCKERHUB_TOKEN }}
+
+      # Setup Docker Buildx for efficient builds
+      # Enable debug mode for better troubleshooting
+      - name: Set up Docker Buildx
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/setup-buildx-action@v3
+        with:
+          buildkitd-flags: --debug
+
+      # Build and test images for each architecture
+      # This ensures both AMD64 and ARM64 variants work correctly
+      - name: Build and test images
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        run: |
+          # Build for each platform
+          for arch in amd64 arm64; do
+            # Build the image for testing
+            docker buildx build \
+              --platform linux/$arch \
+              --load \
+              -t apache/incubator-cloudberry:cbdb-build-${{ matrix.platform 
}}-$arch-test \
+              ./devops/deploy/docker/build/${{ matrix.platform }}
+
+            # Run tests in a container
+            docker run -d \
+              -h cdw \
+              --name cbdb-build-${{ matrix.platform }}-$arch-test \
+              apache/incubator-cloudberry:cbdb-build-${{ matrix.platform 
}}-$arch-test \
+              bash -c "sleep 30"
+
+            # Execute TestInfra tests
+            docker exec cbdb-build-${{ matrix.platform }}-$arch-test pytest \
+              --cache-clear \
+              --disable-warnings \
+              -p no:warnings \
+              /tests/testinfra/test_cloudberry_db_env.py
+
+            # Cleanup test container
+            docker rm -f cbdb-build-${{ matrix.platform }}-$arch-test
+          done
+
+      # Build and push multi-architecture images
+      # This creates a manifest list that supports both architectures
+      - name: Build and Push Multi-arch Docker images
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/build-push-action@v6
+        with:
+          context: ./devops/deploy/docker/build/${{ matrix.platform }}
+          push: true
+          platforms: linux/amd64,linux/arm64
+          # Tag with both latest and version-specific tags
+          tags: |
+            apache/incubator-cloudberry:cbdb-build-${{ matrix.platform 
}}-latest
+            apache/incubator-cloudberry:cbdb-build-${{ matrix.platform }}-${{ 
steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}
+          # Add standard Open Container Initiative (OCI) labels
+          labels: |
+            org.opencontainers.image.source=${{ github.server_url }}/${{ 
github.repository }}
+            org.opencontainers.image.revision=${{ github.sha }}
+            org.opencontainers.image.created=${{ 
steps.version.outputs.BUILD_DATE }}
+            org.opencontainers.image.version=${{ 
steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}
+
+      # Generate a detailed build summary in GitHub Actions UI
+      # This provides quick access to build information and image usage 
instructions
+      - name: Build Summary
+        if: always()
+        run: |
+          echo "### Build Summary for ${{ matrix.platform }} 🚀" >> 
$GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "#### 🔍 Build Information" >> $GITHUB_STEP_SUMMARY
+          echo "- **Build Status**: ${{ job.status }}" >> $GITHUB_STEP_SUMMARY
+          echo "- **Platform**: ${{ matrix.platform }}" >> $GITHUB_STEP_SUMMARY
+          echo "- **Architectures**: amd64, arm64" >> $GITHUB_STEP_SUMMARY
+          echo "- **Commit SHA**: [\`${{ github.sha }}\`](${{ 
github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})" >> 
$GITHUB_STEP_SUMMARY
+          echo "- **Build Date**: ${{ steps.version.outputs.BUILD_DATE }}" >> 
$GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "#### 🐳 Docker Images" >> $GITHUB_STEP_SUMMARY
+          echo "- Latest tag: \`apache/incubator-cloudberry:cbdb-build-${{ 
matrix.platform }}-latest\`" >> $GITHUB_STEP_SUMMARY
+          echo "- Version tag: \`apache/incubator-cloudberry:cbdb-build-${{ 
matrix.platform }}-${{ steps.version.outputs.BUILD_DATE }}-${{ 
steps.version.outputs.SHA_SHORT }}\`" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "#### 📋 Quick Reference" >> $GITHUB_STEP_SUMMARY
+          echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
+          echo "# Pull the image (automatically selects correct architecture)" 
>> $GITHUB_STEP_SUMMARY
+          echo "docker pull apache/incubator-cloudberry:cbdb-build-${{ 
matrix.platform }}-latest" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "# Pull specific architecture if needed" >> $GITHUB_STEP_SUMMARY
+          echo "docker pull --platform linux/amd64 
apache/incubator-cloudberry:cbdb-build-${{ matrix.platform }}-latest" >> 
$GITHUB_STEP_SUMMARY
+          echo "docker pull --platform linux/arm64 
apache/incubator-cloudberry:cbdb-build-${{ matrix.platform }}-latest" >> 
$GITHUB_STEP_SUMMARY
+          echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
diff --git a/.github/workflows/docker-cbdb-test-containers.yml 
b/.github/workflows/docker-cbdb-test-containers.yml
new file mode 100644
index 00000000000..87fcf245edc
--- /dev/null
+++ b/.github/workflows/docker-cbdb-test-containers.yml
@@ -0,0 +1,182 @@
+# --------------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to You under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of the
+# License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+#
+# --------------------------------------------------------------------
+#
+# Purpose: Builds, tests and pushes multi-architecture Docker images for
+# Apache Cloudberry DB test environments. Images are built for both AMD64
+# and ARM64 architectures on Rocky Linux 8 and 9.
+#
+# Images are tagged with:
+# - cbdb-test-rocky8-latest
+# - cbdb-test-rocky8-{YYYYMMDD}-{git-short-sha}
+# - cbdb-test-rocky9-latest
+# - cbdb-test-rocky9-{YYYYMMDD}-{git-short-sha}
+#
+# Features:
+# - Multi-architecture support (AMD64 and ARM64)
+# - Matrix build for multiple platforms
+# - QEMU emulation for cross-platform builds
+# - Buildx for efficient multi-arch builds
+# - Path filtering to only build changed platforms
+# - Comprehensive build summary and metadata
+#
+# --------------------------------------------------------------------
+
+name: docker-cbdb-test-containers
+
+# Trigger on pushes to docker-images branch when relevant paths change
+# Also allows manual triggering via GitHub UI
+on:
+  push:
+    branches:
+      - main
+    paths:
+      - 'devops/deploy/docker/test/rocky8/**'
+      - 'devops/deploy/docker/test/rocky9/**'
+  workflow_dispatch:  # Manual trigger
+
+# Prevent multiple workflow runs from interfering with each other
+concurrency:
+  group: docker-test-${{ github.ref }}
+  cancel-in-progress: true
+
+jobs:
+  build-and-push:
+    timeout-minutes: 60  # Prevent hanging builds
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        # Build for both Rocky Linux 8 and 9
+        platform: ['rocky8', 'rocky9']
+
+    steps:
+      # Checkout repository code
+      - name: Checkout code
+        uses: actions/checkout@v4
+
+      # Generate version information for image tags
+      - name: Set version
+        id: version
+        run: |
+          echo "BUILD_DATE=$(date -u +'%Y%m%d')" >> $GITHUB_OUTPUT
+          echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
+
+      # Determine if the current platform's files have changed
+      - name: Determine if platform changed
+        id: platform-filter
+        uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
+        with:
+          filters: |
+            rocky8:
+              - 'devops/deploy/docker/test/rocky8/**'
+            rocky9:
+              - 'devops/deploy/docker/test/rocky9/**'
+
+      # Skip if no changes for current platform
+      - name: Skip if not relevant
+        if: ${{ steps.platform-filter.outputs[matrix.platform] != 'true' }}
+        run: echo "Skipping because the changes do not affect this platform"
+
+      # Set up QEMU for multi-architecture support
+      # This allows building ARM64 images on AMD64 infrastructure and vice 
versa
+      - name: Set up QEMU
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/setup-qemu-action@v3
+
+      # Login to DockerHub for pushing images
+      - name: Login to Docker Hub
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/login-action@v3
+        with:
+          username: ${{ secrets.DOCKERHUB_USER }}
+          password: ${{ secrets.DOCKERHUB_TOKEN }}
+
+      # Setup Docker Buildx for efficient multi-architecture builds
+      - name: Set up Docker Buildx
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/setup-buildx-action@v3
+        with:
+          buildkitd-flags: --debug
+
+      # Build and test images for each architecture
+      # This ensures both AMD64 and ARM64 variants work correctly
+      - name: Build and test images
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        run: |
+          # Build for each platform
+          for arch in amd64 arm64; do
+            echo "Building for $arch architecture..."
+            docker buildx build \
+              --platform linux/$arch \
+              --load \
+              -t apache/incubator-cloudberry:cbdb-test-${{ matrix.platform 
}}-$arch-test \
+              ./devops/deploy/docker/test/${{ matrix.platform }}
+          done
+
+      # Build and push multi-architecture images
+      # Creates a manifest list that supports both architectures
+      - name: Build and Push Multi-arch Docker images
+        if: ${{ steps.platform-filter.outputs[matrix.platform] == 'true' }}
+        uses: docker/build-push-action@v6
+        with:
+          context: ./devops/deploy/docker/test/${{ matrix.platform }}
+          push: true
+          platforms: linux/amd64,linux/arm64
+          # Use caching for faster builds
+          cache-from: |
+            type=registry,ref=apache/incubator-cloudberry:cbdb-test-${{ 
matrix.platform }}-latest
+            type=gha,scope=docker-cbdb-test-${{ matrix.platform }}
+          # Tag with both latest and version-specific tags
+          tags: |
+            apache/incubator-cloudberry:cbdb-test-${{ matrix.platform }}-latest
+            apache/incubator-cloudberry:cbdb-test-${{ matrix.platform }}-${{ 
steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}
+          # Add metadata labels for better image tracking
+          labels: |
+            org.opencontainers.image.source=${{ github.server_url }}/${{ 
github.repository }}
+            org.opencontainers.image.revision=${{ github.sha }}
+            org.opencontainers.image.created=${{ 
steps.version.outputs.BUILD_DATE }}
+            org.opencontainers.image.version=${{ 
steps.version.outputs.BUILD_DATE }}-${{ steps.version.outputs.SHA_SHORT }}
+
+      # Generate a detailed build summary in GitHub Actions UI
+      # This provides quick access to build information and image usage 
instructions
+      - name: Build Summary
+        if: always()
+        run: |
+          echo "### Build Summary for ${{ matrix.platform }} 🚀" >> 
$GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "#### 🔍 Build Information" >> $GITHUB_STEP_SUMMARY
+          echo "- **Build Status**: ${{ job.status }}" >> $GITHUB_STEP_SUMMARY
+          echo "- **Platform**: ${{ matrix.platform }}" >> $GITHUB_STEP_SUMMARY
+          echo "- **Architectures**: AMD64, ARM64" >> $GITHUB_STEP_SUMMARY
+          echo "- **Commit SHA**: [\`${{ github.sha }}\`](${{ 
github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})" >> 
$GITHUB_STEP_SUMMARY
+          echo "- **Build Date**: ${{ steps.version.outputs.BUILD_DATE }}" >> 
$GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "#### 🐳 Docker Images" >> $GITHUB_STEP_SUMMARY
+          echo "- Latest tag: \`apache/incubator-cloudberry:cbdb-test-${{ 
matrix.platform }}-latest\`" >> $GITHUB_STEP_SUMMARY
+          echo "- Version tag: \`apache/incubator-cloudberry:cbdb-test-${{ 
matrix.platform }}-${{ steps.version.outputs.BUILD_DATE }}-${{ 
steps.version.outputs.SHA_SHORT }}\`" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "#### 📋 Quick Reference" >> $GITHUB_STEP_SUMMARY
+          echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
+          echo "# Pull the image (automatically selects correct architecture)" 
>> $GITHUB_STEP_SUMMARY
+          echo "docker pull apache/incubator-cloudberry:cbdb-test-${{ 
matrix.platform }}-latest" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+          echo "# Pull specific architecture if needed" >> $GITHUB_STEP_SUMMARY
+          echo "docker pull --platform linux/amd64 
apache/incubator-cloudberry:cbdb-test-${{ matrix.platform }}-latest" >> 
$GITHUB_STEP_SUMMARY
+          echo "docker pull --platform linux/arm64 
apache/incubator-cloudberry:cbdb-test-${{ matrix.platform }}-latest" >> 
$GITHUB_STEP_SUMMARY
+          echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
diff --git a/cloudberry-devops-release/CONTRIBUTING.md 
b/cloudberry-devops-release/CONTRIBUTING.md
deleted file mode 100644
index b00691f9b74..00000000000
--- a/cloudberry-devops-release/CONTRIBUTING.md
+++ /dev/null
@@ -1,66 +0,0 @@
-Apache Cloudberry welcomes contributions from anyone, new and
-experienced! We appreciate your interest in contributing. This guide
-will help you get started with the contribution.
-
-## Code of Conduct
-
-Everyone who participates in Cloudberry, either as a user or a
-contributor, is obliged to follow the ASF Code of Conduct.
-
-## GitHub Contribution Workflow
-
-1. Fork this repo to your own GitHub account.
-2. Clone down the repo to your local system.
-
-```
-git clone https://github.com/your-user-name/cloudberry-devops-release.git
-```
-
-3. Add the upstream repo. (You only have to do this once, not every time.)
-
-```
-git remote add upstream https://github.com/apache/cloudberry-devops-release.git
-```
-
-4. Create a new branch to hold your work.
-
-```
-git checkout -b new-branch-name
-```
-
-5. Work on your new code.
-
-6. Commit your changes.
-
-```
-git add <the change files>
-git commit
-```
-
-7. Push your changes to your GitHub repo.
-
-```
-git push origin new-branch-name
-```
-
-8. Open a PR(Pull Request).
-
-Go to the repo on GitHub. There will be a message about your recently pushed
-branch, asking if you would like to open a pull request. Follow the prompts,
-compare across repositories, and submit the PR.
-
-9. Get your code reviewed.
-
-10. Congratulations! Once your PR is approved, then the code will be
-merged. Your code will be shipped in the recent future releases.
-
-## Sync your branch with the upstream
-
-Before working on your next contribution, make sure your local repository is
-up to date:
-
-```
-git checkout main
-git fetch upstream
-git rebase upstream/main
-```
diff --git a/cloudberry-devops-release/LICENSE 
b/cloudberry-devops-release/LICENSE
deleted file mode 100644
index d6456956733..00000000000
--- a/cloudberry-devops-release/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
diff --git a/cloudberry-devops-release/README.md 
b/cloudberry-devops-release/README.md
deleted file mode 100644
index 9602438c9dd..00000000000
--- a/cloudberry-devops-release/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# DevOps and Release for Apache Cloudberry (Incubating)
diff --git a/devops/README.md b/devops/README.md
new file mode 100644
index 00000000000..14c3468542c
--- /dev/null
+++ b/devops/README.md
@@ -0,0 +1,88 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+# Auto-Build Cloudberry Database from Source Code
+
+You can build Cloudberry Database from source code in two ways: manually or 
automatically.
+
+For the manual build, you need to manually set up many system configurations 
and download third-party dependencies, which is quite cumbersome and 
error-prone.
+
+To make the job easier, it is recommended that you use the automated 
deployment method and scripts provided here. The automation method simplifies 
the deployment process, reduces time costs, and allows developers to focus more 
on business code development.
+
+## 1. Setup docker environment
+
+Nothing special, just follow the [official 
documentation](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
+
+## 2. Create docker build image
+
+Go to the supported OS directory, for example Rocky Linux 9
+
+`cd devops/deploy/docker/build/rocky8/`
+
+And build image
+
+`docker build -t cloudberry-db-env . `
+
+The whole process usually takes about 5 minutes. You can use the created base 
image as many times as you want, just launch a new container for your specific 
task.
+
+## 3. Launch container
+
+Just run
+
+`docker run -h cdw -it cloudberry-db-env`
+
+## 4. Checkout git repo inside container
+
+The same way you did it on your laptop
+
+`docker exec <container ID> bash -c "cd /home/gpadmin && git clone 
--recurse-submodules https://github.com/apache/cloudberry.git"`
+
+## 5. Set envoronment and configure build container
+
+Create direcory for store logs
+
+`SRC_DIR=/home/gpadmin/cloudberry && docker exec <container ID>  bash -c 
"mkdir ${SRC_DIR}/build-logs"`
+
+Execute configure and check if system is ready for build
+
+`SRC_DIR=/home/gpadmin/cloudberry && docker exec <container ID> bash -c "cd 
${SRC_DIR} && SRC_DIR=${SRC_DIR} 
./devops/build/automation/cloudberry/scripts/configure-cloudberry.sh"`
+
+## 6. Build binary
+
+The building consumes all available CPU resources and can take minutes to 
complete
+
+`SRC_DIR=/home/gpadmin/cloudberry && docker exec <container ID> bash -c "cd 
${SRC_DIR} && SRC_DIR=${SRC_DIR} 
./devops/build/automation/cloudberry/scripts/build-cloudberry.sh"`
+
+## 7. Install binary and create demo cluster
+
+By default `make install` copy compiled binary to  `/usr/local/cloudberry-db`
+
+`SRC_DIR=/home/gpadmin/cloudberry && docker exec <container ID> bash -c "cd 
${SRC_DIR} && SRC_DIR=${SRC_DIR} make install"`
+
+To create demo cluster just launch `create-cloudberry-demo-cluster.sh`
+
+`SRC_DIR=/home/gpadmin/cloudberry && docker exec <container ID> bash -c "cd 
${SRC_DIR} && SRC_DIR=${SRC_DIR} 
./devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"`
+
+## 8. Execute test query
+
+Now you could set environment and execute queries
+
+`docker exec 7197206b0645 bash -c "source 
/usr/local/cloudberry-db/cloudberry-env.sh && source 
/home/gpadmin/cloudberry/gpAux/gpdemo/gpdemo-env.sh && psql -U gpadmin -d 
postgres -c 'SELECT 42'"`
+
+All done!
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/analyze_core_dumps.sh
 b/devops/build/automation/cloudberry/scripts/analyze_core_dumps.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/analyze_core_dumps.sh
rename to devops/build/automation/cloudberry/scripts/analyze_core_dumps.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/build-cloudberry.sh
 b/devops/build/automation/cloudberry/scripts/build-cloudberry.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/build-cloudberry.sh
rename to devops/build/automation/cloudberry/scripts/build-cloudberry.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/cloudberry-utils.sh
 b/devops/build/automation/cloudberry/scripts/cloudberry-utils.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/cloudberry-utils.sh
rename to devops/build/automation/cloudberry/scripts/cloudberry-utils.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/configure-cloudberry.sh
 b/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/configure-cloudberry.sh
rename to devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
 b/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
rename to 
devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/destroy-cloudberry-demo-cluster.sh
 b/devops/build/automation/cloudberry/scripts/destroy-cloudberry-demo-cluster.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/destroy-cloudberry-demo-cluster.sh
rename to 
devops/build/automation/cloudberry/scripts/destroy-cloudberry-demo-cluster.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/parse-results.pl
 b/devops/build/automation/cloudberry/scripts/parse-results.pl
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/parse-results.pl
rename to devops/build/automation/cloudberry/scripts/parse-results.pl
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/parse-test-results.sh
 b/devops/build/automation/cloudberry/scripts/parse-test-results.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/parse-test-results.sh
rename to devops/build/automation/cloudberry/scripts/parse-test-results.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/test-cloudberry.sh
 b/devops/build/automation/cloudberry/scripts/test-cloudberry.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/test-cloudberry.sh
rename to devops/build/automation/cloudberry/scripts/test-cloudberry.sh
diff --git 
a/cloudberry-devops-release/build_automation/cloudberry/scripts/unittest-cloudberry.sh
 b/devops/build/automation/cloudberry/scripts/unittest-cloudberry.sh
similarity index 100%
rename from 
cloudberry-devops-release/build_automation/cloudberry/scripts/unittest-cloudberry.sh
rename to devops/build/automation/cloudberry/scripts/unittest-cloudberry.sh
diff --git 
a/cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-db-incubating.spec
 b/devops/build/packaging/rpm/apache-cloudberry-db-incubating.spec
similarity index 84%
rename from 
cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-db-incubating.spec
rename to devops/build/packaging/rpm/apache-cloudberry-db-incubating.spec
index 41152a1e277..f7ca334a69e 100644
--- 
a/cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-db-incubating.spec
+++ b/devops/build/packaging/rpm/apache-cloudberry-db-incubating.spec
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 %define cloudberry_install_dir /usr/local/cloudberry-db
 
 # Add at the top of the spec file
diff --git 
a/cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-hll-incubating.spec
 b/devops/build/packaging/rpm/apache-cloudberry-hll-incubating.spec
similarity index 70%
rename from 
cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-hll-incubating.spec
rename to devops/build/packaging/rpm/apache-cloudberry-hll-incubating.spec
index 0566d0aa507..d13c0a7b77a 100644
--- 
a/cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-hll-incubating.spec
+++ b/devops/build/packaging/rpm/apache-cloudberry-hll-incubating.spec
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 %global cloudberry_version %{?_cloudberry_version}%{!?_cloudberry_version:1.6}
 %global cloudberry_install_dir /usr/local/cloudberry-db
 
diff --git 
a/cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-pgvector-incubating.spec
 b/devops/build/packaging/rpm/apache-cloudberry-pgvector-incubating.spec
similarity index 74%
rename from 
cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-pgvector-incubating.spec
rename to devops/build/packaging/rpm/apache-cloudberry-pgvector-incubating.spec
index 88be062cfad..6b0cbd517e1 100644
--- 
a/cloudberry-devops-release/packaging/rpm/el/SPECS/apache-cloudberry-pgvector-incubating.spec
+++ b/devops/build/packaging/rpm/apache-cloudberry-pgvector-incubating.spec
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 %global cloudberry_version %{?_cloudberry_version}%{!?_cloudberry_version:1.6}
 %global cloudberry_install_dir /usr/local/cloudberry-db
 %global pgvector_version %{?_pgvector_version}%{!?_pgvector_version:0.5.1}
diff --git a/cloudberry-devops-release/scripts/build-rpm.sh 
b/devops/build/packaging/rpm/build-rpm.sh
similarity index 83%
rename from cloudberry-devops-release/scripts/build-rpm.sh
rename to devops/build/packaging/rpm/build-rpm.sh
index 3f070da3208..ceb7d18d392 100755
--- a/cloudberry-devops-release/scripts/build-rpm.sh
+++ b/devops/build/packaging/rpm/build-rpm.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 # Script Name: build-rpm.sh
 #
diff --git 
a/cloudberry-devops-release/packaging/rpm/repo-el/SPECS/cloudberry-dev-repo.spec
 b/devops/build/packaging/rpm/cloudberry-dev-repo.spec
similarity index 61%
rename from 
cloudberry-devops-release/packaging/rpm/repo-el/SPECS/cloudberry-dev-repo.spec
rename to devops/build/packaging/rpm/cloudberry-dev-repo.spec
index 63a096530e1..d2a06defda7 100644
--- 
a/cloudberry-devops-release/packaging/rpm/repo-el/SPECS/cloudberry-dev-repo.spec
+++ b/devops/build/packaging/rpm/cloudberry-dev-repo.spec
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 Name:           cloudberry-dev-repo
 Version:        1.0
 Release:        1%{?dist}
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky8/Dockerfile 
b/devops/deploy/docker/build/rocky8/Dockerfile
similarity index 100%
rename from cloudberry-devops-release/images/docker/cbdb/build/rocky8/Dockerfile
rename to devops/deploy/docker/build/rocky8/Dockerfile
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky8/configs/90-cbdb-limits
 b/devops/deploy/docker/build/rocky8/configs/90-cbdb-limits
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky8/configs/90-cbdb-limits
rename to devops/deploy/docker/build/rocky8/configs/90-cbdb-limits
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky8/configs/gpinitsystem.conf
 b/devops/deploy/docker/build/rocky8/configs/gpinitsystem.conf
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky8/configs/gpinitsystem.conf
rename to devops/deploy/docker/build/rocky8/configs/gpinitsystem.conf
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky8/configs/init_system.sh
 b/devops/deploy/docker/build/rocky8/configs/init_system.sh
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky8/configs/init_system.sh
rename to devops/deploy/docker/build/rocky8/configs/init_system.sh
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky8/tests/requirements.txt
 b/devops/deploy/docker/build/rocky8/tests/requirements.txt
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky8/tests/requirements.txt
rename to devops/deploy/docker/build/rocky8/tests/requirements.txt
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky8/tests/testinfra/test_cloudberry_db_env.py
 b/devops/deploy/docker/build/rocky8/tests/testinfra/test_cloudberry_db_env.py
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky8/tests/testinfra/test_cloudberry_db_env.py
rename to 
devops/deploy/docker/build/rocky8/tests/testinfra/test_cloudberry_db_env.py
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky9/Dockerfile 
b/devops/deploy/docker/build/rocky9/Dockerfile
similarity index 100%
rename from cloudberry-devops-release/images/docker/cbdb/build/rocky9/Dockerfile
rename to devops/deploy/docker/build/rocky9/Dockerfile
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky9/configs/90-cbdb-limits
 b/devops/deploy/docker/build/rocky9/configs/90-cbdb-limits
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky9/configs/90-cbdb-limits
rename to devops/deploy/docker/build/rocky9/configs/90-cbdb-limits
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky9/configs/gpinitsystem.conf
 b/devops/deploy/docker/build/rocky9/configs/gpinitsystem.conf
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky9/configs/gpinitsystem.conf
rename to devops/deploy/docker/build/rocky9/configs/gpinitsystem.conf
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky9/configs/init_system.sh
 b/devops/deploy/docker/build/rocky9/configs/init_system.sh
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky9/configs/init_system.sh
rename to devops/deploy/docker/build/rocky9/configs/init_system.sh
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky9/tests/requirements.txt
 b/devops/deploy/docker/build/rocky9/tests/requirements.txt
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky9/tests/requirements.txt
rename to devops/deploy/docker/build/rocky9/tests/requirements.txt
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/build/rocky9/tests/testinfra/test_cloudberry_db_env.py
 b/devops/deploy/docker/build/rocky9/tests/testinfra/test_cloudberry_db_env.py
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/build/rocky9/tests/testinfra/test_cloudberry_db_env.py
rename to 
devops/deploy/docker/build/rocky9/tests/testinfra/test_cloudberry_db_env.py
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky8/Dockerfile 
b/devops/deploy/docker/test/rocky8/Dockerfile
similarity index 100%
rename from cloudberry-devops-release/images/docker/cbdb/test/rocky8/Dockerfile
rename to devops/deploy/docker/test/rocky8/Dockerfile
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky8/configs/90-cbdb-limits
 b/devops/deploy/docker/test/rocky8/configs/90-cbdb-limits
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/test/rocky8/configs/90-cbdb-limits
rename to devops/deploy/docker/test/rocky8/configs/90-cbdb-limits
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky8/configs/gpinitsystem.conf
 b/devops/deploy/docker/test/rocky8/configs/gpinitsystem.conf
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/test/rocky8/configs/gpinitsystem.conf
rename to devops/deploy/docker/test/rocky8/configs/gpinitsystem.conf
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky8/configs/init_system.sh
 b/devops/deploy/docker/test/rocky8/configs/init_system.sh
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/test/rocky8/configs/init_system.sh
rename to devops/deploy/docker/test/rocky8/configs/init_system.sh
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky9/Dockerfile 
b/devops/deploy/docker/test/rocky9/Dockerfile
similarity index 100%
rename from cloudberry-devops-release/images/docker/cbdb/test/rocky9/Dockerfile
rename to devops/deploy/docker/test/rocky9/Dockerfile
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky9/configs/90-cbdb-limits
 b/devops/deploy/docker/test/rocky9/configs/90-cbdb-limits
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/test/rocky9/configs/90-cbdb-limits
rename to devops/deploy/docker/test/rocky9/configs/90-cbdb-limits
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky9/configs/gpinitsystem.conf
 b/devops/deploy/docker/test/rocky9/configs/gpinitsystem.conf
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/test/rocky9/configs/gpinitsystem.conf
rename to devops/deploy/docker/test/rocky9/configs/gpinitsystem.conf
diff --git 
a/cloudberry-devops-release/images/docker/cbdb/test/rocky9/configs/init_system.sh
 b/devops/deploy/docker/test/rocky9/configs/init_system.sh
similarity index 100%
rename from 
cloudberry-devops-release/images/docker/cbdb/test/rocky9/configs/init_system.sh
rename to devops/deploy/docker/test/rocky9/configs/init_system.sh
diff --git a/cloudberry-devops-release/scripts/release/cloudberry-release.sh 
b/devops/release/cloudberry-release.sh
similarity index 100%
rename from cloudberry-devops-release/scripts/release/cloudberry-release.sh
rename to devops/release/cloudberry-release.sh
diff --git 
a/cloudberry-devops-release/scripts/elf_rockylinux_dependency_analyzer.py 
b/devops/tools/elf_rockylinux_dependency_analyzer.py
similarity index 94%
rename from 
cloudberry-devops-release/scripts/elf_rockylinux_dependency_analyzer.py
rename to devops/tools/elf_rockylinux_dependency_analyzer.py
index 09514c6d598..593dd169aa6 100755
--- a/cloudberry-devops-release/scripts/elf_rockylinux_dependency_analyzer.py
+++ b/devops/tools/elf_rockylinux_dependency_analyzer.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python3
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 """
 ELF Dependency Analyzer
diff --git 
a/cloudberry-devops-release/scripts/elf_ubuntu_dependency_analyzer.py 
b/devops/tools/elf_ubuntu_dependency_analyzer.py
similarity index 93%
rename from cloudberry-devops-release/scripts/elf_ubuntu_dependency_analyzer.py
rename to devops/tools/elf_ubuntu_dependency_analyzer.py
index b81e3344423..a1741f7f888 100755
--- a/cloudberry-devops-release/scripts/elf_ubuntu_dependency_analyzer.py
+++ b/devops/tools/elf_ubuntu_dependency_analyzer.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python3
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 """
 ELF Dependency Analyzer for Ubuntu
diff --git a/cloudberry-devops-release/scripts/s3-repo-sync-and-sign.sh 
b/devops/tools/s3-repo-sync-and-sign.sh
similarity index 92%
rename from cloudberry-devops-release/scripts/s3-repo-sync-and-sign.sh
rename to devops/tools/s3-repo-sync-and-sign.sh
index c04e71881fc..1cd037749c6 100755
--- a/cloudberry-devops-release/scripts/s3-repo-sync-and-sign.sh
+++ b/devops/tools/s3-repo-sync-and-sign.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 set -euo pipefail
 
diff --git a/pom.xml b/pom.xml
index 97ebb23bb70..745565143d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1241,6 +1241,11 @@ code or new licensing patterns.
             <exclude>aclocal.m4</exclude>
             <exclude>python-dependencies.txt</exclude>
 
+           <!-- Exclude python requirements files, since they are just a list 
of packages and do not support any comments
+            -->
+
+            
<exclude>devops/deploy/docker/build/rocky8/tests/requirements.txt</exclude>
+            
<exclude>devops/deploy/docker/build/rocky9/tests/requirements.txt</exclude>
             
             <!-- Finally we exclude a few file types (based on
                  extension) for which comments are tough to


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: commits-h...@cloudberry.apache.org

Reply via email to