4 Commits

Author SHA1 Message Date
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