- Start gRPC server
sbt server/run
- Run automation tests against the running server
sbt automation/test
- In deployed service, we expose Json/HTTP REST API in addition to gRPC.
- Set up auth for publishing docker image to GCR
gcloud auth configure-docker
- Publish
sbt server/docker:publish
(orsbt server/docker:publishLocal
for local development)
https://cloud.google.com/endpoints/docs/grpc/enabling-ssl
Information about the server
curl -k https://localhost/status
{"scalaVersion":"2.12.7","sbtVersion":"1.2.8","gitCommit":"350b74fc073550b1262609f918583eae10774ecc","buildTime":"2019-01-05T11:33:00.564"}%
TODO
- calculate formula
- figure out how to get service URLs properly
Maybe TODO
- Build (google cloud build)
- Deployment
- Deploy docker image to google with cloud build
- Set up automation tests in CI (deploy a server and then run automation tests against that)
- Dockerize
- Publish client jar
- Config sentry DSN
Questions for cromwell team
- How cromwell will interact with ccm. Contract
- cost components