Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#1359 from matyasselmeci/pr/deb-dep…
Browse files Browse the repository at this point in the history
…endencies

Build deb pelican-server package and make sure it pulls in its required dependencies
  • Loading branch information
matyasselmeci authored May 31, 2024
2 parents 570d8cc + a7a597e commit 7f359b7
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 7f359b7

Please sign in to comment.