2 internal artifactory(s)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

2 internal artifactory(s)

adryen31200
Hello all,

In my company we want to have 2 different artifactory(s).

- 1 instance of artifactory installed on 192.168.1.160 (for example) which represent the R&D department division repo.
- 1 instance of artifactory installed on 192.168.1.90 (for example) which represent the Services department division repo.

We want the first artifactory (R&D) operates as provider of the second artifactory (Services), so that the second artifactory (Services) looking artifacts on the first  artifactory (R&D). in order to the second to get release/snapshot artifact from the first

What's do you think about the best solution ?
- define the first repository as a remote from the second
- define the first repository as a proxy in admin section of the second
- define the first repository as a maven mirror of the second

Thank you very much.
Best regards,
Adrien
Reply | Threaded
Open this post in threaded view
|

Re: 2 internal artifactory(s)

itamarb
Hi Adrien,

The best option would be option 1.
Create a remote repository on your 'Services' instance that points to the local repository on the 'R&D' instance, you can configure it to not store local caches if you do not want to store duplicate artifacts on both instances, see this documentation on how to configure this: https://www.jfrog.com/confluence/display/RTF/Advanced+Settings#AdvancedSettings-OtherSettings.

When configuring resolution of your build tools from the 'Services' instance, it is recommended to create a virtual repository that aggregates all your required repositories, and include this remote repository in it.

HTH,
Itamar