Skip to content

Commit

Permalink
chore(cd): update rpm prefix and add resty symlink (#10120)
Browse files Browse the repository at this point in the history
* chore(cd): update rpm prefix and add resty symlink (#13477)

FTI-6054

(cherry picked from commit 915ed9f)

* chore(changelog): update the changelog regarding the RPM prefix (#13578)

FTI-6054

(cherry picked from commit aa160ee)

* fix flaky test

---------

Co-authored-by: Niklaus Schen <[email protected]>
Co-authored-by: Water-Melon <[email protected]>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent 6e9fbb3 commit e129bf2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build/package/nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ contents:
- src: nfpm-prefix/etc/kong/kong.conf.default
dst: /etc/kong/kong.conf.default
type: config
- src: /usr/local/openresty/bin/resty
dst: /usr/bin/resty
type: symlink
- src: /usr/local/openresty/bin/resty
dst: /usr/local/bin/resty
type: symlink
Expand Down Expand Up @@ -102,7 +105,7 @@ overrides:

rpm:
prefixes:
- /usr/local
- /
signature:
# PGP secret key (can also be ASCII-armored), the passphrase is taken
# from the environment variable $NFPM_RPM_PASSPHRASE with a fallback
Expand Down
2 changes: 1 addition & 1 deletion changelog/unreleased/kong/make_rpm_relocatable.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
message: Made the RPM package relocatable.
message: Made the RPM package relocatable with the default prefix set to `/`.
type: dependency

0 comments on commit e129bf2

Please sign in to comment.