- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Deploying to Google App Engine with Travis CI
Travis CI doesn't just let us automate the testing and release of our code — it can even deploy our code to production (or wherever you need to deploy). In this lab, we'll take an existing Travis setup and add a deployment stanza to get our application working on Google App Engine, as well as configure GCP to work with Travis.

Lab Info
Table of Contents
-
Challenge
Enable Needed APIs
- Enable 2 APIs on the Google Cloud Console:
- App Engine Admin API
- Cloud Build API.
- Enable 2 APIs on the Google Cloud Console:
-
Challenge
Create App and Set Region
- Create an App Engine app on the console. Only the region will need to be selected.
-
Challenge
Create Service Role
- Create a service role with the following permissions:
- App Engine Admin
- Cloud Storage Admin
- Cloud Build Editor
(NOTE: Be sure to create and download the associated JSON key.)
- Create a service role with the following permissions:
-
Challenge
Add Deploy Stanza and Deploy
- Open the
.travis.yml
file and create adeploy
stanza using an encrypted version of the JSON key and the project ID. - Commit code.
- Open the
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.