-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): create debug symbols package
- Loading branch information
Showing
4 changed files
with
170 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: "${KONG_NAME}-debuginfo" | ||
arch: ${ARCH} | ||
platform: "linux" | ||
version: "${KONG_VERSION}" | ||
section: "default" | ||
priority: "extra" | ||
provides: | ||
- kong-debuginfo | ||
maintainer: "Kong Inc. <[email protected]>" | ||
description: | | ||
This package provides debug information for package kong. Kong is a distributed gateway for APIs and Microservices, focused on high performance and reliability. | ||
vendor: "Kong Inc." | ||
license: "Apache-2.0" | ||
contents: | ||
- src: nfpm-prefix/debug/openresty | ||
dst: /usr/local/openresty | ||
replaces: | ||
- ${KONG_REPLACES_1} | ||
- ${KONG_REPLACES_2} | ||
conflicts: | ||
- ${KONG_CONFLICTS_1} | ||
- ${KONG_CONFLICTS_2} | ||
overrides: | ||
deb: | ||
depends: | ||
- kong | ||
rpm: | ||
depends: | ||
- kong | ||
# Workaround for https://github.com/goreleaser/nfpm/issues/589 | ||
- ${RPM_EXTRA_DEPS} | ||
- ${RPM_EXTRA_DEPS_2} | ||
- ${RPM_EXTRA_DEPS_3} | ||
apk: | ||
depends: | ||
- kong | ||
|
||
rpm: | ||
signature: | ||
# PGP secret key (can also be ASCII-armored), the passphrase is taken | ||
# from the environment variable $NFPM_RPM_PASSPHRASE with a fallback | ||
# to $NFPM_PASSPHRASE. | ||
key_file: ${RPM_SIGNING_KEY_FILE} |