-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/pip/jinja2-3.1.3
- Loading branch information
Showing
40 changed files
with
611 additions
and
106 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @transferwise/analytics-platform |
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM mongo:5.0.26-focal | ||
|
||
COPY --chown=mongodb:root --chmod=400 rootCA.pem /etc/ssl/rootCA.pem | ||
COPY --chown=mongodb:root --chmod=400 mongodb.pem /etc/ssl/mongodb.pem | ||
COPY --chown=mongodb:root --chmod=400 replica.key /etc/ssl/replica.key | ||
|
||
COPY create-pipelinewise-user.sh /docker-entrypoint-initdb.d/create-pipelinewise-user.sh |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
echo 'CREATE MONGODB PIPELINEWISE USER' | ||
|
||
mongo --tls --tlsAllowInvalidCertificates -u $MONGO_INITDB_ROOT_USERNAME -p $MONGO_INITDB_ROOT_PASSWORD --authenticationDatabase admin admin <<EOF | ||
db.getName(); | ||
db.createUser({ | ||
user: $(jq --arg 'user' $MONGO_USERNAME --null-input '$user'), | ||
pwd: $(jq --arg 'pwd' $MONGO_PASSWORD --null-input '$pwd'), | ||
roles: [{ role: 'readWrite', db: "$MONGO_INITDB_DATABASE" }] | ||
}); | ||
EOF |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
echo | ||
echo 'INITIALIZING MONGODB REPLICASET' | ||
echo | ||
|
||
mongosh "mongodb://$TAP_MONGODB_ROOT_USER:$TAP_MONGODB_ROOT_PASSWORD@$TAP_MONGODB_HOST:$TAP_MONGODB_PORT/?tls=true&tlsAllowInvalidCertificates=true&authSource=admin&directConnection=true"<<EOF | ||
rs.initiate({_id: "rs0", members: [{_id: 0, host: '$TAP_MONGODB_HOST:$TAP_MONGODB_PORT'}]}); | ||
EOF |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhki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y4fvH4xWXVBhYib2Vt62DU0VmD3 | ||
/QZi+hz305VenPEnqgHtORPvs4f9sXa244fpsdAvPl1OCpbjl/+Akr1ZSH0P02Xr | ||
k3OhkDGrrMYGr2OdkALVeNAlqdy6h6VzjCjaLWx9bXNmBMLVKwikvKMzoObsPPFT | ||
Gp+UbmuVaAJtX95j0UpSLrbcx0NUPKounMygBrPZHwIDAQABo0IwQDAdBgNVHQ4E | ||
FgQU70ojmm8b0De4Qa45N/PVoxZNQwwwHwYDVR0jBBgwFoAUnnHpHxM13x8U9nSI | ||
HOmCJMamIR4wDQYJKoZIhvcNAQELBQADggEBAFdzTHva6pbkX/4dNJ4vy9oiYMuN | ||
iWYyqB/99KfPEHlU/RFiNePXfwL4BI18A7IAKQ5Dl0Vd1ub6X17SegA6+OMKDfu6 | ||
DGmhgYHoBL4JXNd16LtOA9eHQtxynPTjhsSkuSz7i6eAumegK2EuZuw6fYHNXpmb | ||
0ZTsRlGWWsrZJFtL5P7RUici9ZheDBhjEs9yYNMOM/VFTn2OAN5MTIY79O28DWQj | ||
Uvx8DEw+YrxGLFqcDKjv7CKESti11PfAF67ERjQyURjqpeiVqO+D1SGzpdnXdisl | ||
c9/k/p4rWNZe4LX9XyA1oLJUcZNNl3XUtghGu93YUMquWeBH9C4aklIhV1s= | ||
-----END CERTIFICATE----- |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
T2+O83yAELto/7Or19tC1xf8XGHIVYG5QUwtMDwCchC1Y0X/UgxnU34lsqoqtkjg | ||
4z2SPwFQ4N/aCr5Ah/dRrBTXhFv03P5UD0aRTcQxQQTv5ubLTO3fe5SFc3uhvKKk | ||
WiB9zlHElf21RVGXmnHHlNJQF2LeC8bRNIJtmCBIOYCy8SRt2NCecviME1B5k6Ly | ||
pcKOKttHDOKOhJXeS8Yhp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