[英]Google Cloud Build loses ability to authenticate with my private GitHub repository
I'm having problems running my cloud build triggers reliably because of what appears to be a credentials timeout.由于似乎是凭据超时,我在可靠地运行云构建触发器时遇到了问题。
I have set up my Google Cloud devops project within Google Cloud Build and authenticated the triggers with my private GitHub repository.我已经在 Google Cloud Build 中设置了我的 Google Cloud devops 项目,并使用我的私有 GitHub 存储库对触发器进行了身份验证。 My private GitHub repository has the Cloud Build GitHub App integration.我的私有 GitHub 存储库具有 Cloud Build GitHub 应用程序集成。
My Cloud Build triggers work for a while, running fine whether run automatically or manually.我的 Cloud Build 触发器工作了一段时间,无论是自动运行还是手动运行都运行良好。
Then after a few hours I started to get errors in my trigger execution:几个小时后,我的触发器执行开始出现错误:
...
FETCHSOURCE
Initialized empty Git repository in /workspace/.git/
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com...
To try to resolve this I have used the Cloud Build triggers page to disconnect and then re-connect and re-authenticate with my private GitHub repository.为了尝试解决这个问题,我使用 Cloud Build 触发器页面断开连接,然后重新连接并使用我的私有 GitHub 存储库重新进行身份验证。 The repository management page shows a successful re-authentication, but I still get a "Invalid username or password" error when I run my triggers.存储库管理页面显示重新验证成功,但我在运行触发器时仍然收到“无效的用户名或密码”错误。
Is there something I'm missing about the way private repository authentication works?关于私有存储库身份验证的工作方式,我是否遗漏了什么? Is there another setting I'm missing that auto-refreshes Cloud Build authentication?是否还有另一个我缺少的自动刷新 Cloud Build 身份验证的设置?
This issue is the same to this public tracker issue:此问题与此公共跟踪器问题相同:
Unable to fetch repository from Github无法从 Github 获取存储库
Google Cloud Engineering Team is working on solving the issue.谷歌云工程团队正在努力解决这个问题。 You can star the public issue tracker feature requests and add comment in the thread that you are also affected to ensure that you will receive the updates about it.您可以为公共问题跟踪器功能请求加注星标,并在您也受到影响的线程中添加评论,以确保您将收到有关它的更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.