Skip to content

Commit

Permalink
adjust parts order
Browse files Browse the repository at this point in the history
  • Loading branch information
reneradoi committed Jun 17, 2024
1 parent 124e0aa commit d13b102
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,19 @@ services:
user: valkey

parts:
valkey-user:
plugin: nil
overlay-script: |
set -x
useradd -R $CRAFT_OVERLAY -M -U -r valkey
override-prime: |
craftctl default
mkdir $CRAFT_PRIME/var/lib/valkey
chown valkey $CRAFT_PRIME/var/lib/valkey
valkey:
plugin: nil
after:
- valkey-user
stage-snaps:
- charmed-valkey/latest/edge
redis_exporter:
Expand All @@ -43,15 +54,4 @@ parts:
source-type: git
source-branch: "v1.60.0"
build-snaps:
- go/1.21/stable
valkey-user:
plugin: nil
after:
- redis_exporter
overlay-script: |
set -x
useradd -R $CRAFT_OVERLAY -M -U -r valkey
override-prime: |
craftctl default
mkdir $CRAFT_PRIME/var/lib/valkey
chown valkey $CRAFT_PRIME/var/lib/valkey
- go/1.21/stable

0 comments on commit d13b102

Please sign in to comment.