Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
fix: ensure that nhc tarball is properly primed within charm
Browse files Browse the repository at this point in the history
Needed to add the part `charm: {}` to make the charm pack correctly.
jedel1043 and I found that this part declaration must be included in
`charmcraft.yaml`, or it will fail to pack the charm correctly.
nhc will be there, but the charm won't :'(

Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Jul 15, 2024
1 parent 70a61a9 commit 519d9b5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ bases:
architectures: [amd64]

parts:
charm:
charm: {}
nhc:
plugin: nil
build-packages:
- wget
override-pull: |
wget https://github.com/mej/nhc/releases/download/1.4.3/lbnl-nhc-1.4.3.tar.gz
override-build: |
wget https://github.com/mej/nhc/releases/download/1.4.3/lbnl-nhc-1.4.3.tar.gz
craftctl default
install -m644 -D -t $CRAFT_PART_INSTALL lbnl-nhc-1.4.3.tar.gz
craftctl default
provides:
slurmctld:
Expand Down

0 comments on commit 519d9b5

Please sign in to comment.