Task #5928
closed[EPIC] Complete CLI testing for Role and Collection workflows
100%
Description
We want to test against the "latest" ansible-galaxy CLI. Currently that is against 2.9.
Using the "latest" CLI we should fully test:
Role Workflows¶
1. Installing a Role by name. The docs for this are here: https://pulp-ansible.readthedocs.io/en/latest/workflows/ansible-galaxy-client.html#using-the-pulp-galaxy-api
Note, uploading a Role from the CLI is currently unsupported, so we won't test that
Collection Workflows¶
1. Uploading a Collection via the ansible-galaxy CLI. The docs for this are here: https://pulp-ansible.readthedocs.io/en/latest/workflows/upload-collection.html#upload-a-collection-via-ansible-galaxy
2. Install a Collection via the ansible-galaxy CLI. The docs for this are here: https://pulp-ansible.readthedocs.io/en/latest/workflows/collection-install.html
NOTE: we should put all CLI tests in one place in the testing folder. Let's make a new folder under functional called 'cli'. That would live here: https://github.com/pulp/pulp_ansible/tree/master/pulp_ansible/tests/functional