Uh oh!
There was an error while loading. Please reload this page.
Add release package workflow - #190
Conversation
aea6073 to
0b2bef2Comparea7f8cbf to
b0c4359CompareThere was a problem hiding this comment.
Pull request overview
Adds an automated packaging/release pipeline to publish Debian artifacts for tagged releases, along with helper scripts to build and validate the resulting .deb packages and documentation for installing from release assets.
Changes:
- Added a new GitHub Actions workflow to build/validate Debian packages and upload them (plus source archives) to GitHub Releases.
- Added Debian packaging and package-validation scripts to produce
.debartifacts fromcargo pgrx packageoutput and runmake installcheckagainst an installed package. - Updated pgspot allowlist and documented package installation in the README.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/package-release.yml | New workflow to build, validate, archive, and upload release assets for tags/manual dispatch. |
scripts/package-deb.sh | Builds a Debian package from the pgrx packaged usr/ tree and emits it into dist/. |
scripts/validate-deb-package.sh | Installs the produced .deb into a clean Debian container, boots PostgreSQL, and runs make installcheck. |
scripts/run-pgspot.sh | Allows pgspot PS017 finding for the ~> operator emitted by generated SQL. |
README.md | Documents installing pg_durable from Debian packages and release source archives. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Todd J. Green (tjgreen42)
left a comment
There was a problem hiding this comment.
LGTM, just need to update the PR description as per the robot's advice
Uh oh!
There was an error while loading. Please reload this page.
- The build/validate matrix and README only target amd64, so the arm64 branches in the packaging scripts were dead code. Remove them so the scripts reject unsupported architectures explicitly. - Scope contents:write to the release job only; the rest of the workflow runs read-only (least privilege). - Upload the .deb files as release assets directly instead of wrapping them in zips, matching the README's documented asset names. - Publish a SHA256SUMS file so downloaders can verify assets.
Summary
.debpackages and source archives directly as release assets, plus aSHA256SUMSfileValidation
Note: unrelated untracked workspace files were left untouched.