[chef-testing-stack] Add simple integration test to openstack-chef-repo

Bug #1188337 reported by Jay Pipes
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Wishlist
JJ Asghar
OpenStack Core Infrastructure
Fix Released
Undecided
Unassigned

Bug Description

The basis of a simple integration test for all the cookbooks on Stackforge is the following:

1) Add a jenkins job that checks out openstack-chef-repo and constructs a Berksfile to replace the existing one with git references that point to Gerrit for the cookbook being gated and refs pointing to Stackforge for the cookbooks not being gated
2) bundle install && bundle exec berks install
3) Have a simple kitchen test that uses the example roles in openstack-chef-repo/roles/ to construct a set of vagrant boxes and install and configure the cookbooks

Tags: repo
Jay Pipes (jaypipes)
Changed in openstack-chef:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jay Pipes (jaypipes)
summary: - Add a berksfile with Gerrit repo refs to openstack-chef-repo
+ Add simple integration test to openstack-chef-repo
Jay Pipes (jaypipes)
description: updated
Changed in openstack-ci:
status: New → In Progress
assignee: nobody → Jay Pipes (jaypipes)
Revision history for this message
Jay Pipes (jaypipes) wrote : Re: Add simple integration test to openstack-chef-repo

http://paste.openstack.org/show/38215/ shows a working script that does a construction of a Berksfile from the stackforge repos and the cookbook with a pending changeset in Gerrit/Zuul.

Changed in openstack-chef:
status: Triaged → In Progress
Changed in openstack-chef:
status: In Progress → Confirmed
Changed in openstack-ci:
status: In Progress → Confirmed
Changed in openstack-chef:
assignee: Jay Pipes (jaypipes) → nobody
Changed in openstack-ci:
assignee: Jay Pipes (jaypipes) → nobody
Revision history for this message
Mark Vanderwiel (vanderwl) wrote :

Does the latest CI job meet the requirements for this?
http://jenkins.uk.rs.wherenow.org/job/Stackforge_Cookbooks_AIO_Matrix/1871/

tags: added: repo
Revision history for this message
JJ Asghar (d-jj) wrote :
Changed in openstack-chef:
assignee: nobody → JJ Asghar (d-jj)
milestone: none → juno-rc1
status: Confirmed → In Progress
summary: - Add simple integration test to openstack-chef-repo
+ [chef-testing-stack] Add simple integration test to openstack-chef-repo
JJ Asghar (d-jj)
Changed in openstack-chef:
milestone: juno-rc1 → juno-stable
Revision history for this message
Jan Klare (j-klare) wrote :

this should probably be a blueprint rather than a bug report

Changed in openstack-chef:
importance: High → Wishlist
Revision history for this message
Mark Vanderwiel (vanderwl) wrote :
Changed in openstack-chef:
status: In Progress → Fix Released
Changed in openstack-ci:
assignee: nobody → Mark Vanderwiel (vanderwl)
Changed in openstack-chef:
milestone: juno-stable → kilo-rc1
Changed in openstack-ci:
assignee: Mark Vanderwiel (vanderwl) → nobody
Jan Klare (j-klare)
Changed in openstack-ci:
assignee: nobody → Jan Klare (j-klare)
assignee: Jan Klare (j-klare) → nobody
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.