Commit Graph

10 Commits

Author SHA1 Message Date
David Moreau Simard 3d5efff28c
Replace the ansible-integration job by the new integration jobs
ara-infra now provides a new and improved set of integration jobs
so we no longer need to have the ansible-integration job.

These new jobs test ara-server, ara-clients and ara-plugins against
a variety of operating systems and versions of Ansible.

It was convenient to be able to run these tests from ara-server by
itself, we'll re-introduce a wrapper so we can continue to do so
later.

Depends-On: https://review.openstack.org/#/c/630303
Change-Id: Iedf259e44af5165be08c5d6917e5af98b281202d
2019-01-23 13:44:28 -05:00
David Moreau Simard d37baf3765
Fix ansible-integration test after playbook.files tweak
Now that the change in the callback landed, we can address this.
We'll improve these tests soon.

Change-Id: I47c354771723ae85df4e61529e7d832c2585e245
2018-12-21 09:54:54 -05:00
David Moreau Simard 1f70395626
Fix ansible-integration test to use the new status for plays and tasks
Change-Id: If3008e04900bcfac8947f267974dd2a4bc6ac4ee
2018-11-15 15:10:40 -05:00
Florian Apolloner 7c01333156 Fixed integration tests.
They didn't get updated after changing playbook completed to status.

Change-Id: I09b6b98b48ea5f2ea68582b8272f0e2632961fa1
2018-10-19 12:47:57 +02:00
David Moreau Simard 3c415a4930
Change parameters to arguments in hacking/validate
We recently changed the notion of parameters to arguments [1].
Forgot to update hacking/validate.

[1]: https://review.openstack.org/#/c/610389/

Change-Id: I7fc7d16ed68fe9d5f1769eca75f62f99004de0e9
2018-10-16 09:40:47 -04:00
David Moreau Simard e77fc1c0c0
Update ansible-integration tests
ansible-integration is just a very rough sanity check to make sure
things are not horribly broken.
Need to update it according to the latest changes.

Change-Id: I93b03c89891fb4b5b55805a8fef1296598120929
2018-09-12 10:33:02 -04:00
David Moreau Simard 24bf9ab055
Add Stats model and API
- Reset database migrations back to initial (database schema is not
  stable or supported yet, let's not burden ourselves with migrations
  needlessly)
- Move host stats to a Stats model
- Tie the hosts back to the playbook instead of the play
  While hosts are in fact "children" of plays, Ansible doesn't provide
  stats per-play. From ARA's perspective, it's simpler to keep hosts at
  the same level as the stats.

Depends-On: https://review.openstack.org/600058
Change-Id: I127efd79a5077488ffa084d2784d5a3c6f2da2da
2018-09-05 12:04:45 -04:00
David Moreau Simard c4c6645795
Fix trailing slashes in validation script, add hosts and results
Hosts and results were not validated, add them here so they have
basic coverage.

Change-Id: I3e4623668f5549246f0c3b944d7604a3f9ebe7a3
2018-06-29 13:36:27 -04:00
David Moreau Simard 64df7943a4
Add a basic job to test integration between server, clients and plugins
The callback has been moved to ara-plugins.

Change-Id: Idf364871b0f1783b57332a992a0dcd0784353f80
2018-06-20 11:47:55 -04:00
David Moreau Simard 68cbbe24bc First iteration of callback using API
- Remove mockdata.py (using the callback is better)
- Add first iteration of callback
  Note: This will eventually be moved, it's here for simplicity
- Add test playbook/role to exercise the callback

Note: The callback will be moved to ara-plugins

Change-Id: I8f590be4cfafd4714f40f4165e2973cb803b8756
2018-06-20 12:14:56 +00:00