summaryrefslogtreecommitdiff
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing tox in functional devstack-minimal based jobRiccardo Pittau2020-06-241-1/+4
| | | | | | | | At the moment, the functional jobs derived from devstack-minimal does not make sure tox is present, so the test fails. This patch adds the role that ensure tox is present. Change-Id: I9078ac2c4418d4a34cfb53dca8599deb3ec8d5f8
* Drop python 2.7 support and testingIury Gregory Melo Ferreira2019-11-221-7/+2
| | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. python-ironicclient is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/ Change-Id: Iacc50fde00f0d24e9c6ee2b1ac61b8fa060094fb
* Run jobs under python2 and python3Iury Gregory Melo Ferreira2019-03-151-1/+7
| | | | | | | | | | | | | -Switch functional job to run under python3 -Create a functional job to run under python2 -Create a tempest job to run under python2 -Create tox env to run functional tests under python3 -Validate if `USE_PYTHON3` is set to `True` to call the correct env for tests -Remove hardcoded path for client when running functional tests - Update tests failures to work for python2 and python3 Change-Id: I55abc999f6f397b171d05fd9e9b39d833ca95e55
* Move to zuulv3Iury Gregory Melo Ferreira2019-03-115-211/+49
| | | | | | | | | | | | | | | To move ironicclient legacy jobs to zuulv3 the the following changes were necessary: - Change `tox.ini` to pass envrioment variables - Clean `post_test_hook.sh` to avoid legacy variables (`$USER` and `$BASE`), removing `generate_testr_results` function since we only get `testrepository.subunit` in logs and the results of the tests are present in job-output file. - Convert `post_test_hook.sh` and `run_functional.sh` into `playbooks/functional/run.yaml` to run after the setup. Change-Id: I6a5b3f82c238083b66bdf6f379092260d367d82d
* Do not run functional (API) tests in the CIDmitry Tantsur2018-04-301-1/+1
| | | | | | | These tests exercise Ironic API with the fake driver, thus they provide no coverage for ironicclient and can be excluded. Change-Id: Ie9713354c5d1a4d7503bb3cb548208ed7ce78299
* Switch the CI to hardware types and clean up playbookDmitry Tantsur2018-03-131-53/+7
| | | | | | | | This change modifies the playbook to use the 'ipmi' hardware type. It also removes redundant conditions. The job name is not changed to simplify the patch. Change-Id: I83f8e037d3ede683281b59681ccdf725d3659958
* Use the tempest plugin from openstack/ironic-tempest-pluginJohn L. Villalovos2017-12-141-10/+3
| | | | | | | | Use the tempest plugin from openstack/ironic-tempest-plugin as we have moved the tempest code there. Soon the tempest code will be deleted from openstack/ironic. Change-Id: Ia6de0236a2531f7e26cc21a124501296ca23d007
* Move legacy ironicclient jobs in-treeRuby Loo2017-11-074-0/+264
This moves the legacy python-ironicclient CI jobs into the python-ironicclient tree, instead of storing them in openstack-infra/openstack-zuul-jobs. This also changes the ironicclient-tempest-dsvm-src job to inherit from legacy-ironic-dsvm-base instead of legacy-dsvm-base, since the required projects are the same. This will give us control as we migrate the legacy jobs to the new ansible roles. Change-Id: If0c072e357fbeccc3dee8cc06b96e1bfa42299a7