Deployment
The deployment is very simple, all it takes is to execute one of the following commands:
Prod on Linux/MacOS -
mvn clean package appengine:deploy -P cloud-gcpProd on Windows -
./mvnw clean package appengine:deploy -P cloud-gcpQA on Linux/MacOS -
mvn clean package appengine:deploy "-Dapp.stage.appEngineDirectory=src/main/appengine-qa" -P cloud-gcpQA on Windows -
./mvnw clean package appengine:deploy "-Dapp.stage.appEngineDirectory=src/main/appengine-qa" -P cloud-gcp
This command builds the code, runs the tests and deals with the deployment.
Make sure that the current Google Cloud project is set to bassboost before deploying since it is possible to overwrite another project's backend service. Read more in the Deployment doc.
Do not forget to delete the old version if the new is successful, so it does not cost any additional money.