Topic 1 Question 137
You are developing reusable infrastructure as code modules. Each module contains integration tests that launch the module in a test project. You are using GitHub for source control. You need to continuously test your feature branch and ensure that all code is tested before changes are accepted. You need to implement a solution to automate the integration tests. What should you do?
Use a Jenkins server for CI/CD pipelines. Periodically run all tests in the feature branch.
Ask the pull request reviewers to run the integration tests before approving the code.
Use Cloud Build to run the tests. Trigger all tests to run after a pull request is merged.
Use Cloud Build to run tests in a specific folder. Trigger Cloud Build for every GitHub pull request.
ユーザの投票
コメント(8)
Wouldnt it be D considering you would want to run the tests when the PR is created and not after the code is already merged
👍 3Jay098122023/10/23Answer C is correct. https://cloud.google.com/build/docs/automating-builds/create-manage-triggers
👍 2activist2023/10/22- 正解だと思う選択肢: C
I would go with C
👍 2Jason_Cloud_at2023/10/26
シャッフルモード