Commit Graph

29 Commits

Author SHA1 Message Date
Monty Taylor 355f7090a6 Remove zuul v2 and jjb content
It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
2017-10-24 08:50:05 +02:00
Andreas Jaeger 0c860bce09 Remove unused centos7 chef multinode job
This job is defined but nowhere used, remove it.

Change-Id: I1b6cfced0d15017ee4b8a639a867a572ef8ce697
2017-07-07 14:00:12 +02:00
Andreas Jaeger 0af15e8d9d Remove useless quotes for nodes
A few projects used excess '' for node declarations, remove them.

We had 17 'ubuntu-trusty' and 285 ubuntu-trusty,
and 25 'ubuntu-xenial' and 744 ubuntu-xenial.

This changes all node names for consistency, thus making search easier.

Change-Id: I0cf565d1e31ea246f3b9d93bbd8de9980df4c684
2017-04-28 19:43:00 +02:00
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00
Samuel Cassiba 9c35299af8 Chef: adds basic multinode integration tests
- renames chef-test-jobs to chef-rake-jobs for consistency
- adds multinode integration jobs
- changes gerrit-git-prep to zuul-git-prep as zuul-git-prep is preferred
- removes aio periodic gates

Change-Id: I0c316804a2eea2574681778678a8599203007c0d
2017-03-22 19:19:47 -07:00
Jens Rosenboom 2926fb9605 Updates to Chef OpenStack project
- Add new branches to gerritbot and clean up old branches.
- Remove jobs running on Ubuntu Trusty.

Change-Id: I6500815e19119f0c1544eaaa39e1651cd5b30202
2017-02-27 15:10:46 +01:00
Ben Kero 5bac28ae58 Move gate-{name}-chef-rake to ubuntu-xenial
This commit alters the chef jobs in jenkins to run on xenial in addition
to trusty. In the future the trusty jobs can be removed. Older branches
will continue to use trusty.

This job also renames some chef jobs to have the {node} portion at the
end of the job name, which should fit the job name standard closer.

Change-Id: Idfbb264f31e218d4b3c6f2351175fff5f0d52f8a
2016-07-29 01:43:57 -07:00
Andreas Jaeger cb5c7010f0 Do not define unused periodic chef jobs
The chef-jobs group defines a periodic job for each chef repo but only a
single one uses it. Define the job only for that single repo.

Change-Id: Id4f2fff0f28d127b31c1b5dce6f2782eae2151fa
2016-06-30 21:28:40 +02:00
Paul Belanger 322d7e5dfb
Ensure console-log is our last publisher
This is related to zuulv25, we make sure console-log is the last
publisher to ensure zuul-launcher logs are also uploaded.

Change-Id: I1616b97fad2b97fb9e977ec14543aab4bc673b58
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-06-16 18:32:16 -05:00
Jan Klare 945c4ad386 add xenial to the integration tests for openstack-chef projects
Change-Id: I0cc0c30ea22bf781b8cc9143104c09e3fe186bb5
2016-04-28 15:41:38 -05:00
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