简体   繁体   English

将二进制文件迁移到JFrog Artifactory

[英]Migration of binaries to JFrog Artifactory

Is there a script or any other automated process for migration of artifacts into JFrog? 是否存在用于将工件迁移到JFrog的脚本或任何其他自动化过程? We are currently working on this and need more information to carry out this process. 我们目前正在研究此问题,需要更多信息来执行此过程。 Please help us in achieving this. 请帮助我们实现这一目标。 Thanks in advance. 提前致谢。

For an Enterprise account, I'd suppose S3 storage and a significant number of artifacts, so there will be no easy and automated way to do it. 对于企业帐户,我假设使用S3存储和大量工件,因此将没有简单且自动化的方法来实现此目的。 It also highly dependent on the storage implementation of choice in the on-prem solution. 它还高度依赖本地解决方案中选择的存储实现。 If you plan to use S3 storage, JFrog can help to perform S3 replication. 如果计划使用S3存储,则JFrog可以帮助执行S3复制。 In other scenarios, the solution will be different. 在其他情况下,解决方案将有所不同。 I suggest contacting the support. 我建议与支持人员联系。

If you have an existing artifact repository, JFrog Artifactory supports acting as an artifact proxy while you are in the process of migrating to Artifactory. 如果您具有现有的工件存储库,则在您迁移到Artifactory的过程中,JFrog Artifactory支持充当工件代理。

I would recommend the following: 我建议以下内容:

  1. Create a local repository in artifactory 在工件中创建本地存储库
  2. Create a remote repository in artifactory which points to your current artifact repository. 在工件中创建一个远程存储库,它指向您当前的工件存储库。
  3. Create a virtual repository in artifactory which contains both the local and remote repositories. 在工件中创建一个虚拟存储库,其中包含本地和远程存储库。
  4. Iterate on all your projects to have them publish to the local artifactory repository and pull from the virtual repository. 迭代所有项目,以将其发布到本地工件存储库并从虚拟存储库中提取。

The advantage to this workflow is that you can port things over piece by piece, rather than trying to do it all at once. 此工作流程的优势在于,您可以逐项移植内容,而不是尝试一次全部完成。 If you point a dependency at artifactory that hasn't been ported there yet, artifactory will proxy it for you. 如果您将依赖项指向尚未移植的工件,则工件将为您代理。 When the dependency is ported over, it will be transparent to its users. 移植依赖项后,它将对用户透明。

When you have moved everything to your local Artifactory repository, then you can remove the remote repository from your virtual repository. 将所有内容移至本地Artifactory存储库后,即可从虚拟存储库中删除远程存储库。

The relevant documentation is available here: https://www.jfrog.com/confluence/display/RTF/Configuring+Repositories 相关文档可在以下位置找到: https : //www.jfrog.com/confluence/display/RTF/Configuring+Repositories

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM