Commit Graph

33 Commits

Author SHA1 Message Date
Monty Taylor f0b77485ec Run Zuul using Ansible and Containers
Zuul is publishing lovely container images, so we should
go ahead and start using them.

We can't use containers for zuul-executor because of the
docker->bubblewrap->AFS issue, so install from pip there.

Don't start any of the containers by default, which should
let us safely roll this out and then do a rolling restart.
For things (like web or mergers) where it's safe to do so,
a followup change will swap the flag.

Change-Id: I37dcce3a67477ad3b2c36f2fd3657af18bc25c40
2020-04-24 09:18:44 -05:00
Vu Cong Tuan 07ccb8444f Update Zuul Status Page to correct URL
Current URL of Zuul Status Page in doc is:
http://status.openstack.org/zuul/

The correct URL must be:
https://zuul.openstack.org/

Change-Id: I042c53ee49b9ac08504a56ca56adaacd3d9a4548
2018-05-25 08:22:58 +07:00
James E. Blair 6e5fb08e69 Enable gerrit_strip_branch_ref in Zuul
Change-Id: I8f68f263d369f6abd8d9ea6f1dd7bfab69280999
Depends-On: I5c8e6f95a78c70b861255ecbf55493efb7b6cc10
2017-09-19 15:40:28 +00:00
Paul Belanger ab30c8d249 Break out openstack_project::server from zuul_prod.pp
Change-Id: I1a38a283ed0fe06d51a57b3c43ca708978132255
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-07 15:21:48 -05:00
Fabien Boucher 9bdf19978e Use openstackci module for zuul_merger zuul_prod and zuul_dev
Depends-On: I48e49c760d5304bd7dd5b0bbbdaa27329b2d8a5f

Change-Id: I98ab36cca49f8784fc93c46db69bc2a777a61938
2015-07-02 13:48:12 -07:00
Fabien Boucher e398ff3def Do not set the manage_log_conf feature flag as default is true
This patch takes part of the smooth shift of log
configuration files from system-config to puppet-zuul.

Here we remove the usage of manage_log_conf to true as
the patch this one depends on set the feature flag
as true by default. This removes useless redundancy.

This patch should be marged after Iae1e8329373463b332bf1452ec05187d8fda20e3
has been validated and merged.

Change-Id: I6693244d54d44b3f1044ff6a9016184e5b8af4ec
Depends-on: Iae1e8329373463b332bf1452ec05187d8fda20e3
2015-05-15 07:55:17 +00:00
Fabien Boucher 03560b7696 Let puppet-zuul manage log configuration files
gearman-logging.conf, logging.conf and merger-logging.conf
has been moved in puppet-zuul modules in:
I76851c8672968a7581622cac8ff0062c1f50e0ef

The patch this one depends on adds a feature flag (by default set
to false) that can activate the installation of these configuration
files.

This patch removes the configuration files and set the
feature flag to true in order to let puppet-zuul manage
the configuration files by itself.

Two follow up patches will then be created (once this one is merged)
in order to set the feature flag (in puppet-zuul) at true by default
and another one on system-config to remove "manage_log_conf => true".

Change-Id: Ic5ceb7fb23a8403a31f9db2774ddd900fd838930
Depends-On: I76851c8672968a7581622cac8ff0062c1f50e0ef
2015-05-07 16:33:58 +00:00
Elizabeth K. Joseph f8d1a5c225 Update review.o.o IP addresses in Zuul ssh config
The IP address for review.openstack.org has changed, update the
.ssh/known_hosts file for the Zuul user on the production server
to reflect this in case of DNS problem.

Change-Id: Ic416299cbde6aadfce357c0ab15a9db69aada4ba
2015-03-23 11:01:51 -07:00
Jenkins 3c9cb4a2e6 Merge "Allow HTTPS through iptables on zuul.openstack.org" 2015-03-23 03:20:51 +00:00
Jeremy Stanley 72e1adce97 Allow HTTPS through iptables on zuul.openstack.org
Change I1a11c990ea83e00550a0564ac1cf9d5d883db97d enabled Apache
listening for HTTPS but did not open 443/tcp in the local iptables
firewall on the server. Do that now so that it's reachable.

