Local Agent Downloading Artifact From CDN Servers

Answered

Hello, I represent a company that uses teamcity as out cd ci and also we have CDN. and I was wondering if the agents are using cdn url to download artifact when resolving them, or download them with the normal (non cdn) url. also if it is downloading it without cdn I wondring if there is a way to activate it

0
1 comment

Hi Tomer,

Generally, the agent uses the URL of the artifact repository specified in the corresponding files of the project that is being built. I'm afraid, distributing the agent's requests between the artifact repository CND nodes is a bit out of the scope of the CI tool's responsibilities. In my understanding, to enable that, the CDN DNS server will need to make sure that the hosts asking for the address of the origin server get the address of the CDN node closest to them.

If you would like the CI tool to contact the right repository from the getgo, without any help from the CDN DNS server, you would need to specify the URLs of those repositories in the respective configuration file for the given project.

-Anatoly 

0

Please sign in to leave a comment.