Skip to content

Commit 4f6f5f4

Browse files
committed
Try again with mongocryptd
1 parent db4aadb commit 4f6f5f4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test-python-atlas.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,27 @@ jobs:
5656
- name: Start local Atlas
5757
working-directory: .
5858
run: bash .github/workflows/start_local_atlas.sh mongodb/mongodb-atlas-local:8.0.15
59+
60+
- name: Install mongosh
61+
run: |
62+
wget -q https://downloads.mongodb.com/compass/mongosh-2.2.10-linux-x64.tgz
63+
tar -xzf mongosh-*-linux-x64.tgz
64+
sudo cp mongosh-*-linux-x64/bin/mongosh /usr/local/bin/
65+
mongosh --version
66+
- name: Install mongocryptd from Enterprise tarball
67+
run: |
68+
curl -sSL -o mongodb-enterprise.tgz "https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-ubuntu2204-8.0.15.tgz"
69+
tar -xzf mongodb-enterprise.tgz
70+
sudo cp mongodb-linux-x86_64-enterprise-ubuntu2204-8.0.15/bin/mongocryptd /usr/local/bin/
71+
- name: Start mongocryptd
72+
run: |
73+
nohup mongocryptd --logpath=/tmp/mongocryptd.log &
74+
- name: Verify MongoDB installation
75+
run: |
76+
mongosh --eval 'db.runCommand({ connectionStatus: 1 })'
77+
- name: Verify mongocryptd is running
78+
run: |
79+
pgrep mongocryptd
5980
- name: Run tests
6081
run: python3 django_repo/tests/runtests_.py
6182
permissions:

0 commit comments

Comments
 (0)