【发布时间】:2019-10-30 19:41:44
【问题描述】:
我在连接到私人存储库以获取证书和配置文件时遇到了一些麻烦。这是在 circle-ci 作业/工作流中的快车道上运行的一些代码。我想这可能是因为here
username = ENV['USERNAME']
personal_github_access_token = ENV["PERSONAL_GITHUB_ACCESS_TOKEN"]
authorization_token_str = "#{username}:#{personal_github_access_token}"
basic_authorization_token = Base64.encode64(authorization_token_str)
match(
git_basic_authorization:basic_authorization_token,
type: "development",
app_identifier: app_identifiers(),
readonly: true
)
错误
[12:08:10]: 克隆远程 git repo... [12:08:10]: 如果克隆 repo 时间太长,您可以使用
clone_branch_directly选项 匹配。克隆到 '/var/folders/1b/gl7yt7ds26vcyr1pkgld6l040000gn/T/d20191030-1122-178s7ae'... 错误:未找到存储库。致命:无法从远程读取 存储库。请确保您拥有正确的访问权限和存储库 存在。 [12:08:10]:退出状态:128 [12:08:10]:克隆错误 证书存储库,请确保您具有读取权限 您要使用的存储库 [12:08:10]:运行以下命令 手动确保您已正确验证:
感谢您的 cmets 和回答。 :)
【问题讨论】:
-
你解决了吗?
标签: fastlane circleci-2.0 fastlane-match