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