Questions tagged [google-cloud-repository]

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

Cloud Source Repositories are fully-featured Git repositories hosted on Google Cloud Platform. Beta release of Cloud Source Repositories is free and can be used to store up to 500 MB of source files.

Each project you create in the Google Developers Console has an associated Cloud Source Repository. You can use this repository for collaborative development of any application or service, including those that run on Google App Engine and Google Compute Engine. If you are using the Google Cloud Debugger, you can use Cloud Source Repositories and related tools in the Developers 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. Connected repositories on GitHub or Bitbucket are synchronized with the Cloud Source Repository automatically and vice-versa.

Cloud Source Repositories also provides a source editor that you can use to browse, view, edit and commit changes to repository files from within the Developers Console.

The source editor supports:

  • Edits to files in any branch of your repository
  • Grouping of changes to multiple files in a single commit
  • Notification of changes to the branch being edited
  • Assisted conflict resolution at commit time

You can use the source editor to work with files stored in any Cloud Source Repository, including repositories that are connected to hosted repositories on GitHub or Bitbucket.

Quickstart:

For an end-to-end tutorial that shows how to use a Cloud Source Repository, see Cloud Source Repository Quick Start.

45 questions
15
votes
4 answers

How to access a GCP Cloud Source Repository from another project?

I have project A and project B. I use a GCP Cloud Source Repository on project A as my 'origin' remote. I use Cloud Build with a trigger on changes to the 'develop' branch of the repo to trigger builds. As part of the build I deploy some stuff with…
ci_
  • 8,594
  • 10
  • 39
  • 63
14
votes
1 answer

Import module from parent or sibling directory in Cloud Functions?

I have a repository structure hosted in a Google Cloud Repository that looks like this for Google Cloud Functions: . module.py /common module1.py module2.py /cloudfunction1 main.py requirements.txt /cloudfunction2 main.py …
10
votes
1 answer

Git Large File Storage with Google Cloud Storage

I am part of the project, where we use git repository hosted on google cloud source repository. Right now we use google cloud storage to store raw and processed data. Everyone involved in the project downloads the data and places it locally in the…
jo9k
  • 690
  • 6
  • 19
7
votes
1 answer

Pull request or Merge request on Google cloud repository

I'm having trouble finding where is the Pull the request feature of Google Cloud Repository. I need it to setup the project that I'm currently working on for other developers, by having a code review feature.
7
votes
0 answers

How Do I Publish Shiny a Shiny App to GCP?

What I Have Successfully Accomplished I have a shiny app that runs locally. I have set up a Ubuntu 19 server on a GCP VM instance I have installed RStudio Server & ShinyServer, and [EXTERNAL_IP]:3838 shows the standard geyser app I have copy-pasted…
6
votes
2 answers

docker push denied: Unable to determine the upload's size

I have created application image on google cloud and while trying to push through google cloud shell, getting following error: 08db9ff34fc6: Pushing [==================================================>] 73.38 MB 5313937c4c49: Pushing…
6
votes
6 answers

Google Cloud Repository push fatal: remote error: Forbidden

I have just signed up to try google cloud repository and am trying the getting started list and failed on the git remote add google https://source.developers.google.com/p/*name-xxxxxx*/r/default git push google master fatal: remote error:…
Nefarious
  • 458
  • 6
  • 21
5
votes
2 answers

Google function source not refreshed after git push

I defined a source of a google cloud function as a google cloud repository. I changed my function source code, commit it and push into the repository by "git push --all google". I see a new version of the function code in the repository but the…
5
votes
2 answers

403 "Error: Forbidden" when opening the URL of my Cloud Run service

I built my container image and then deployed to Cloud Run using the Cloud Console. However, when I open the endpoint URL of my service, I get a 403 "Error: Forbidden" page
4
votes
1 answer

Authentication failed while using git pull

I am trying to clone Remote repository into Local repository from Google cloud repository. I am working on Kubuntu 14.04 system First i have create empty local git repository using git init test then i have tried with following command cd test git…
Rajesh Jadav
  • 12,801
  • 5
  • 53
  • 78
3
votes
4 answers

How to deploy multiple cloud functions that are newly pushed using google cloud build and Source Repository?

I have a project folder with different cloud functions folders e.g. Project_Folder -Cloud-Function-Folder1 -main.py -requirements.txt -cloudbuild.yaml -Cloud-Function-Folder2 -main.py …
3
votes
0 answers

NPM Dependency from google repository

I have a Google Cloud Repository, let's say: https://source.developers.google.com/p/blablan/r/blabla-common now I wanted to add this repo as a dependency to another project, so i ran npm install…
No Idea For Name
  • 11,411
  • 10
  • 42
  • 70
3
votes
2 answers

Google Cloud Build: Clone Private Repository on google Cloud Repository failing

We are testing Google Cloud Repositories with Google Cloud Build. We created a basic cloudbuild.yaml and the build itself is started (we are using Go). Our Go Programm has some imports that are in the same repository (which is hosted on Google…
Mou
  • 113
  • 2
  • 14
3
votes
1 answer

How do I use Github and Firebase together?

I'm a Git novice, but I've managed to create a local repo on my PC of my Firebase project and to push it to a cloud server. I now want to pull that down onto a second machine, my laptop, but I can't figure out how to do this. Git won't pull the repo…
Ads
  • 43
  • 1
  • 6
3
votes
1 answer

How to keep storage bucket synced with Google Cloud Source Repository

Question: Does Google automatically update storage buckets with changes pushed to a project's Cloud Source Repository? Example: I create a Google Cloud Platform project called Cooking and store the file recipe.txt in a bucket. I modify recipe.txt…
1
2 3