tuhaihe commented on code in PR #108:
URL: https://github.com/apache/cloudberry-backup/pull/108#discussion_r3637111554


##########
.github/workflows/package-convenience-binaries.yml:
##########
@@ -0,0 +1,922 @@
+# --------------------------------------------------------------------
+#
+# 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: Apache Cloudberry-backup Convenience Package Build
+# --------------------------------------------------------------------
+# Description:
+#
+#   This workflow manually builds convenience portable tarball packages
+#   from an ASF-approved Apache Cloudberry-backup source release tarball,
+#   and tests them against Apache Cloudberry built from its official
+#   source release tarball.
+#
+# Workflow Overview:
+#
+#   1. verify-cloudberry-backup-source
+#      Validates inputs, downloads cloudberry-backup source tarball
+#      + .asc + .sha512, verifies GPG signature and checksum, uploads
+#      verified source as a workflow artifact.
+#
+#   2. verify-cloudberry-source
+#      Same as above, but for the Cloudberry source release tarball.
+#
+#   3. build-backup-packages (matrix: amd64 / arm64)
+#      Downloads the verified cloudberry-backup source artifact, runs
+#      `make package` on Rocky 8 (glibc 2.28) for maximum run-time
+#      compatibility, generates .sha512 checksums, uploads per-arch
+#      portable tar.gz packages.
+#
+#   4. build-cloudberry (matrix: 5 platforms × amd64 / arm64 = 10)
+#      Extracts Cloudberry source, runs configure + build inside the
+#      official Cloudberry build container (~8 min per platform).
+#      After the build, Cloudberry is already installed at
+#      /usr/local/cloudberry-db.  The job then downloads the matching
+#      cloudberry-backup package, installs it, creates a gpdemo demo
+#      cluster, and runs a functional backup + restore smoke test —
+#      all inside the same container, no separate test job needed.
+#      Platforms: rocky8, rocky9, rocky10, ubuntu22.04, ubuntu24.04.
+#
+# Scope:
+# - Intended for official Apache Cloudberry-backup source releases
+#   managed by the release manager.

Review Comment:
   ```suggestion
   #   managed by the release manager. It's designed for 2.2+ release
   ```



-- 
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