如何镜像gitlab存储库以从AWS代码命令中提取?

发布于 2025-02-07 03:16:08 字数 353 浏览 2 评论 0 原文

我想使用设置 - >存储库 - > GitLab中的镜像字段创建一个镜像,从AWS代码命令中摘下代码我该怎么做?

我试图将URL字段放入类似: https://[email protected]/v1/repos/ AWS-CodeCommit-Repo

I want to use the settings -> repository -> mirror field in gitlab to create a mirror that pulls code from aws code-commit how can i do that?

I was trying to put in the URL field something like:
https://[email protected]/v1/repos/AWS-CODECOMMIT-REPO

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凹づ凸ル 2025-02-14 03:16:08

我想使用设置 - >存储库 - > gitlab中的镜像字段创建一个镜像,从AWS代码命令中摘下代码我该怎么做?

只要您拥有gitlab premium(

我试图将url字段放入以下网址: CBCC958996D9D59C2D7D7D9CFCB96DBD7D5“> [电子邮件&nbsp ;受保护] /v1/repos/aws-codecommit-repo

您应该只能使用 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

I want to use the settings -> repository -> mirror field in gitlab to create a mirror that pulls code from aws code-commit how can i do that?

As long as you have gitlab premium (Gitlab Docs)

I was trying to put in the URL field something like: https://[email protected]/v1/repos/AWS-CODECOMMIT-REPO

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文