[ORCA-57] Allow backend services to fetch a clinic by share code #134
Travis CI / Travis CI - Branch
succeeded
Jan 4, 2024 in 8m 16s
Build Passed
The build passed.
Details
This is a normal build for the ORCA-57-clinic-share-code-backend-service-permission branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Go |
Operating System | Linux (Jammy) |
Go Version | 1.21.x |
Build Configuration
{
"language": "go",
"os": [
"linux"
],
"dist": "jammy",
"sudo": false,
"go": [
"1.21.x"
],
"env": [
"global={:MONGODB=>\"6.0.11\"}={:MONGOSH=>\"2.0.2\"}={:DIST=>\"jammy\"}"
],
"before_install": [
"sudo apt-get remove -y mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools",
"wget -nv https://repo.mongodb.org/apt/ubuntu/dists/${DIST}/mongodb-org/6.0/multiverse/binary-amd64/mongodb-org-server_${MONGODB}_amd64.deb -O /tmp/mongodb.deb",
"wget -nv https://downloads.mongodb.com/compass/mongodb-mongosh_${MONGOSH}_amd64.deb -O /tmp/mongosh.deb",
"sudo apt install /tmp/mongodb.deb /tmp/mongosh.deb",
"mkdir /tmp/data",
"/usr/bin/mongod --replSet rs0 --dbpath /tmp/data --bind_ip 127.0.0.1 --logpath ${PWD}/mongod.log &> /dev/null &",
"until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done",
"/usr/bin/mongosh --host 127.0.0.1 --port 27017 --eval 'rs.initiate(); while (rs.status().startupStatus || (rs.status().hasOwnProperty(\"myState\") && rs.status().myState != 1)) { printjson( rs.status() ); sleep(1000); }; printjson( rs.status() );'"
],
"addons": {
"artifacts": {
"paths": [
"$(git ls-files -o deploy/*/*-*.tar.gz | tr \"\\n\" \":\")"
],
"target_paths": [
"/"
]
}
},
"script": [
"make build test",
"./artifact.sh"
],
"services": [
"docker"
]
}
Loading