
Answer-first summary for fast verification
Answer: The cloudbuild.yaml was not placed in the same folder as the application source code, The cloudbuild.json was not placed in the same folder as the application source code
The correct answer is that the build configuration file must be either a JSON or YAML file and must be saved in the same directory as the application source code. This is crucial for the Cloud Build process to locate and utilize the configuration file correctly. Reference: Building with a build config file.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has opted to leverage GCP services for automating its Continuous Integration and Deployment process, utilizing Cloud Build for creating images and artifacts. A new developer is assigned to craft the build configuration files, but the Cloud Build process is encountering failures. What could be the potential cause?
A
The cloudbuild.py was not placed in the same folder as the application source code
B
The cloudbuild.json was not placed in the same folder as the application source code
C
The cloudbuild.sh was not placed in the same folder as the application source code
D
The cloudbuild.xml was not placed in the same folder as the application source code
E
The cloudbuild.yaml was not placed in the same folder as the application source code
No comments yet.