Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
curiositycasualty committed Sep 7, 2023
1 parent 30583f2 commit 21037c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ jobs:
run: |
bazel build --config release :kong_${{ matrix.package }} --verbose_failures ${{ matrix.bazel-args }}
for package in bazel-bin/pkg/*.*; do
dpkg-deb -f "${package}" || tar -Oxf "${package}" .PKGINFO || true
done
- name: Package Kong - rpm
if: matrix.package == 'rpm' && steps.cache-deps.outputs.cache-hit != 'true'
env:
Expand All @@ -252,6 +256,10 @@ jobs:
bazel build --config release :kong_${{ matrix.package-type }} --action_env=RPM_SIGNING_KEY_FILE --action_env=NFPM_RPM_PASSPHRASE ${{ matrix.bazel-args }}
for package in bazel-bin/pkg/*.*; do
rpm -qip "${package}" || true
done
- name: Bazel Debug Outputs
if: failure()
run: |
Expand Down
6 changes: 3 additions & 3 deletions build/package/nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ priority: "extra"
provides:
- kong
- luarocks
- curl
- openssl
- ca-certificates
maintainer: "Kong Inc. <[email protected]>"
description: |
Kong is a distributed gateway for APIs and Microservices, focused on high performance and reliability.
Expand Down Expand Up @@ -52,6 +49,9 @@ conflicts:
- ${KONG_CONFLICTS_2}
overrides:
# see build/nfpm/rules.bzl for values of _DEPENDS vars
apk:
depends:
- perl
deb:
depends:
- perl
Expand Down

0 comments on commit 21037c7

Please sign in to comment.