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 bd8c1e1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,23 @@ 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:

parts:
mongo-snap:
plugin: nil
stage-snaps:
- charmed-mongodb/6/edge
overlay-packages:
- ca-certificates
stage-snaps:
- charmed-mongodb/6/edge
dep-debs:
plugin: nil
stage-packages:
Expand Down Expand Up @@ -62,7 +60,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 bd8c1e1

Please sign in to comment.