如何镜像gitlab存储库以从AWS代码命令中提取?
我想使用设置 - >存储库 - > GitLab中的镜像字段创建一个镜像,从AWS代码命令中摘下代码我该怎么做?
我试图将URL字段放入类似: https://[email protected]/v1/repos/ AWS-CodeCommit-Repo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只要您拥有gitlab premium()
您应该只能使用
https://git-codecommit.us-east-2.amazonaws.com/v1/repos/repos/mydemorepo URL的形式。
应在设置的身份验证部分中添加IAM用户的用户名和密码。
请参阅:
https:// https:///docs.aws.aws.amazon。 com/codecommit/laste/userguide/设置 - gc.html
As long as you have gitlab premium (Gitlab Docs)
You should be able to just use the
https://git-codecommit.us-east-2.amazonaws.com/v1/repos/MyDemoRepo
form of the URL.The username and password for the IAM user should be added in the authentication part of the settings.
See:
https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html