woblerr commented on code in PR #95:
URL: https://github.com/apache/cloudberry-backup/pull/95#discussion_r3244060613


##########
.github/workflows/cloudberry-backup-ci.yml:
##########
@@ -477,6 +477,53 @@ jobs:
                 chmod +x 
"${CLOUDBERRY_BACKUP_SRC}/.github/workflows/scale-tests-cloudberry-ci.bash"
                 
"${CLOUDBERRY_BACKUP_SRC}/.github/workflows/scale-tests-cloudberry-ci.bash" 
2>&1 | tee "${TEST_LOG_ROOT}/cloudberry-backup-scale.log"
                 ;;
+              package_install)
+                set -e
+                echo "Running package and install tests..."
+                
+                # Clean up previously installed binaries
+                echo "=== Cleaning up existing installations ==="
+                for binary in gpbackup gprestore gpbackup_helper 
gpbackup_s3_plugin gpbackman gpbackup_exporter; do
+                  rm -f "${GPHOME}/bin/${binary}"
+                done
+                echo "Cleanup complete"
+                
+                # Create package
+                echo "=== Creating package ==="
+                make package 2>&1 | tee 
"${TEST_LOG_ROOT}/cloudberry-backup-package.log"
+                
+                # Find and extract package
+                package_file=$(ls -1 build/*.tar.gz 2>/dev/null | head -n 1)
+                if [ -z "${package_file}" ]; then
+                  echo "ERROR: Package file not found"
+                  exit 1
+                fi
+                echo "Package created: ${package_file}"
+                
+                tar -xzf "${package_file}"
+                extracted_dir=$(ls -1d apache-cloudberry-backup-incubating-*/ 
2>/dev/null | head -n 1)
+                echo "Package extracted"
+                ls -lh "${extracted_dir}"
+                
+                # Install using install.sh
+                echo "=== Installing via install.sh ==="
+                cd "${extracted_dir}"
+                chmod +x install.sh
+                GPHOME="${GPHOME}" ./install.sh 2>&1 | tee 
"${TEST_LOG_ROOT}/cloudberry-backup-install.log"
+                
+                # Test installed binaries
+                echo "=== Testing installed binaries ==="
+                for binary in gpbackup gprestore gpbackup_helper 
gpbackup_s3_plugin gpbackman; do

Review Comment:
   gpbackup_exporter is missing



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to