Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloud build trigger doesn't see Cloud Source Repository from another project

I want create Cloud Build trigger linked to Cloud Source Repository in another project. But when I'm on a step where I am supposed to choose a repository, the list is empty. I tried different some permission, but without luck. Could someone tell whether such configuration is possible and how do it?

like image 318
Kef Risen Avatar asked Dec 30 '25 19:12

Kef Risen


1 Answers

The cloudbuild trigger can only see repositories that are in the same project.

We ran into the same issue with Bitbucket repos that we are mirroring into the Cloud Source Repos in our projects.

What we discovered was that we needed to mirror the repo into BOTH projects so that the cloudbuild trigger could see the repository. I am not sure how this would work with a repo that only lives in the GCP source code repo.

like image 186
rchapin Avatar answered Jan 01 '26 15:01

rchapin