File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 56
56
- name : Start local Atlas
57
57
working-directory : .
58
58
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
59
80
- name : Run tests
60
81
run : python3 django_repo/tests/runtests_.py
61
82
permissions :
You can’t perform that action at this time.
0 commit comments