Skip to content

Commit

Permalink
fix mongno-snap part
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jul 15, 2024
1 parent 4e62e49 commit 9a88163
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ description: |
as a NoSQL database program, MongoDB uses JSON
-like documents with optional schemas.
license: Apache-2.0 # your application's SPDX license

services:
mongod:
summary: Start Mongod
override: replace
startup: enabled
command: "/bin/bash /bin/start.sh"


platforms: # The platforms this rock should be built on and run on
amd64:

Expand All @@ -27,13 +25,12 @@ parts:
plugin: nil
stage-snaps:
- charmed-mongodb/6/edge
overlay-packages:
- ca-certificates
dep-debs:
plugin: nil
stage-packages:
- libssh-4
- libbrotli1
- ca-certificates
non-root-user:
plugin: nil
after: [mongo-snap]
Expand Down Expand Up @@ -62,7 +59,7 @@ parts:
arr+=('${Source:Version}\n')
dpkg-query -W -f "${arr[*]}" > ${rocks}/dpkg.query
## for snap packages
# for snap packages
cp snap.charmed-mongodb/manifest.yaml ${rocks}
cp snap.charmed-mongodb/snapcraft.yaml ${rocks}
Expand Down

0 comments on commit 9a88163

Please sign in to comment.