This commit is contained in:
Mateusz Gruszczyński committed 2026-10-22 16:10:02 +02:00
1 parent 1f0daa0679
commit f86a62b8b1
19 files changed
+389 -73

No files matched your search

+29 -1
View File
@@ -189,4 +189,32 @@ rpm:
key_file: $GPG_Q
YAML
log "prepared signed Linux DEB/RPM metadata for $AGENT_NAME $VERSION-$PACKAGE_RELEASE"
cat > "$PKG_AGENT/nfpm-suse.yaml" <<YAML
name: $AGENT_NAME_Q
arch: amd64
platform: linux
version: $VERSION_Q
release: "$PACKAGE_RELEASE"
section: net
priority: optional
maintainer: $MAINTAINER_Q
description: "RustProxy Docker discovery agent (HTTPS and bearer token)"
license: "Proprietary"
homepage: $HOMEPAGE_Q
contents:
$(cat "$PKG_AGENT/contents.yaml")
depends:
- ca-certificates
- shadow
- systemd
scripts:
postinstall: "$PKG_AGENT/scripts/rpm-postinstall.sh"
preremove: "$PKG_AGENT/scripts/rpm-preremove.sh"
postremove: "$PKG_AGENT/scripts/rpm-postremove.sh"
rpm:
compression: gzip
signature:
key_file: $GPG_Q
YAML
log "prepared signed Linux DEB/RPM/SUSE metadata for $AGENT_NAME $VERSION-$PACKAGE_RELEASE"