Questions tagged [google-cloud-source-repos]

Cloud Source Repositories are fully-featured, private Git repositories hosted on Google Cloud Platform.

Cloud Source Repositories are fully-featured, private Git repositories hosted on Google Cloud Platform.

You can use Cloud Source Repositories for collaborative development of any application or service, including those that run on Google App Engine and Google Compute Engine. If you are using Stackdriver Debugger, you can use Cloud Source Repositories and related tools in the Cloud Platform Console to view debugging information alongside your code during application runtime.

Using Cloud Source Repositories is easy if you are familiar with Git. For example, you can add a Cloud Source Repository to a local Git repository as a remote, or you can connect it to a hosted repository on GitHub or Bitbucket. From a local repository, you can use the standard set of Git commands to interact with the repository in the Cloud, including push, pull, clone and log.

99 questions
2
votes
1 answer

How do I deploy to GAE from the Google Cloud Source Repository?

I'm considering moving my php Google App Engine project from Codenvy to the Google Source Repository and edit it there with the Source Editor, but I don't see how to cause it to deploy my project. How do I do that?
2
votes
1 answer

Accessing Google Cloud Source Repositories from Google Cloud Storage

Is possible to access or copy (transfer) a git Google Cloud Source repository to Google Cloud Storage. The idea is to use the git repo as a website like GitHub Pages.
1
vote
2 answers

Why doesn't my SSH key work with Google Cloud Source repositories?

I've done this with github, gitlab and other repos... But I am trying to set an ssh key with cloud source repositories git clone ssh://@.com@source.developers.google.com:2022/p//r/omni-orchestrator and it is giving me…
Imad
  • 2,358
  • 5
  • 26
  • 55
1
vote
1 answer

Can Google Cloud Repositories be shared cross projects?

I am trying to set up a continous developemnt system for creating an app and I would like to know if this is idea is feasible within GCP: Project A - Hosts Cloud Source Repository Project B - Cloud Run for the app On project B, I have the Cloud Run…
1
vote
1 answer

google cloud source repositories are not in sync

I'm new to google cloud source repository and confused to why code pushed in one of the repository is not syncing up with another repository. is it because all of the cloud repos need to be connected to same git-lab/git-hub repository? or am i…
1
vote
1 answer

Error creating new repository (PERMISSION_DENIED)

I have a problem creating a new repository in Cloud Source Repository (console or gcloud). In the gcloud case, when I run the following command using either an user account with roles/owner or a service account with roles/source.admin: gcloud source…
Stipy
  • 51
  • 3
1
vote
1 answer

Adding multiple scopes to a Compute Engine VM instance on Google Cloud not working

I'm trying to create a Compute Engine VM instance sample in Google Cloud that has an associated startup script startup_script.sh. On startup, I would like to have access to files that I have stored in a Cloud Source Repository. As such, in this…
1
vote
2 answers

How to connect Google Cloud Source Repo with Codemagic?

Codemagic is a build service for flutter applications it has built in support for bitbucket, github, etc. However it also supports linking repositories from other sources. To set this up you they ask you for a specificish format. URL should be in…
1
vote
2 answers

Developer unable to create repository despite source repository administrator role

I have assigned the Source Repository Administrator to a team member in Google Source Repositories for a Google Cloud project, but they're still unable to create a new repository in this project. Would love to hear some suggestions if anyone else…
battery
  • 502
  • 6
  • 26
1
vote
2 answers

Unable to Clone from Google Cloud Source Repository

I have created a project (ID: imagetest1-259203) within an organization. I successfully created a repository using gcloud source repos create repo1 but when I tried to clone this to my PC using gcloud source repos clone repo1 I get the following…
Praboda
  • 520
  • 6
  • 12
1
vote
1 answer

Can't clone Google Source Repository on MacOS 10

When I call gcloud source repos clone my-service --project=tools-project inside the Cloud Shell I can successfully clone the my-service repository from Google Source Repository. However when I call the same command on MacOS I get the following…
1
vote
1 answer

Pip install from private Google Source Repo

How do you pip install from a private repo via Google Cloud Source repos? Seems like something that should be possible. !pip install gcloud source repos clone [REPOSITORY_NAME] --project=[PROJECT_NAME]
TimK
  • 819
  • 1
  • 10
  • 22
1
vote
1 answer

Google cloud functions deployment through Cloud Source repositories stopped working

I managed to have a script deploying a GCP Function using the following command : gcloud beta functions deploy pipeline-helper --set-env-vars PROPFILE_BUCKET=${my_bucket},PROPFILE_PATH=${some_property} --source…
1
vote
1 answer

Problems connecting to BitBucket with Cloud Build and Source Repositories

I'm GCP project owner and trying to connect a BitBucket repo as mirror in Cloud Source Repos. Also have a Cloud Build trigger based on a BitBucket repo. In Cloud Source Repositories, after granting access to my account, while configuring a mirror,…
1
vote
1 answer

Does Google Cloup Platform have a Github like repository

I am very new to both GCP and github. For an application running on GCP, I want to push my code from my local machine to GCP. I know that GCP is very well connected with Github. However I am wondering if GCP has a service similar to github for…
Shambho
  • 3,250
  • 1
  • 24
  • 37