List of questions
Related questions
Question 179 - Professional Cloud Developer discussion
Your team is developing unit tests for Cloud Function code. The code is stored in a Cloud Source Repositories repository. You are responsible for implementing the tests. Only a specific service account has the necessary permissions to deploy the code to Cloud Functions. You want to ensure that the code cannot be deployed without first passing the tests. How should you configure the unit testing process?
A.
Configure Cloud Build to deploy the Cloud Function. If the code passes the tests, a deployment approval is sent to you.
B.
Configure Cloud Build to deploy the Cloud Function, using the specific service account as the build agent. Run the unit tests after successful deployment.
C.
Configure Cloud Build to run the unit tests. If the code passes the tests, the developer deploys the Cloud Function.
D.
Configure Cloud Build to run the unit tests, using the specific service account as the build agent. If the code passes the tests, Cloud Build deploys the Cloud Function.
Your answer:
0 comments
Sorted by
Leave a comment first