Skip to content

Add convenience package build workflow for cloudberry-backup#108

Merged
tuhaihe merged 3 commits into
apache:mainfrom
tuhaihe:binary-package-workflow-2607
Jul 24, 2026
Merged

Add convenience package build workflow for cloudberry-backup#108
tuhaihe merged 3 commits into
apache:mainfrom
tuhaihe:binary-package-workflow-2607

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Jul 16, 2026

Copy link
Copy Markdown
Member

Introduce a manually-triggered GitHub Actions workflow that builds portable tar.gz packages for Apache cloudberry-backup from its official source release tarball, and tests them against Apache Cloudberry built from its own official source release.

Key design decisions:

  • cloudberry-backup binaries are built on Rocky 8 (glibc 2.28) to maximise compatibility across Linux distributions.
  • Cloudberry is built per-platform from its source release tarball (~8 min), avoiding dependence on pre-built Docker images or external DEB/RPM repositories.
  • Build-and-test are fused into one job per platform: after Cloudberry compiles, gpdemo spins up directly in the same container, eliminating artifact packaging, transfer, and a separate test job.
  • Only .sha512 checksums are generated; .asc signatures remain a release manager local step.

closes: #ISSUE_Number


Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist

Here are some reminders before you submit your pull request:

@tuhaihe
tuhaihe marked this pull request as draft July 16, 2026 09:56
@tuhaihe
tuhaihe marked this pull request as ready for review July 17, 2026 03:32
@tuhaihe

tuhaihe commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

You can see this action: https://github.com/tuhaihe/gpbackup/actions/runs/29551662660

Note:

  • This is a case using the official release tarball of cloudberry-backup and cloudberry 2.1.0.
  • Rocky 10 and Ubuntu 24.04 were not supported by Cloudberry 2.1, so these two cases failed.
  • You can download the packages-linux-amd64 and packages-linux-arm64 after running this workflow to verify them.

cc: @leborchuk @woblerr PTAL.

@tuhaihe
tuhaihe force-pushed the binary-package-workflow-2607 branch 2 times, most recently from d7a4f47 to db3fffc Compare July 17, 2026 03:45
@tuhaihe
tuhaihe requested review from leborchuk and woblerr July 17, 2026 04:04
Comment thread .github/workflows/package-convenience-binaries.yml
Comment thread .github/workflows/package-convenience-binaries.yml
Comment thread .github/workflows/package-convenience-binaries.yml Outdated
@tuhaihe
tuhaihe force-pushed the binary-package-workflow-2607 branch from db3fffc to f22eaf9 Compare July 23, 2026 09:55
tuhaihe added 2 commits July 23, 2026 17:57
Introduce a manually-triggered GitHub Actions workflow that builds
portable tar.gz packages for Apache cloudberry-backup from its
official source release tarball, and tests them against Apache
Cloudberry built from its own official source release.

Key design decisions:
- cloudberry-backup binaries are built on Rocky 8 (glibc 2.28)
  to maximise compatibility across Linux distributions.
- Cloudberry is built per-platform from its source release
  tarball (~8 min), avoiding dependence on pre-built Docker
  images or external DEB/RPM repositories.
- Build-and-test are fused into one job per platform: after
  Cloudberry compiles, gpdemo spins up directly in the same
  container, eliminating artifact packaging, transfer, and a
  separate test job.
- Only .sha512 checksums are generated; .asc signatures remain
  a release manager local step.
@tuhaihe
tuhaihe force-pushed the binary-package-workflow-2607 branch from dc5095c to ee94244 Compare July 23, 2026 09:57

@leborchuk leborchuk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, see run under the already created tag (2.1) https://github.com/tuhaihe/gpbackup/actions/runs/29551662660

We do not support at that time Rocky Linux 10 and Ubuntu 24.04 (small fixes but needed to support), so run failed - and it's good, it shows that build works, do not silently drop errors

@tuhaihe
tuhaihe merged commit 23a4748 into apache:main Jul 24, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants