You are using Cloud Build to build a Docker image. You need to modify the build to execute unit and run integration tests. When there is a failure, you want the build history to clearly display the stage at which the build failed. What should you do?
A) Add RUN commands in the Dockerfile to execute unit and integration tests.
B) Create a Cloud Build build config file with a single build step to compile unit and integration tests.
C) Create a Cloud Build build config file that will spawn a separate cloud build pipeline for unit and integration tests.
D) Create a Cloud Build build config file with separate cloud builder steps to compile and execute unit and integration tests.
Correct Answer:
Verified
Q39: You are using Cloud Build build to
Q40: You migrated your applications to Google Cloud
Q41: You are designing a schema for a
Q42: You want to re-architect a monolithic application
Q43: You have an analytics application that runs
Q45: You are planning to deploy your application
Q46: You have an application in production. It
Q47: Your application is built as a custom
Q48: You are designing a schema for a
Q49: Case study This is a case study.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents