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 get revision tags from google cloud source repository via curl?

What I want I have a python backend application, using a service account, running in docker. I have a cloud build trigger that is connected to a bitbucket repository. This trigger uses a webhook. For revision I use tags. I want to trigger this…
2
votes
1 answer

Go get from GCP source repositories

I'm trying to go get a repository from GCP Source repositories. This seems to be very very poorly documented but what I tried to do was running go get source.developers.google.com/p/[MY-PROJECT]/r/[MY_REPO].git. But I got the error: go: downloading…
nicolasassi
  • 490
  • 4
  • 14
2
votes
0 answers

Google Cloud Functions source not following the last commit

Yesterday I've noticed a weird behavior on Google Cloud Functions. I push to Cloud Source Repository, then trigger a deploy from the UI, however, it doesn't get resolved to the last commit. Up till yesterday it was working as expected and the source…
2
votes
1 answer

How can I clone Google Cloud Platform repository to Google Cloud Platform VM

Can't clone a Google Cloud Platform repository to a Google Cloud Platform VM Issue: When I attempt to clone I get "Permission denied (publickey)" Setup: Created an SSH key pair on the VM In the Google Cloud Platform VM edited the instance details…
2
votes
1 answer

Install a python library from a Cloud Source Repository to a Cloud Run container

I have a Google Source Repository that mirrors a private Github repo of mine that contains code for a Python package. I also have a Cloud Run instance where I'd like to install this private Python library. How can I go about doing that in the…
2
votes
1 answer

Automate mirroring GitHub to GCP Source Repository?

We run Google Cloud Functions (python), which require to be deployed from Google Cloud Source Repository. Since all the code is stored on GitHub we resort to first mirroring GitHub into Source Repository. Although this only requires a few mouse…
2
votes
1 answer

Is there a way to pass access tokens when calling git clone over HTTPS for Google Source Repository

I have been trying to use Google Cloud Functions (python 3.7) to basically clone a Google Source Repository. I'm using GitPython library and the service account for that Cloud Functions has Source Repository Reader access on the repository that I…
2
votes
2 answers

Connect to Google Cloud Source Repository from Antora

I am using Antora to generate a static site for our documentation. I have followed their guidance for private repository authentication but are being unsuccessful. It seems that they only support HTTPS Basic Auth for GIT over HTTPS. I have tried…
2
votes
2 answers

Unable to clone repo from Google Cloud Source Repository to a Compute Engine Instance configured with Cloud NAT

I am using a Google Compute Engine Instance which has external IP address disabled and is accessing the internet through Cloud NAT. The problem is that when I am trying to clone a Repo from Google Cloud Source Repo using SSH Authentication, I am…
2
votes
1 answer

Google Cloud Platform: Integrating Cloud Source Repository and ReadTheDocs

My project initially used Github and a private repository to host the code base for the company i've been working for. In order to separate my account from the code I developed for that company, I recently stumbled upon Google Cloud Platforms' Cloud…
2
votes
2 answers

error loading repositories in Android Studio for importing into Google Cloud Source Repository

When importing Android project into VCS (Google Cloud source repositories), I'm able to select the cloud project, but getting following error for viewing repositories: I'm following this doc to import project:…
Sam
  • 822
  • 2
  • 8
  • 30
2
votes
0 answers

GCP cloudbuild deploy to Compute Engine running linux

I am trying to use cloudbuild.yaml to deploy jar file built using maven to GCP compute engine linux VM and I am not able to find a solution.No steps available in GCP documentation. I am able to deploy the jar to GCP bucket but not to…
2
votes
1 answer

How to Clone a Branch from Github to a New Branch in Google Cloud Source Repository?

So I have a local repository that I've pushed to Github as a new branch, without any trouble, but the next step is to clone that same repository to Google Cloud Source Repository, also as a new branch. This is terribly confusing because I'm…
Riley Hun
  • 2,541
  • 5
  • 31
  • 77
2
votes
1 answer

Integration with Dataproc + Datalab + Source Code repos

Can someone been able to integrate Dataproc,Datalab and Source code repo? As many of us have seen that when you call an init action to install datalab, it does not create the source code repo. I am trying to achieve a full end-to-end solution where…
2
votes
2 answers

How can I deploy direct from Google Cloud Source Repository to Google App Engine?

Google offers git -> App Engine and git <-> Source Repository, so presumably somewhere it offers Source Repository -> App Engine. But I can't find where... even after twice reading all the Source Repository and App Engine docs I can find, inc.…