Challenge 3: You break the build, you buy cake
< Previous Challenge - Home - Next Challenge >
Introduction
This task is all about automating things using Cloud Build.
Description
Once things look fine locally, set up a Cloud Build that’s triggered when code is pushed to the repository. The code base already includes a build configuration (cloudbuild.yaml), have a look at it to understand what it does. Make sure that the trigger uses that build configuration.
Success Criteria
- There’s a new Cloud Build push trigger
- The trigger is connected to the repository created in the previous task
- The trigger uses the provided (fully configured) build configuration from the repository
- And there’s at least one successful build
Tips
- You will need to make some minor changes to the code base to have a successful run
Learning Resources
How-to guides for Cloud Build