Skip to content

Add multi-distro DEB/RPM packaging and CI workflows - #10

Merged
secwall merged 3 commits into
valkey-io:masterfrom
EvgeniyPatlan:master
Mar 30, 2026
Merged

Add multi-distro DEB/RPM packaging and CI workflows#10
secwall merged 3 commits into
valkey-io:masterfrom
EvgeniyPatlan:master

Conversation

@EvgeniyPatlan

Copy link
Copy Markdown
Contributor

Add container-based packaging for:

  • RPM: Fedora 41-44, Rocky/Alma 8-9, Oracle 8-10, Amazon Linux 2023
  • DEB: Debian 11-13, Ubuntu 22.04-24.04
  • Both x86_64 and aarch64 architectures

New files:

  • packaging/valkey-luajit.spec.in — RPM spec (cmake + make build)
  • packaging/debian/ — full Debian packaging (debhelper-compat 13)
  • scripts/build-container-rpm.sh — container RPM build entrypoint
  • scripts/build-container-deb.sh — container DEB build entrypoint
  • scripts/test-module-package.sh — post-install test (6 checks)
  • .github/workflows/packages.yml — main CI (7 jobs, 72 build+test)
  • .github/workflows/nightly_packaging.yml — nightly trigger
  • .github/workflows/release_packaging.yml — release tag trigger
  • .github/package-platforms.json — platform matrix definition
  • VERSION — version file (0.1.0-dev)
  • LICENSE — BSD-3-Clause

Source tarball includes LuaJIT submodule via rsync (no .git dirs). All GitHub Actions pinned to commit SHAs.

Comment thread src/lua_cjson.c
Comment thread packaging/debian/control Outdated
Add container-based packaging for:
- RPM: Fedora 41-44, Rocky/Alma 8-9, Oracle 8-10, Amazon Linux 2023
- DEB: Debian 11-13, Ubuntu 22.04-24.04
- Both x86_64 and aarch64 architectures

New files:
- packaging/valkey-luajit.spec.in — RPM spec (cmake + make build)
- packaging/debian/ — full Debian packaging (debhelper-compat 13)
- scripts/build-container-rpm.sh — container RPM build entrypoint
- scripts/build-container-deb.sh — container DEB build entrypoint
- scripts/test-module-package.sh — post-install test (6 checks)
- .github/workflows/packages.yml — main CI (7 jobs, 72 build+test)
- .github/workflows/nightly_packaging.yml — nightly trigger
- .github/workflows/release_packaging.yml — release tag trigger
- .github/package-platforms.json — platform matrix definition
- VERSION — version file (0.1.0-dev)
- LICENSE — BSD-3-Clause

Source tarball includes LuaJIT submodule via rsync (no .git dirs).
All GitHub Actions pinned to commit SHAs.

Signed-off-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
- Fix C23 [[fallthrough]] attribute in lua_cjson.c for GCC 11 (EL9)
  by replacing with portable /* fallthrough */ comment
- Fix module entry point test to try nm -D, readelf, and objdump
  with debug output on failure
- Update Recommends to valkey >= 9.1 (scripting engine API required)
- Add scripts/build-local.sh for local Docker-based package builds

Signed-off-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
@secwall
secwall merged commit 8fd6c03 into valkey-io:master Mar 30, 2026
78 of 79 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.

2 participants