-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from rcsb/dev-dwp
V1.26 Add support for accessing target cofactor data from MongoDB
- Loading branch information
Showing
10 changed files
with
82 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,8 @@ jobs: | |
displayName: "Install bison" | ||
- script: which bison | ||
displayName: "Check bison" | ||
- script: brew install mariadb | ||
displayName: "Install mariadb" | ||
# ---------------------------------------------- | ||
- ${{ if startsWith(parameters.os, 'linux') }}: | ||
- script: lsb_release -a | ||
|
@@ -110,15 +112,15 @@ jobs: | |
displayName: "Start and configure mysql ..." | ||
# ----- | ||
- ? ${{ if and(contains(parameters.fixtures, 'mongodb'), startsWith(parameters.os, 'linux')) }} | ||
: # Mongo install | ||
# Mongo install | ||
- ${{ if and(contains(parameters.fixtures, 'mongodb'), startsWith(parameters.os, 'linux')) }}: | ||
- script: | | ||
sudo apt-get install gnupg wget | ||
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - | ||
wget -qO - https://www.mongodb.org/static/pgp/server-7.0.asc | sudo apt-key add - | ||
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | ||
sudo apt list --installed | grep mongodb | ||
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list | ||
# echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list | ||
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list | ||
# echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list | ||
sudo apt-get update | ||
sudo apt-get install -y mongodb-org | ||
sudo apt list --installed | grep mongo | ||
|
@@ -129,6 +131,19 @@ jobs: | |
sudo ss -tulpn | ||
displayName: "Start Mongo service" | ||
# | ||
- ${{ if and(contains(parameters.fixtures, 'mongodb'), startsWith(parameters.os, 'macos')) }}: | ||
- script: | | ||
brew tap mongodb/brew | ||
brew update | ||
brew install [email protected] | ||
displayName: "Installing mongodb" | ||
# | ||
- script: brew services start [email protected] | ||
displayName: "Start Mongo service" | ||
# | ||
- script: brew services list | ||
displayName: "Check mongodb service" | ||
# | ||
# | ||
- script: 'python -c "import sys; print(sys.version); print(sys.executable)"' | ||
displayName: show python information | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
__author__ = "John Westbrook" | ||
__email__ = "[email protected]" | ||
__license__ = "Apache 2.0" | ||
__version__ = "1.25" | ||
__version__ = "1.26" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters