Skip to content

Commit

Permalink
Move services
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz committed Jul 12, 2024
1 parent 760daea commit b645d31
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ platforms:
environment:
APP_VERSION: 0.6.3

# Services to be loaded by the Pebble entrypoint
services:
install-cni:
override: replace
startup: enabled
command: bash /install-cni.sh
on-success: shutdown
on-failure: shutdown

parts:
build-binary:
plugin: nil
Expand All @@ -32,12 +41,3 @@ parts:
bash -x "hack/build-go.sh"
cp bin/* "${CRAFT_PART_INSTALL}/"
cp script/install-cni.sh "${CRAFT_PART_INSTALL}/"
# Services to be loaded by the Pebble entrypoint
services:
install-cni:
override: replace
startup: enabled
command: bash /install-cni.sh
on-success: shutdown
on-failure: shutdown

0 comments on commit b645d31

Please sign in to comment.