[Ci-users] artifacts from inside and outside the ci infra
trown at redhat.com
Tue Jan 5 16:16:48 UTC 2016
On 01/05/2016 10:50 AM, Attila Darazs wrote:
> On 11/24/2015 02:28 PM, Fabian Arrotin wrote:
>> On 24/11/15 13:02, Karanbir Singh wrote:
>>> what was the final decision around how best to export artifacts so
>>> they are visible on the same url as internally inside of ci ?
>> Let me recap what we discussed the other day : Actually artifacts are
>> available from outside through the following URL :
>> Someone tried to (for a job) also not store but first retrieve
>> previously saved artifacts pushed to the artifact node (see
>> Problem is that from an inside PoV, ci.centos.org is a A record
>> pointing directly to the jenkins node, while from an external PoV,
>> it's pointing to an nginx reverse proxy ( / being redirected to
>> jenkins, while /artifacts is itself a proxy_pass to the internal
>> artifacts node)
>> We can't just simply redirect now the internal A record to the nginx
>> reverse proxy , as Jenkins slave java processes are accessing
>> ci.centos.org internally through jnlp too , on some specific/fixed
>> ports, so internal ci.centos.org A record needs to still be pointing
>> to jenkins node.
>> The proposed solution is then to setup nginx on the jenkins node
>> itself, redirecting / to itself (on the jenkins port, and not through
>> iptables redirect rules), while /artifacts would then be redirected to
>> the internal artifacts node, so that would mean that all URLs would be
>> accessible internally and externally.
>> If that sounds good for everybody, we can create a "card" on the CI
>> board and implement that during next maintenance window.
> Is there any update on this?
> I still get 404 on
> from the our rdo-ci slave.
> We would need to have the same URLs in our jobs, otherwise people will
> have no success trying to reproduce them outside of the CentOS CI
I do not think it is such a big deal to have the default url be the one
that works outside of CI, and just have CI override the default. This is
what I have been doing for tripleo-quickstart.
> Ci-users mailing list
> Ci-users at centos.org
More information about the Ci-users