定期使用Google Cloud Scheduler触发Google Cloud Build [英] Trigger Google Cloud Build with Google Cloud Scheduler periodically

查看:150
本文介绍了定期使用Google Cloud Scheduler触发Google Cloud Build的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过 Google Cloud Build

我在互联网上找不到与之相关的任何东西.

I can't find anything related to it on the Internet.

推荐答案

在Cloud Scheduler中,我们对项目的构建触发器执行HTTP请求:

In Cloud Scheduler we perform a HTTP request on the project's build trigger: https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.triggers/run

对于身份验证,我们使用服务帐户.

For authentication we use a service account.

这篇关于定期使用Google Cloud Scheduler触发Google Cloud Build的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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