Last modified: 2013-05-11 13:01:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50215, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48215 - zuul should have distinct parameters for server calls and status url
zuul should have distinct parameters for server calls and status url
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-07 16:37 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-05-11 13:01 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-05-07 16:37:08 UTC
The Zuul configuration for Jenkins is simply a server parameter. That is used both to craft the reporting URLs and to do the API call. Ex:

 server=https://integration.wikimedia.org/ci/

That makes sense when crafting a status URL but that cause the internal API calls to Jenkins to use SSL and pass via the Apache frontend proxy.

I did a patch a long time ago for Gerrit: https://review.openstack.org/#/c/16884/ that introduced a baseurl parameter.

We could get a baseurl for jenkins that will be used when reporting an URL to a human and internally use the server. The resulting configuration would be:

 [jenkins]
 server=http://10.0.0.1:8080/ci
 baseurl=https://integration.wikimedia.org/ci
Comment 1 Antoine "hashar" Musso (WMF) 2013-05-07 16:38:00 UTC
On second though, mabye the url_pattern is enough and we should simply update our server to point to the internal IP.
Comment 2 Antoine "hashar" Musso (WMF) 2013-05-11 13:01:03 UTC
I have simply made Zuul query Jenkins directly with:

https://gerrit.wikimedia.org/r/#/c/63069/

That makes this feature useless.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links