Change-Id: I591ca846abe0ee5e3b67ca6efd28f6f55987478f
2015-03-18 20:13:08 +00:00
Jeremy Stanley cd324bdfac Also serve zuul status.json via HTTPS
So that we can include slices of zuul status data via Javascript at
https://review.openstack.org/ we also need it to be served via HTTPS
to match or else browsers will balk at it. Note that this does not
stop serving via HTTP or redirect it in any way, it is merely a
secondary means of obtaining the same data.

Change-Id: I1a11c990ea83e00550a0564ac1cf9d5d883db97d
Depends-On: I9799f39bf170f660bcbc17719937e1e87b68ac4a
2015-02-26 14:45:31 -08:00
Joshua Hesketh fc44a50f64 Set the expiry for zuul swift instructions
Update the time from the default 2hrs to 4hrs. Some jobs now take
longer than 2 hours to run and this also allows time for testing
when a node is in hold.

Depends-On: I73758f04ed8dfb0e5227eac55505c9bc01c540df
Change-Id: I9e76ccdd9735e6042744f237ceb9af9b9d570f76
2015-02-18 14:46:55 +11:00
Ramy Asselin 8c1eb764df Remove recheckwatch module
No longer needed. Remove as part of module-split sprint.
Also remove reference to it from openstack_project/zuul_prod.pp.

Change-Id: I6424d6d7c22b240ca3f1453d5b8770ed56e61e12
2015-01-28 12:37:23 -08:00
Ricardo Carrillo Cruz 171769a441 Expose status_url parameter in zuul_prod/dev class signature
The status_url is not exposed in the signature, and it's
used a hardcoded value in the nested ::zuul class declaration.
This allows user to define their own value.

Change-Id: Ibf0aafaa4c7d86a5d3ba71018b93427e6a8c744e
Closes-Bug: 1387994
2014-10-31 15:49:24 +01:00
James E. Blair 8347b74ace Switch zuul and zuul-dev to project-config
Start using the project-config repo for Zuul.  Stop managing
/etc/zuul/layout in the zuul module itself in favor of the
project_config module.

Change-Id: I46ddb22c53783c0cffa665959f708b0568abd25f
2014-09-25 11:03:00 -07:00
James E. Blair a7810c3f99 Move zuul layout into /etc/zuul/layout
Move the layout.yaml and functions files into a subdir of /etc/zuul
to facilitate the separation of project and system configuration.

Change-Id: Ib62063ffef91c370d4626e8590ac856177f6099f
2014-09-25 10:40:05 -07:00
Arx Cruz 7d2c21b75d Adding auth_version option to zuul.conf
Zuul swift plugin checks for auth_version in zuul.conf. If swift
not found this option, it assumes 2.0 as default.
This patch add the possibility to specify which version you want
to use, allowing custom versions. It will be good in future when
version 3.0 releases.

Change-Id: I1ffd327feba8d290bf05291b022fff00af454c48
2014-07-28 12:51:37 -03:00
Joshua Hesketh 564f8ab237 Configure swift credentials for workers to push to
This change adds credentials as set up by fungi (2014-04-05T03:16:46)
http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2014-04-05.log

This allows zuul to send signed URL's for workers to push files to on
a per-job basis.

This change will require a zuul restart, not just a reload!

Note this is unreverts the revert in
c1b98eaff6 but is slightly edited hence
the lack of a proper revert commit. The reason for the revert has been
debugged and was due to rax identity service not providing a catalog
entry for swift when a tenant name is provided.

Change-Id: I04d3207002f7422b9851515ee88a74b19dd2f248
2014-05-20 13:36:36 -07:00
Clark Boylan c1b98eaff6 Revert "Configure swift credentials for workers to push to"
This reverts commit 176f15cd48.

Puppet and zuul aren't ready for this. The swift client throws an
exception. We need to restart zuul to fix a more pressing issue hence
this revert. Will debug when able to.

Change-Id: Ie4487d84b7f1495c7ec6fd31e4b5b90d6699a31d
2014-05-05 18:49:15 -07:00
Jenkins 30d8b49457 Merge "Configure swift credentials for workers to push to" 2014-05-05 22:14:52 +00:00
James E. Blair deed969d2d Update review.o.o ip addresses
Which are used in the puppet-managed known_hosts files for zuul.

