Deploying and testing the application
In order to build, deploy, and test our application, we need to copy the content of Chapter 14, Refactoring the Frontend and Exposing REST Services, in the GitHub repository for this book (https://github.com/PacktPublishing/Modernizing-Applications-with-Google-Cloud-Platform/tree/master/Chapter%2014) into the local repository we set up for pushing to our Google Cloud source repository in Chapter 5, Implementing DevOps with Google Cloud Platform.
Now we have all the code in our repository, we are ready to set up for deployment, as follows:
- Push the code into the Google Cloud source repository by entering the following commands at a command line in our repository directory:
git add -A . git commit -m "code drop" git push
- Set up two new build triggers for our
banking-legacy-rest
andfront-end
projects by following the procedure for creating triggers we learned about in Chapter 5, Implementing DevOps with Google Cloud Platform...