QuestionQ43

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

You are creating reusable infrastructure-as-code modules. Each module includes integration tests that deploy the module in a test project. You use GitHub for source control.

You need to test your feature branch continuously and ensure that all code is tested before changes are accepted. You must implement a solution that automates the integration tests. What should you do?

Explanation

Cloud Build can use GitHub pull-request triggers to automatically run a build for pull-request commits, providing test feedback before changes are accepted. The build configuration can run the integration tests located in the relevant module folder, so each pull request is continuously validated before merge.

Learn more

Community Discussion

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