48
questions
0
votes
1
answer
30
views
How to clone a (second gen) 2nd Gen Google Cloud Repository from Cloud Build?
I need to write a bash script to run inside my Google Cloud Build's build process. This bash script needs to clone a 2nd Gen Repository (since now former Source Repositories is deprecated), but I can'...
0
votes
0
answers
19
views
automate the mirroring from bitbucket to google cloud repo when a repo is created
I have multiple repos mirrored from bitbucket to Google Cloud source repo. I'm trying to find a way to automate the process for doing this since right now I have to do it every time manually. Since I ...
0
votes
0
answers
55
views
issues using Google Cloud Vision API in a shared github repo
I was running my code locally with the google cloud vision CLI SDK package installed, but wanted to add it to a shared github repo for a project and the SDK is too large to do so. I am confused by the ...
0
votes
1
answer
711
views
Trouble initializing Google RecaptchaEnterpriseServiceClient
I am trying to add reCAPCHA to my website. Following the README.md from https://github.com/googleapis/google-cloud-php-recaptcha-enterprise, I have used composer to install google/cloud-recaptcha-...
2
votes
1
answer
1k
views
Dataform git connection using Google Source Repository
I am trying to connect a git repository hosted on Google Source Repository with the Dataform environment. The dataform documentation states that use of personal access tokens that is accessed by ...
0
votes
1
answer
471
views
CD for google cloud functions using google cloud repository - how to automate deployment?
I am new to GCP however did some read up of docs regarding deploying from google cloud repo https://cloud.google.com/functions/docs/deploying/repo
however I stil miss some automation bit
to don't have ...
0
votes
1
answer
903
views
Semantic release with google cloud CI/CD using git annotation tag
I am releasing the artifact to the Artifact registry in the Google cloud. I want to have a semantic versioning release cycle using the git annotation tag to the master branch.
steps:
# This step ...
0
votes
2
answers
774
views
Filter build steps by branch google cloud plateform
I have the below steps
steps:
# This step show the version of Gradle
- id: Gradle Install
name: gradle:7.4.2-jdk17-alpine
entrypoint: gradle
args: ["--version"]
# This ...
1
vote
0
answers
700
views
How do I programmatically download a file from a private Google Cloud Source Repository with a service account?
I have a Google Cloud Source Repository I want my application to download files from. I have a specific use case where I want to get files from a Google Cloud Source Repository programmatically- not ...
0
votes
1
answer
301
views
Mirror repository from BitBucket Cloud to Google Cloud Repository for App Password changes
with the upcoming changes as outlined in
https://bitbucket.org/blog/deprecating-atlassian-account-password-for-git-and-bitbucket-api-activity
How does it affect mirroring a Bitbucket Repository to ...
0
votes
0
answers
916
views
Cloud Source Repositories - Git Push code to the default branch or switch branches
I am new to git repositories. I tried my best to learn about it. I need to push a automation project to google repositories .I executed following comments to perform this.
$ git init
$ git add .
$ git ...
-1
votes
1
answer
205
views
Visual Studio Code push to Compute Engine
I have Compute Engine running in Google Cloud. I want to be able to push code changes from Visual Studio Code to Compute Engine, so that the changes reflect on the website hosted in CentOS 7 on ...
1
vote
1
answer
1k
views
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 ...
0
votes
1
answer
68
views
Visual Studio Code git active account
I'm trying to run a 'push' from Visual Studio Code to my Cloud Repository. I have changed my account, but when I do the push the following message appears: " Your current active account [OLD ...
1
vote
1
answer
64
views
Why the history in gcb is not able to sort by branchname?
I'm able to sort by source but, unable to sort by branch, it shows only few branches for all sources.
I used it like
Source:[source_name] OR Branch:[branch_name]
in the history tab.
can anyone tell ...