chef-workstation icon indicating copy to clipboard operation
chef-workstation copied to clipboard

Integration testing in CI for rollout object creation

Open tyler-ball opened this issue 3 years ago • 0 comments

Automate the manual testing from #1394 and #1457

Acceptance Criteria

  1. Integration tests should be run on every build of the chef-workstation repo because that is where the component currently lives.
  2. Integration test should:
    1. Ensure the test cookbook is applied on a set of nodes, and those nodes are configured to run chef-client regularly
    2. Update a cookbook and policyfile so a new SHA is generated
    3. chef install && chef push the updated policyfile
    4. Validate the Rollout object is created
    5. Validate that the Rollout object is updated as nodes start to converge

Questions / Notes

  1. 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

tyler-ball avatar Aug 17 '20 19:08 tyler-ball