Skip to content

Commit

Permalink
stage only the binary for efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello committed Dec 8, 2023
1 parent 69c7f2f commit 530ba73
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.rock
2 changes: 2 additions & 0 deletions 1.6.0/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ parts:
install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway
organize:
prometheus-pushgateway: bin/pushgateway
stage:
- bin/pushgateway
# We moved this here because: https://github.com/canonical/rockcraft/issues/343
ca-certs:
plugin: nil
Expand Down
2 changes: 2 additions & 0 deletions 1.6.1/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ parts:
install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway
organize:
prometheus-pushgateway: bin/pushgateway
stage:
- bin/pushgateway
# We moved this here because: https://github.com/canonical/rockcraft/issues/343
ca-certs:
plugin: nil
Expand Down
2 changes: 2 additions & 0 deletions 1.6.2/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ parts:
install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway
organize:
prometheus-pushgateway: bin/pushgateway
stage:
- bin/pushgateway
# We moved this here because: https://github.com/canonical/rockcraft/issues/343
ca-certs:
plugin: nil
Expand Down

0 comments on commit 530ba73

Please sign in to comment.