14 Commits

Author SHA1 Message Date
David Pursehouse
63083a6aff Ignore testr_subunit_log
Change-Id: I822aeae07baa89f6654f1866eb5c963e1fa86a50
2014-10-21 11:02:40 +08:00
Marc Abramowitz
b33ac74828 Add tox "coverage" target
Change-Id: I577d62e016a550ea30671837a0a426165984e982
2014-05-27 16:50:34 -07:00
David Pursehouse
ff704931b1 Doc: Use VersionInfo from pbr and remove openstack common modules
The setup was migrated to pbr in d2ff8c0, but the documentation
build is still using VersionInfo from a bundled version of the
openstack common modules.

Migrate the documentation build to use VersionInfo from pbr, and
remove the no-longer-used common modules.

Change-Id: I7dcd5b0328613c7c72efa2df8c26d9c9b1d47c0f
2014-04-30 09:59:39 +09:00
Antoine Musso
f2c267f19c stop ignoring doc/source/*
The doc/source directory contains rst files which are all tracked in
git. Apparently sphinx never generates anything there so I guess we can
stop ignoring the directory content.

Change-Id: Ica41c7644cfc78203b3a5f8072a4452de49aa794
2013-09-23 17:49:48 +02:00
Antoine Musso
b829874916 Tests for publishers
I am trying to build up a very basic testing framework so we can tests
our publishers. The idea is to provide a YAML input file and expected
XML output, run the parser on the YAML file and compares its output with
the fixture XML.

That test suite should speed up development of new publishers.

TestCaseModulePublisher is declared inside a function so that unittest
discovery does not consider it a usable test directly. load_test is
responsible for instantiating the test suite.

Change-Id: If3260113eb1337ac47c3883b11c600e5a595dae3
[fabre.arnaud@gmail.com: fixed some runtime errors]
Signed-off-by: Arnaud Fabre <fabre.arnaud@gmail.com>
2013-07-19 14:31:11 +02:00
Timo Tijhof
f05ed7c0ae Gitignore: Add /etc/jenkins_jobs.ini and output/ directory.
Change-Id: I358b0a05a2a1a9936f30eef3e77b555eff1044ec
Reviewed-on: https://review.openstack.org/21908
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2013-02-17 07:57:58 +00:00
Jon-Paul Sullivan
efa1ddf0c3 Bugfix and tidy-up
Allow the configuration file to be optional for test mode
Tidy-up the hipchat notifier module
    - Require a valid hipchat authtoken
Ignore temporary vi/vim files in .gitignore
Add extra debugging output
    - write out cache file to enable easy removal to force upload
    - clearly notify that no changes are seen so uploading not occurring

Change-Id: Ia418704b76090e284e0b801609f2f05bfa06b9ae
Reviewed-on: https://review.openstack.org/20380
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Khai Do <do.khai@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-30 00:31:54 +00:00
Paul Belanger
0b9691ea02 Update tox to exclude *egg for pep8
I'm looking at you setuptool-git

Change-Id: I0b40bc2d902b056085567b7ac740fefd9f5950f0
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/16545
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-20 17:03:18 +00:00
Paul Belanger
95cafc8bb0 Add openstack-common support for setup and version
With help from clarkb in #openstack-infra and openstack-ci/gerritbot,
I've manage to update our versioning to be inline with other openstack
projects. This is another step towards creating our OS packaging.

Change-Id: If3f44b939ee0a3c9c4dfa1d9f83ae14a8285ba5f
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15335
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-11-10 23:36:16 +00:00
James E. Blair
ab7c6bc6c1 Add documentation.
Move test.sh to the tools directory.
Move parameters and notifications to their own modules; even
though they are implemented as Jenkins properties, they make
more sense as separate entities in the job builder, because
that's they way they are specified in the YAML.  All three
modules that touch the properties xml object know how to
create it if it's missing.

Change-Id: I4b42ff10a93fd3ed98f632b58e47f3e0e45086d6
Reviewed-on: https://review.openstack.org/12741
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-17 20:25:38 +00:00
James E. Blair
0c2bef0803 Add test to determine whether XML output has changed.
Change-Id: I5e0b76e195a1b412d180484ce1ddd3e9159d7779
Reviewed-on: https://review.openstack.org/12286
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-01 03:52:21 +00:00
James E. Blair
fb0a113eff Add tox.ini and pep8, pyflakes cleanup.
Change-Id: I4d6312e92dffd596ae58e55c837e3db3ea7d1c52
Reviewed-on: https://review.openstack.org/11198
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-15 00:26:28 +00:00
James E. Blair
1b37d05edb Remove example config.
Change test.sh to expect a config directory, symlinked to
config files outside of this project.

Change-Id: I84067b494bd8e9ce28c9e74c3556ec78000d83e8
Reviewed-on: https://review.openstack.org/11161
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-10 18:49:34 +00:00
James E. Blair
8f09841693 Refactor modules and templating.
Switch to using entry points for loading modules as well as
individual buliders, triggers, publishers, etc.

Remove most openstack-specific python code.

Change templating so it's less repetitive -- a single project
definition will suffice for multiple jobs or job-groups.

This outputs XML that is identical to the current production XML,
warts and all.  There are significant improvements that can be made
to the YAML in a separate change, as they will cause minor changes
to existing jobs (adding timestamps, logrotate, etc.).  These are
mostly marked with TODO in this change.

Change-Id: Idcfddb3b43b6cfef4b20919a84540706d7a0a0b1
Reviewed-on: https://review.openstack.org/11000
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-10 16:00:42 +00:00