Is it possible to create a cloud build trigger on a cloud source repository present in another Google Cloud project? - google-cloud-source-repos

I wanted to know if it is possible to create a Cloud build trigger in one Google Cloud Project on a Cloud Source Repository present in another Google Cloud Project. If yes, then how to do it?

Related

Continues development for Azure Function

I have Azure Function running Power Shell that built in a cloud itself (no local files).
I need to copy it to another Azure subscription,
I see a lot of example how to deploy, but my question is how to take all the files of function from Azure and put it in Azure Devops repository with some script, without downloading it to my computer.
I don't think there's a direct way to take all the files of function from Azure and put it in Azure DevOps repository without downloading them first.
Basically, we need to download app content to your local machine first, and then push it to Azure DevOps repository.
You can reference the following blogs to do that:
Copying an Azure Function App using the Portal, GitHub and Cloud
Shell
How to… copy Function Apps

Why can't I see my Google Cloud Container Registry images?

When I navigate to https://console.cloud.google.com/gcr/images/ my list appears to be empty (see the attached screenshot), even though I am successfully using a couple of Firebase Functions. Is the link broken? Am I missing permissions or something? Where are my images? Why can't I access them?
You can automatically build and push images to a private registry when you commit code to Cloud Source Repositories, GitHub, or Bitbucket. Easily set up CI/CD pipelines with integration to Cloud Build or deploy directly to Google Kubernetes Engine, App Engine, Cloud Functions, or Firebase.
Pushing an image for the first time to the registry in your project you need Storage Admin (roles/storage.admin) at the Google Cloud project level. But if you are
pushing an image to an existing registry in your project then you need Role: Storage Legacy Bucket Writer (roles/storage.objectAdmin) on the registry storage
bucket.
For more details pushing and pulling images.
Also please check managing images.

how to pull new changes to google app engine using command shell

I have a node React project in Bitbucket which is already deployed in Google App Engine. I have made some changes to the my application and I would like to know how to deploy the new changes to the Google App Engine using command shell.
I have tried git pull command it says that there is no repository, even if I can see the project files.
Google Cloud Support here!
With the amount of details given and seeing what you are trying to do, I think that the best solution for you would be using Cloud Source Repositories.
If you end up using Cloud Source Repositories, here you'll find a guide explaining how to mirror a Bitbucket repository. After mirroring the desired repository, as you are using Google App Engine, you should read this documentation in which it is described how to integrate Cloud Source Repositories with Google App Engine.
Please bear in mind that using Cloud Source Repositories might involve additional charges if you exceed the free tier, this is explained in the pricing section for Cloud Source Repositories.
If you don't want to use Cloud Source Repositories, here you'll find how to clone a Bitbucket repository.

Update nodejs app on Google cloud app engine from github

I have a nodejs app on Google cloud app engine which I cloned from my GitHub repo, after some time i added some files to my GitHub repo. How I update my node app on Google cloud? Do I have to delete it and clone again or can just add the updated files?
You can create a build trigger.
A build trigger instructs Container Builder to automatically build
your image whenever there are changes pushed to the build source. You
can set a build trigger to re-build your images on any changes to the
source repository, or only changes that match certain criteria.
Currently build triggers support
Google Cloud Source Repository
GitHub
Bitbucket
More details about build triggers can be found here.

Azure Packaging in Visual Studio Online

I have an Azure cloud project stored in VSOnline. Is there a way to automatically package the cloud project and drop to a location in VSOnline itself? I have tried the AzureContinuousDeployment.11.xaml template which does not meet my requirement since it deploys the application to cloud service.

Resources