Commit Graph

23 Commits

Author SHA1 Message Date
Vsevolod Fedorov 2bff1024fa Add TAGS file to .gitignore
It is produced by ctags/etags used in emacs.

Change-Id: Ia4723b6d8534ee53be572cf737ada26de8504e02
2022-06-09 11:40:58 +03:00
Zuul 6b6e8fb4e1 Merge "Add .venv to .gitignore" 2018-11-14 23:56:26 +00:00
sbussetti 7d065af894 Adds support for Disable GitHub Multibranch Status
Jenkins2 GitHub scms default to automatically sending updates on build
status to github for pull requests.  The plugin this enables allows
control of this by enabling or disabling the feature via an SCM trait,
allowing you to either no notify at all or manually notify via other
means.

Change-Id: I4f5629c3ee8031d41054e3be5e853201d8f0fed6
Signed-off-by: sbussetti <steve.bussetti@gmail.com>
2018-11-01 09:51:37 -04:00
Dustin Schoenbrun 862660f44f Add .venv to .gitignore
.venv was not a part of the .gitignore file and was showing up when
creating a virtual environment for developing with Jenkins Job Builder.
This patch adds .venv to the .gitignore file.

Change-Id: Ie32384290b9127759591a695cdfb5b0d6e740eb1
2018-10-26 15:33:13 -04:00
trane9991 92f18515b4 Extend multibranch pipeline project scm
Add suport of available extensions from default git scm
Story #2003620
Task #25743
Change-Id: I62f8018fb49d239ab634b502e51005a1465a81d9
2018-09-12 19:37:25 +03:00
Sorin Sbarnea c8ba7a5a0f Replace testr with stestr
Switch to use stestr which is maintained as opposed
to testrepository (testr) which became a defunct project.

Change-Id: I47f628a7d224189362f2b2cfd9fe4c54af198cde
2018-04-05 12:14:13 +01:00
Sorin Sbarnea c0b3b021dc Improve test resiliency
Avoids occasional test executions failures
caused by leftover files on dev machine or
by preexisting configuration files.

Change-Id: Ia0ba29e2dda58c37410a6926cae3039e4ba3473e
2018-01-18 18:08:56 +00:00
Sorin Sbarnea 8a7d77c180 Removed some deprecation warnings and enabled py35 on tox.
Change-Id: Icc5b28c4636b542a10502b7b1d2d2dc2028cc166
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2017-03-12 19:43:33 +00:00
Nicolas Glayre 3809cecef7 Modifying .gitignore file to add .idea folder
To not commit jetbrains project folder

Change-Id: I4ccb34558f29f60967d3c6602dff6abc31778807
2015-12-21 13:40:19 +01:00
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