chef-workstation
chef-workstation copied to clipboard
Integration testing in CI for rollout object creation
Automate the manual testing from #1394 and #1457
Acceptance Criteria
- Integration tests should be run on every build of the
chef-workstation
repo because that is where the component currently lives. - Integration test should:
- Ensure the test cookbook is applied on a set of nodes, and those nodes are configured to run
chef-client
regularly - Update a cookbook and policyfile so a new SHA is generated
-
chef install && chef push
the updated policyfile - Validate the Rollout object is created
- Validate that the Rollout object is updated as nodes start to converge
- Ensure the test cookbook is applied on a set of nodes, and those nodes are configured to run
Questions / Notes
- We need to ensure that our test environment is setup to support this integration test. This requires a Chef Server, an Automate server, and a set of nodes successfully running
chef-client
that report into the Chef Server. Should this setup be part of every integration run?
Related Issues
#1522 - Add required infrastructure