Change-Id: I2664f609f6172515f2933b06cb06eb6a5d3ca9a7
2014-04-28 14:28:13 -07:00
Joshua Hesketh 176f15cd48 Configure swift credentials for workers to push to
This change adds credentials as set up by fungi (2014-04-05T03:16:46)
http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2014-04-05.log

This allows zuul to send signed URL's for workers to push files to on
a per-job basis.

This change will require a zuul restart, not just a reload!

Change-Id: Ib198112db0493456345fec83b32fabf606d835d2
2014-04-25 12:07:24 -07:00
James E. Blair 9c73295557 Add gerrit ip addrs to zuul's known_hosts
Otherwise we get warnings from ssh.

Change-Id: I0a7cb1c4933c3ac3aaba8cc3018ad0c470d19e05
2014-02-18 10:10:30 -08:00
James E. Blair 17e09934db Fix zuul installation
The following items were missing from an automated zuul install:

 * A pre-populated known hosts file
 * The git user/email for creating commits (.gitconfig existed
   on zuul.o.o, but switch to using zuul's config file instead).

Also, make sure that the mergers specify the zuul server as the
gearman server address rather than localhost.

Change-Id: I47a473f60c4b5b2daaa910aa61cdf6e0c6fe1528
2014-02-18 02:33:24 +00:00
James E. Blair 083281f7ee Add Zuul merge servers
Remove obsolete config options from zuul module.

The server and merger classes are constructed so that they
may coexist on a single server.  Also, the init section is
constructed so that it will install everything needed for
both services but without activating them (leaving maximum
flexibility for the operator).

Change-Id: I7b86fbbe4611c5edfb463a0a6944e0717f664188
2014-02-17 11:11:21 -08:00
James E. Blair 2866945db2 Have Zuul replicate to git.o.o
Change-Id: I750e8ea75181dacb10275a38fa702ed1edb56d4c
2014-01-08 15:52:00 +08:00
Arx Cruz 5e5023ebae Zuul puppet support to zuul_url option
This adds the zuul_url support in puppet.

Change-Id: Ie37744f11452efc4029c1fe93d880dd3a4ecb831
2013-11-27 09:58:47 -02:00
James E. Blair b93eb82cad Add testresult commentlink
Will take effect when Zuul is running this change:
  I74702fd7d37358e6f4caa7e7ac0a3ede73184077

This change also adds that feature to the Zuul config and enables
it for OpenStack.  It also adds the ability to specify HTML in a
commentlink (and uses it).

Change-Id: Idb4ad8e6079165d681271987a92cab5d8b7c81be
2013-08-18 12:43:15 -07:00
Clark Boylan 663fd2225f Cleanup unneeded Jenkins vars.
Now that Zuul and Jenkins use Gearman we don't need to push Jenkins auth
details down into the zuul manifests. Removes these parameters and vars.

Change-Id: I744977f002eb9fb60c3392f0281ab033ffe2bb12
2013-07-31 16:19:49 -07:00
James E. Blair 07e2c94b58 Switch zuul.o.o back to master branch
Now that feature/gearman has been merged there.

Change-Id: I97df706ab3de6b83aff51f04742a843d72ae3292
2013-07-18 14:45:15 -07:00
James E. Blair ae5c7ea776 Reconfigure jobs for gearman plugin.
And reconfigure zuul.openstack.org for gearman.

Change-Id: I251135e3b0f2638bcc0d817dadb549c0fc2e0d2f
Reviewed-on: https://review.openstack.org/32164
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2013-06-14 20:18:21 +00:00
James E. Blair fff4eb63d2 Install the default zuul status page.
On a zuul server, install the default status page as shipped by
Zuul (and its dependencies).

Remove openstack-specific redirects (hopefully it's been long enough
now).

Change-Id: Idfa2d9a4aa261182d166a36193fe74e1d922bcd9
Reviewed-on: https://review.openstack.org/29262
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-17 17:07:20 +00:00
James E. Blair 7f7a96ca96 Rename zuul manifest to zuul_prod.
Because puppet scoping is ridiculous.

Change-Id: I5a62a272353a88fe996e946ef3611a8320ba9c30
Reviewed-on: https://review.openstack.org/29011
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-13 22:08:47 +00:00