Skip to content

Commit

Permalink
Fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima committed Sep 20, 2023
1 parent 93027b2 commit 5c9bef9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ package-repositories:
key-id: 4D1BB29D63D98E422B2113B19334A25F8507EFA5
url: http://repo.percona.com/pbm/apt


slots:
logs:
interface: content
Expand Down Expand Up @@ -156,14 +155,19 @@ parts:
plugin: nil
override-pull: |
apt install -y wget
wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | tee /etc/apt/trusted.gpg.d/server-7.0.asc
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
# mongodb key is not present in ubuntu keyserver, install it manually
wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | \
tee /etc/apt/trusted.gpg.d/server-7.0.asc
MONGOSH_DEB="deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu"
MONGOSH_VER="jammy/mongodb-org/7.0 multiverse"
echo "${MONGOSH_DEB} ${MONGOSH_VER}" | \
tee /etc/apt/sources.list.d/mongodb-org-7.0.list
apt update
craftctl default
mongosh:
plugin: nil
after:
- mongosh-gpg
- mongosh-gpg
build-packages:
- wget
stage-packages:
Expand Down

0 comments on commit 5c9bef9

Please sign in to comment.