Artifact Repositoryとは?
artifact repositoryは、npmパッケージ、Maven JAR、Python wheel、コンテナイメージといったbuildのartifactや依存関係を保存し、バージョン管理し、提供するサーバーです。チームのバイナリの正本として機能し、パブリックレジストリのproxyやcacheも行えます。Artifactory、Nexus、GitHub Packagesのようなツールがこの役割を担います。
なぜ重要か
CI実行のたびにすべての依存関係をパブリックレジストリから取得するのは遅く脆弱であり、内部ライブラリの公開には信頼できる置き場所が必要です。artifact repositoryはその両方に加え、アクセス制御と保持を提供します。proxy cacheとして機能することで、buildを上流の障害から隔離もします。
関連する概念
- パッケージ、ライブラリ、コンテナイメージを保存する
- 多くの場合パブリックレジストリのproxy cacheも兼ねる
- 例: Artifactory、Nexus、GitHub Packages
関連ガイド
What Is a Proxy Cache?A proxy cache sits between your builds and an upstream registry, caching fetched dependencies locally so repe…
What Is a Package Mirror?A mirror is a complete local copy of an upstream package registry or repository, kept in sync so builds can f…
What Is a Container Registry?A container registry is a storage and distribution service for container images, where builds push and deploy…