19 Commits

Author SHA1 Message Date
Mark Vanderwiel
0130c33aca Capture periodic integration test logs
The openstack cookbook integration tests now have
logs saved properly so add them to what is published.

Change-Id: I5a11a660b090e570559f40083c5004e373d65de0
2016-04-14 10:06:36 -05:00
Paul Belanger
f67406a0ef Add install-distro-packages to chef jobs
Now that centos-7 and ubuntu-trusty are default, add the missing
install-distro-packages macro.

Change-Id: I50d74d610fd3715eae08c750f4c7db9a14164753
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-04-05 16:34:36 -04:00
Paul Belanger
77a4e86f05 Migrate chef jobs to centos-7
This is part of our migration from devstack-centos7 to centos-7 dibs.

Change-Id: I36cfbceec79a22158fe66238801e14d4b46895d8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-31 13:49:58 -04:00
Jenkins
34f125da14 Merge "gate-{name}-chef-rake: Convert to ubuntu-trusty" 2016-03-09 19:19:24 +00:00
Andreas Jaeger
b26518c5a9 gate-{name}-chef-rake: Convert to ubuntu-trusty
Run job on ubuntu-trusty instead of current bare-trusty.

Change-Id: I5d61c112ad19835b483c8a6449da8b0028e738b3
2016-03-09 11:06:34 +01:00
Jens Rosenboom
93154de31d Add publisher devstack-logs for chef integration
Currently the integrations tests paste a lot of logs onto the console in
order to make them viewable.

After adding this publisher, we can change the test to just copy the
relevant files and they will get saved to the log server.

Change-Id: I2c3f9c272b3f4c526d28a3c0b45b8312b0a55eea
2016-03-04 14:46:21 +01:00
Jan Klare
d4c7da2f5b run integration testing for chef-cookbooks on centos7 and trusty
* added {node} variable to gate-*-chef-rake-integration-nv job template to allow
  converge of ubuntu and centos7 nodes for integration testing of all
  chef-cookbooks (same goes for the periodic integration test in the chef-repo)
* removed quoting for job template names in chef-jobs

Change-Id: Ia4ea9866057b12d7aa0176284ea88a50ab9fbee8
2016-03-01 11:56:53 +01:00
Jan Klare
b82a9df382 removed unused job gate-openstack-chef-repo
* the gate-openstack-chef-repo job has not been used since a long time and does
  not work anymore (was replaced with with gate-openstack-chef-rake job)

Change-Id: If91e488ad8efd31c19e361bbe6e169841cc87c4e
2016-02-04 10:13:19 +01:00
Christoph Albers
de88b1b286 Removed testjobs and corresponding chef-jobs
* deleted juno and icehouse testjobs caused of deprecation
* deleted chef-jobs and made all integration gate jobs non
  voting
Change-Id: Ie8efac35cd6293bf2275cacb76946593b77cc338
2016-01-08 11:40:27 +01:00
Jeremy Stanley
0af9b2c178 Get rid of precise||trusty job node declarations
Between the Icehouse and Juno releases, OpenStack changed its
supported Ubuntu LTS platform from Precise to Trusty. In support of
continuing testing stable/icehouse and prior branches on Precise
while starting to test newer branches on Trusty, a branch-based
decision tree was introduced into our Zuul configuration by way of
complex parameter functions with an ever growing list of regular
expression matches on job names.

Now that Icehouse is EOL (in fact, Juno is too) this simply adds
unnecessary complexity and an attractive nuisance for cargo-cult
copying into new job and job-template definitions which don't even
need it. In preparation to remove the associated parameter
functions, get rid of multiple labels in all jobs and set them to
whatever label Zuul would ultimately select.

This change touches a vast number, possibly a majority, of our jobs
and so manual jenkins-jobs updates on all Jenkins masters will be
needed after this merges, before it's safe to approve the
corresponding Zuul configuration cleanup.

Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
2015-12-21 20:52:17 +00:00
Andreas Jaeger
8828fb1a0a Print the JJB template name in some jobs
Print JJB template name in more job templates so that it's easy to
identify them.

