Skip to content

Commit

Permalink
Remap github URL to ssh to fix BAAS dependency using https:// (#6685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilkerson-Barker authored May 31, 2023
1 parent 0cbe877 commit 541190d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions evergreen/install_baas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ if [[ ! -x baas_dep_binaries/jq ]]; then
cd -
fi

# Fix incompatible github path that was changed in a BAAS dependency
git config --global url."[email protected]:".insteadOf "https://github.com/"

if [[ -z "$BAAS_VERSION" ]]; then
BAAS_VERSION=$($CURL -LsS "https://realm.mongodb.com/api/private/v1.0/version" | jq -r '.backend.git_hash')
fi
Expand Down

0 comments on commit 541190d

Please sign in to comment.