Skip to content

Commit

Permalink
more mongo install
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Aug 15, 2023
1 parent d99baa9 commit 0dc48df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/wipac-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,14 @@ jobs:
- name: mongodump
if: always()
run: |
apt-get install mongodb-database-tools
sudo apt update
sudo apt install wget curl gnupg2 software-properties-common apt-transport-https ca-certificates lsb-release
curl -fsSL https://www.mongodb.org/static/pgp/server-6.0.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/mongodb-6.gpg
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt update
sudo apt install mongodb-database-tools
mongodump
- name: dump rest logs
Expand Down

0 comments on commit 0dc48df

Please sign in to comment.