Change-Id: Ia6793a0ae5bed9e655538985f8d0f5ece82774d8
2015-11-25 20:39:22 +01:00
Jan Klare
cf106850a1 run periodic-{name}-chef-rake-integration for master branch
* periodic-{name}-chef-rake-integration is currently broken, since $BRANCH gets
  not defined in periodic jobs by default but needed got gerrit-git-prep
* switch from gerrit-git-prep to  branch-git-prep with branch: master for
  periodic-{name}-chef-rake-integration to explicitly set the $BRANCH to clone
  to master

Change-Id: I54501cca8979669112bff5199c3c114cbaa3a6ad
2015-10-30 07:37:45 +09:00
Jan Klare
72ad8d4086 add new periodic job for chef integration testing
* old job gets filtered by branches, which does not work with periodic jobs

Change-Id: I7502e7da2e313f412864592baff2e5f6e317ea14
2015-10-21 14:12:24 +02:00
Jan Klare
23deaab13b grouped all chef jobs into chef-test-jobs to dry projects.yaml
Change-Id: I56eee9e76b50d95bfcb38a6b9d2942e2113673da
2015-06-10 15:28:07 +00:00
Jan Klare
a57d780e70 add experimental job for integration testing with rake on chef cookbooks
- added experimental job template 'gate-{name}-chef-rake-integration' to the queue to start
  the building of integration layer tests for the openstack chef cookbooks
- this job has to stay in 'experimental' until all cookbooks include working
  and reliable rake tasks for integration testing and will be moved
  afterwards to 'check' and 'gate'
- modified regex to filter all chef-rake jobs depending on the branch

Change-Id: I17b07d86a0d8c502cba241c943bcbd8efccdc694
2015-06-08 11:15:42 +02:00
Jan Klare
6ed1a5723e move from macro install-chefdk to chef-bootstrap
* removed macro 'install-chefdk' in favor of 'chef-bootstrap'
* macro 'chef-bootstrap' executes a cookbook specific bootstrap
  scipt which preconfigures the testnode (install packages and
  dependencies) before running the tests from the Rakefile with the job
  template 'gate-{name}-chef-rake'
* currently the bootstrap.sh does not exist in all cookbooks, since this
  is a experimental job and the final bootstrap.sh will be defined after
  this patch is merged and then cloned/added to all cookbooks using this
  job

Change-Id: I4d622b7b594aa185dd1165c913764aaeced9faae
blueprint: bootstrap-infra-test-nodes
2015-02-09 20:12:16 +01:00
Jan Klare
b1fcf184a0 Update chef-rake jobs to use chefdk and run on trusty
* added macro for installing chefdk (currently with version 0.4.0-1
  since chef does not provide a 'latest' link)
* switched from using ruby-191-prep in gate-{name}-chef-rake job to installing
  chefdk which should include the whole environment needed
* changed chef-rake-test builder to execute rake inside of the chefdk
  environment (test is omitted, since its the default job)
* removed the pin on precise for the gate-{name}-chef-rake job to use
  the current default trusty instead

Change-Id: I09e7465068d467395aafccd2de027000a1ec4143
2015-02-04 09:58:43 +01:00
Jan Klare
25578620ee Added gate-{name}-chef-rake job-template
This job template is supposed to be the first try of implementing rake
for managing the tests and how they are run. Added installation of rake gem to
ruby-191-prep macro to make it available for chef-rake-test macro and
skip the usage of chef-bundler-prep (done in rake bundle_prep in
chef-rake-test). Added a new project-template chef-rake-jobs which can
be utilized by all cookbooks with rakefiles (for now only includes a
job in the experimental queue).

Change-Id: Ie3687796faa210656d0b9d929fbc9e07de0d4a91
Blueprint: rakefile
2015-01-17 02:04:21 +01:00
Anita Kuno
1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00