An organization wants to establish an automated CI/CD pipeline on Google Cloud. The pipeline must trigger automatically upon code commits, build container images from source files, and store the compiled images in a secure, fully managed Google Cloud repository. Which combination of Google Cloud services best fulfills these requirements?
- Cloud Build to execute automated container builds and Artifact Registry to securely store and manage container images.Cevap
- BCloud Build configured with a service account granted the primitive Owner role to eliminate permission barriers during artifact creation.
- CCloud Build configured with a service account granted the Service Account Admin role so build steps can manage pipeline identity permissions.
- DCloud Build to compile container artifacts while maintaining build state and image outputs in unversioned local storage.
Cevap
Cloud Build to execute automated container builds and Artifact Registry to securely store and manage container images.
Combining Cloud Build and Artifact Registry forms the foundation of a GCP-native CI/CD pipeline. Cloud Build handles continuous integration by executing build triggers upon code commits, and Artifact Registry acts as the centralized management tool for storing, scanning, and serving container images.
Adım Adım Çözüm
Anahtar Kavram
Continuous Integration and Continuous Delivery (CI/CD) Pipeline Design