QuestionQ46

VerifiedDevOps Automation

You are using Oracle Cloud Infrastructure (OCI) DevOps to deploy an application in an Oracle Container Engine for Kubernetes (OKE) environment. You push code to the OCI Code Repository, add all required stages, and configure the build and deployment pipeline. When you run the build, an “unable to clone the repository” error appears.

What could be the configuration error?

Explanation

An OCI DevOps build pipeline authenticates to the OCI Code Repository through a resource principal tied to a Dynamic Group; without a Dynamic Group that matches the build pipeline (or build run) and an accompanying IAM policy granting that dynamic group read/clone access to the code repository, the build stage cannot authenticate and fails to clone the source, which surfaces as an 'unable to clone the repository' error during the build run.

Community Discussion

No comments yet. Be the first to start the discussion!