Skip to content

Commit

Permalink
database-integration-test10
Browse files Browse the repository at this point in the history
Signed-off-by: daizhenyu <[email protected]>
  • Loading branch information
daizhenyu committed Mar 14, 2024
1 parent 51c36f8 commit 4bd3603
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ runs:
- name: start mongodb
shell: bash
run: |
sudo apt-get install gnupg curl
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y mongodb-org
sudo systemctl start mongodb-org
sudo systemctl status mongodb-org
sudo systemctl start mongod
sudo systemctl status mongod
# - name: Set up root password
# shell: bash
# run: |
Expand Down

0 comments on commit 4bd3603

Please sign in to comment.