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
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
- 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
- Add new branches to gerritbot and clean up old branches.
- Remove jobs running on Ubuntu Trusty.
Change-Id: I6500815e19119f0c1544eaaa39e1651cd5b30202
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
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
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>
The openstack cookbook integration tests now have
logs saved properly so add them to what is published.
Change-Id: I5a11a660b090e570559f40083c5004e373d65de0
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>
This is part of our migration from devstack-centos7 to centos-7 dibs.
Change-Id: I36cfbceec79a22158fe66238801e14d4b46895d8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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
* 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
* 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
* deleted juno and icehouse testjobs caused of deprecation
* deleted chef-jobs and made all integration gate jobs non
voting
Change-Id: Ie8efac35cd6293bf2275cacb76946593b77cc338
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
* 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
- 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
* 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
* 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
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
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