Skip to content

Commit

Permalink
Build deb pelican-server package and make sure it pulls in its requir…
Browse files Browse the repository at this point in the history
…ed dependencies

Note that it is not installable on debian:latest or ubuntu:22.04 because
they do not have the required version of xrootd.  It does install on
ubuntu:24.04 (ubuntu:latest).
  • Loading branch information
matyasselmeci committed May 31, 2024
1 parent fdff290 commit a7a597e
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,19 +221,12 @@ nfpms:
license: ASL 2.0
meta: true
formats:
# XXX Deb has some different conventions; planned for a later release
# - deb
- deb
- rpm
release: 1
section: default
priority: extra
# dependencies are per-package format
provides:
## {{ .Version }} substitutions do not work in this list
- "pelican-origin = 7"
- "pelican-cache = 7"
- "pelican-registry = 7"
- "pelican-director = 7"
contents:
- src: "systemd/pelican-cache.service"
dst: "/usr/lib/systemd/system/pelican-cache.service"
Expand Down Expand Up @@ -267,9 +260,26 @@ nfpms:

overrides:
rpm:
provides:
## {{ .Version }} substitutions do not work in this list
- "pelican-origin = 7"
- "pelican-cache = 7"
- "pelican-registry = 7"
- "pelican-director = 7"
dependencies:
- "pelican >= 7.4.0"
- "xrootd-server >= 1:5.6.3"
- "xrootd-scitokens"
- "xrootd-voms"
deb:
provides:
- "pelican-origin (= 7)"
- "pelican-cache (= 7)"
- "pelican-registry (= 7)"
- "pelican-director (= 7)"
dependencies:
- "pelican (>= 7.4.0)"
- "xrootd-server (>= 5.6.3)"
- "xrootd-scitokens-plugins"
- "xrootd-voms-plugins"
# end package pelican-server

0 comments on commit a7a597e

Please sign in to comment.