为什么任何项目上的git push都会触发Google Cloud Build(GitHub Apps)中的构建? [英] Why does a git push on any Project trigger a build in Google Cloud Build (GitHub Apps)?

查看:58
本文介绍了为什么任何项目上的git push都会触发Google Cloud Build(GitHub Apps)中的构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在多个Github项目中启用 Google Cloud Build Github应用.

I want to enable the Google Cloud Build Github App in several Github projects.

  1. 因此,在 Google Cloud Build Github应用程序上,我单击授予此应用访问您的GitHub帐户的权限
  1. So on the Google Cloud Build Github App, I click on grant this app access to your GitHub account

  1. 然后在以下屏幕上,我在所有存储库上安装Google Cloud Build.
  1. Then on the following screen, I install Google Cloud Build on All repositories.

  1. 然后,我将重定向到几个Google授权屏幕.

  1. Then I'm redirecting to a couple of Google Authorization screens.

然后,我进入Google后续屏幕,在其中选择一个现有的Google project-id,然后接受同意屏幕.

Then I endup on the Google following screen, where I select an existing Google project-id then accept the consent screen.

问题是:我的任何Github存储库上的git push都会触发此google project-id(而不是他相关的Google project-id)中的构建

The issue is: a git push on any of my Github repo triggers a build in this google project-id (and not on his related Google project-id)

我当然想要

  • 推动Github项目#1触发Google Cloud Build项目#1中的构建
  • 推动Github项目#2触发Google Cloud Build项目#2中的构建

推荐答案

现在有一个添加另一个项目"按钮,可用于在设置Google Cloud Build连接时将存储库直接连接到其他项目.

There is now an "Add another project" button that allows you to connect repositories directly to different projects when setting up the Google Cloud Build connection.

查看此屏幕截图:

这篇关于为什么任何项目上的git push都会触发Google Cloud Build(GitHub Apps)中的构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