Nexus或Artifactory可以存储简单的tar.gz工件吗? [英] Can Nexus or Artifactory store simple tar.gz artifacts?

查看:205
本文介绍了Nexus或Artifactory可以存储简单的tar.gz工件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在全球不同的数据中心中都有云服务器.每个数据中心都彼此独立.

I have cloud servers located in separate data centers across the world. Each data center is separate from the others.

我正在寻找一种简便的方法,可以在这些区域中的每个区域中轻松且一致地将工件部署到服务器的单个群集(这些群集可能正在运行不同版本的软件,例如,开发,测试和生产群集).在我看来,工件服务器正是我所需要的,因为我可以在云服务器上执行安装脚本,从而拉下正确的软件工件.

I'm looking for an easy way to deploy artifacts to individual clusters of servers (that may be running different versions of software i.e. a dev, test, and production cluster) in each of these regions with ease and consistency. It seems to me that an artifact server is what I need because I could execute an install script on the cloud server, which pulls down the correct software artifact.

现在,我在操作方面工作.我不在乎进行构建或管理软件构建依赖项.我只想要一个工件服务器,可以在其中存储所有不同版本的软件包,以便以后使用.更重要的是,我要存储几种不同类型的工件.

Now, I work on the operations side. I don't care about doing builds, or managing software build dependencies. I simply want an artifact server where I can store all the different versions of my packages for access at a later time. The kicker, is that I have several different types of artifacts to store.

  • Shell脚本
  • Python脚本
  • 人偶清单
  • Debian文件(通常以多个debians的tar.gz文件形式提供)

Nexus或Artifactory是否可以管理所有这些类型的程序包,还是我应该朝其他方向看?我不反对将make文件添加到仅生成tar.gz文件的Shell脚本项目中.我只是不想沿用建立工件存储库的道路,最终,只需一点脚本,wget和apache服务器就可以正常工作.

Can Nexus or Artifactory manage all of these types of packages, or should I be looking in a different direction? I'm not opposed to adding make files to my shell script projects that simply generate tar.gz files. I just don't want to go down the path of setting up an artifact repository, when ultimately, a little scripting, wget, and an apache server would work just fine.

推荐答案

Artifactory Nexus 都可以处理任何类型的文件,因为它们都是"二进制存储库管理器" .

Both Artifactory and Nexus can handle any type of file, as they both are "Binary Repository Managers".

尽管如此,Nexus在技术上可以存储任何文件,但不支持不符合Maven存储库布局的二进制文件.例如,此类文件将不会被索引,也无法在搜索中检索到;另外,如果非Maven工件在其路径上妨碍了模块信息,那么当前Artifactory是唯一可以利用该信息并允许对工件进行基于版本的操作的存储库(例如,下载最新版本的查询)

Albeit that, Nexus can technically store any file, but lacks support for binaries that do not adhere to the Maven repository layout. For example, such files will not be indexed and cannot be retrieved in searches; Also, if non-Maven artifacts encumber module information in their path, then currently Artifactory is the only repository that can make use of that and allow version based operations on artifacts (e.g., download latest version query)

尽管这两种工具都是通过解决 Maven 世界中的问题而开始的,但对智能的需求二进制管理已在许多其他领域得到认可,例如 包括的操作 .

Although both of these tools have started out by solving a problem in the Maven world, the need for smart binary management has been recognized in many other fields, operations included.

二进制文件确实需要专门的经理,尽管网络共享/SCM/文件服务器在开始时似乎是一个可行的选择.他们只是不扩展.

Binaries do need a specialized manager, and although network shares/SCM/file servers seem like a viable option in the beginning; they just don't scale.

另请参见我的回答类似问题,以了解经理相对于其他临时解决方案的某些好处.

Also see my answer to a similar question for some of the benefits of a manager over the other ad-hoc solutions.

这篇关于Nexus或Artifactory可以存储简单的tar.gz工件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