Codemagic是一个用于flutter应用程序的构建服务,它内置了对bitbucket、github等的支持。但是,它也支持从其他来源链接存储库。为了设置这一点,他们会要求你提供一个特定的格式。URL的格式为:https://example.com/username/repo.git或git@example.com/username/repo.git。
我正在尝试弄清楚如何以这种格式为我的google cloud源代码库提供一个url。我试过这个[https://source.developers.google.com/p/[project-name]/r/[repo-name/](https://source.developers.google.com/p/[project-name]/r/[repo-name/],但是它抱怨凭证的问题。如果我使用‘git@soure.developers.google.com/.’format我获得了加载ssh密钥进行身份验证的选项,并且通过了验证,但是它没有正确地注册/查看端点上的存储库,所以有些东西是关闭的。
以前有没有人这么做过。我在google cloud上看到了一些关于带签名的url的东西,我想也许我可以使用https:格式来做一个带签名的url,尽管我所看到的所有带签名的url都与云存储有关,而不是与云源相关。
发布于 2020-08-12 22:17:02
除了@Mikhil Tokarev的回答之外,您还需要在添加Google源代码库之后手动添加一个webhook。请参阅本帖https://stackoverflow.com/a/63362923/11082769中我的答案详细说明
https://stackoverflow.com/questions/59812338
复制相似问题