QuestionQ12

Building and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads

You must build a CI/CD pipeline for a containerized application in Google Cloud. Your development team uses a central Git repository for trunk-based development. You want the pipeline to run all tests for any new application versions to improve quality. What should you do?

Explanation

Cloud Build triggers can start CI/CD workflows in response to source-code changes. A sound pipeline runs unit tests on each push, builds and stores the container image only after those tests pass, deploys that tested image to a test environment for integration and acceptance tests, and promotes it to production only when those tests succeed. Smoke tests after production deployment verify that the deployed application is operational.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!