17 Commits

Author SHA1 Message Date
James E. Blair
42dc2ac848 Change the name of the pypi tarball job.
The pypi_jobs template defines a -tarball job which is different
than the -tarball job in python_jobs template.  That's confusing,
and not supported by the version of job-builder in development.

This changes the name of that job, updates the zuul layout, and
removes the "upload" from the sdist command in the tarball job,
which wasn't working anyway (and isn't wanted).

This alse enables the reddwarf jobs, which are configured in zuul.

Also, there's a hackish change to test.sh and the test output
to write out xml files in a way that's compatible with the
version of job-builder in development, so that they may be
directly compared.  The new version will not implement that
in quite such a hackish way.

Change-Id: Ice3f03b41e44e2979942f516febd059f4ab4cefa
Reviewed-on: https://review.openstack.org/11108
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-10 14:45:06 +00:00
James E. Blair
a511ad1a82 Increase text contrast.
Change the text color to black to increase the contrast and improve
legibility.

Change-Id: I641c30904184711c239741076a549e0d2b4761c7
Reviewed-on: https://review.openstack.org/10285
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: linuxjedi <andrew@linuxjedi.co.uk>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-09 13:24:59 +00:00
James E. Blair
a52452397a Switch "queue" to "pipeline" in zuul.
Change-Id: I02064d3c49135e41ba19be3790e6f3e695dd5b32
Reviewed-on: https://review.openstack.org/10982
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-07 17:55:01 +00:00
Monty Taylor
efe7d5ac02 Add openstack/requirements.
Change-Id: Ic1a244ab0c851f4dfa5e43c2a6ca5b03fc3b4216
Reviewed-on: https://review.openstack.org/10923
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-06 23:25:56 +00:00
Clark Boylan
373f45f844 Add jobs to publish gerritbot tarballs/to pypi.
Gerritbot should be installable via pip. To make this possible add
jobs to publish gerritbot tarballs and push gerritbot to pypi when tags
are added to gerritbot.

Change-Id: I5de346cd96a096809c9fe44d2117ebdb45a180c4
Reviewed-on: https://review.openstack.org/10910
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-06 23:11:08 +00:00
James E. Blair
cf9ee4c23f Add jenkins-job-builder project.
Change-Id: I0389b92a0621ab276a91f00f7352986fee27e42d
Reviewed-on: https://review.openstack.org/10808
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-03 23:38:38 +00:00
James E. Blair
856ca2b2e8 Use oneiric for stable/diablo.
For all python27 jobs, use oneiric slaves if the branch is
stable/diablo.  Python26 jobs are already on oneiric due to
lack of python 2.6 on anything later.

Change-Id: Id440e14721ccdd4225c5e5b170510c3c000a36b3
2012-08-02 13:04:00 -07:00
Monty Taylor
383c023b15 Add support for initial project creation.
If replicate_local is set, this will ensure that /var/lib/git is created,
and that projects listed in the projects.config have repos there.

Additionally, it creates a new config file, projects.config which is a
yaml file listing all of the projects and various operational semantics about
them, such as whether or not they should have pull requests closed and whether
or not they track any remotes. This replaces remotes.config and github.config.

Moving forward, there is no reason to not have this script be able to
do github api calls to create the github repo if it's not there, set the
github project description, gerrit api calls to create the project in gerrit,
and initial project permissions templates.

Change-Id: I1ad803b0aa5f7386206d0c3f4cd858017242fe64
2012-08-02 15:49:02 +00:00
Clark Boylan
2ba9ba7a4d Switch zuul to jenkins python jobs template.
Switch zuul jenkins jobs config to use the python jobs template. The
gate-zuul-pyflakes job has been kept though. Add zuul-docs job as well.
Configure the zuul layout to gate zuul on python26 and python27 jobs.
Also configured to run the zuul-coverage job and zuul-docs job post
merge.

Change-Id: Ib3500c361bca0e2c35fa9552b0aa98468d2f040f
2012-08-01 10:03:28 -07:00
Monty Taylor
d20c4523bf Broke launchpad user sync into its own class.
Additionally, the file installation of the scripts wasn't working,
so the sync script wasn't actually getting installed. This moves
the underlying scripts to be installed by the gerrit module,
because it owns /usr/local/gerrit/scripts, and then manages the
gerrit hooks which call those scripts in the openstack_project
class, since that's where the config choice to enable those
functions really should live.

Change-Id: I54fb9edd9fb0c634d8d9de4e57f9ddad6af63a99
2012-07-29 13:04:17 -05:00
Clark Boylan
375fc3b2fe Gate Horizon on Selenium tests.
The Selenium test framework is working and tests are passing. Add these
tests as gate tests to the Horizon project.

Change-Id: I6ee8b9b46ed5268ffe62f842972b6760172dc075
2012-07-26 13:02:22 -07:00
James E. Blair
604cb4f6c4 Add cinder to gate.
Requires https://review.openstack.org/#/c/9746/.

Change-Id: I88a7280b7ff66f005006ce359c23c8919b6f8b1a
2012-07-25 12:09:43 -07:00
Jenkins
3ffc500842 Merge "Add framework for selenium tests on test slaves." 2012-07-24 18:37:45 +00:00
Clark Boylan
254bb0f488 Add framework for selenium tests on test slaves.
Fixes bug #996190

Add framework to run selenium tests on the test slaves. This includes
installing the firefox and Xvfb packages, wrapping Horizon selenium
tests with a script that creates an Xvfb X server, and running the
Horizon selenium tests as check tests. The framework assumes selenium
tests will use the WebDriver API and not need any other pieces of
selenium (No selenium server etc).

Change-Id: I4f4cc502276890d617b5baaadf5f8a6eae1ba1ff
2012-07-24 10:08:11 -07:00
Monty Taylor
a3953c334f Add root hiera config for the puppetmaster.
Change-Id: I4e9358f083a9a1938a7080610cc5964834889593
2012-07-24 11:27:09 -05:00
Monty Taylor
5609c50cd5 Move OpenStack branding and launchpad integration.
Launchpad integration and the OpenStack branding files are really
more about the OpenStack specific install of Gerrit than they are
about any installation of gerrit. Both of these are moved to the
openstack_project module.

Change-Id: I8b281aa5cb751a8023c2101c45146a3aca5f90f3
2012-07-23 14:46:55 -05:00
Monty Taylor
3776f952dc Move OpenStack classes to openstack_project module
Change-Id: Iafcd2e06c5b62e4cde5eccaab3173a20bb08a78d
2012-07-23 10:31:58 -05:00