Broke appart the giant monolithic list of includes, tasks and plays
into additional discrete roles. Setup an example Ansible inventory file
to group hosts by purpose. That permitted moving all runtime variables
out of the global scope, and into purpose-based group_vars/*/files.
Setup additional taggs for plays/tasks to reflect the more complete
picture. Making a distinction between 'building', 'installing' and
'testing'. This should permit more intelligent caching of the
setup/config stages, assuming that's needed (for performance).
FIXME: Get 'integration' tests working w/ package instead of source
FIXME: Finish writing `scripts/cri-o_e2e_test.sh`
Signed-off-by: Chris Evich <cevich@redhat.com>
* parse2junit.py script converts integration test output (testout.txt)
into junit format. It then combines this with the e2e test junit
output, adds identifying information, and packs them both into a single
junit file including all tests.
* results.yml playbook collects testing details from test-subjects into
a central directory. Some of those details are generated by executing
commands as specified in vars.yml. Finally, it uses parse2junit.py
itself to assemble the final, canonical junit output file with results
for all tests and all hosts.
* vars.yml variables file updated with result production/collection details.
Signed-off-by: Chris Evich <cevich@redhat.com>
Rather than maintaining yet-another-set-of-build-steps
in playbooks, simply re-use the inate tallent of the Makefile.
Separate out the build vs install vs testing steps clearly. This
enables alternative packaging/installing tasks to be easily added later
for different environments.
Signed-off-by: Chris Evich <cevich@redhat.com>
I don't believe the files in this dir are actually used anymore. Remove
them so content can be added to this directory in the future w/o
clashing.
Signed-off-by: Chris Evich <cevich@redhat.com>
This allows us to cache a k8s branch for cri-o 1.0 branch
while allowing overriding of k8s branch in master and other
newer cri-o branches.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
The tests are trying to read an write configuration files and check that the
fields are being set or saved properly.
A folder fixtures/ was created on server/ as well adding an example crio.conf
file to it.
Note: some extra paths about Vagrant and VSCode were added to gitignore.
Signed-off-by: Álex González <agonzalezro@gmail.com>