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 cb9e801
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 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 @@ -28,12 +26,9 @@ parts:
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 +57,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 cb9e801

Please sign in to comment.