Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
update mongodb instlalation
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilchiriac committed Jul 5, 2024
1 parent a116337 commit b835de1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/ci/fetch.github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ set -e
# install dependencies
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv B00A0BD1E2C63C11
#wget -qO - https://pgp.mongodb.com/server-6.0.asc | sudo apt-key add -
sudo apt-get -y install gnupg curl apt-transport-https ca-certificates curl git
sudo apt-get update
# install mongodb
curl -fsSL https://www.mongodb.org/static/pgp/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt update
sudo apt install -y apt-transport-https ca-certificates curl git mongodb-database-tools
sudo apt-get update
sudo apt-get install -y mongodb-database-tools

if [[ -z "$BRANCH_NAME" ]]; then
echo "Must provide BRANCH_NAME in environment"
Expand Down

0 comments on commit b835de1

Please sign in to comment.