mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-14 13:32:07 +00:00
Cleanup functional tests
Use the openstacksdk base functional test instead of going all the way back to devstack for our base. Also - defining a job starting with openstacksdk in this repo is not ok - but that probably just came from the original copy-pasta coming from the sdk repo. Use tox-siblings more and stop doing tox requirements of ../ things. The system is there and we can use it. Add jobs to test against released openstacksdk and ansible, as well as a non-voting to test against ansible devel branch. Add openstacksdk to the test-requirements because it's super required. Move zuul.yaml to .zuul.yaml. This isn't a zuul jobs repo so we should just make it a hidden file rather than a non-hidden. Change-Id: I658bd1728629cd358bc17a7f00d282d04530d8fe
This commit is contained in:
committed by
Sagi Shnaidman
parent
75cc5012e3
commit
cf7011a742
49
.zuul.yaml
Normal file
49
.zuul.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
# yamllint disable
|
||||
---
|
||||
- job:
|
||||
name: ansible-collections-openstack-functional-devstack
|
||||
parent: openstacksdk-functional-devstack
|
||||
description: |
|
||||
Run openstack collections functional tests against a master devstack
|
||||
using master of openstacksdk with latest ansible release
|
||||
vars:
|
||||
zuul_work_dir: src/opendev.org/openstack/ansible-collections-openstack
|
||||
tox_envlist: ansible
|
||||
tox_install_siblings: true
|
||||
|
||||
- job:
|
||||
name: ansible-collections-openstack-functional-devstack-releases
|
||||
parent: ansible-collections-openstack-functional-devstack
|
||||
description: |
|
||||
Run openstack collections functional tests against a master devstack
|
||||
using releases of openstacksdk and latest ansible release
|
||||
vars:
|
||||
tox_install_siblings: false
|
||||
|
||||
- job:
|
||||
name: ansible-collections-openstack-functional-devstack-ansible-devel
|
||||
parent: ansible-collections-openstack-functional-devstack
|
||||
description: |
|
||||
Run openstack collections functional tests against a master devstack
|
||||
using master of openstacksdk and devel branch of ansible
|
||||
# non-voting because we can't prevent ansible devel from breaking us
|
||||
voting: false
|
||||
required-projects:
|
||||
- name: github.com/ansible/ansible
|
||||
override-checkout: devel
|
||||
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- tox-pep8
|
||||
- openstack-tox-linters
|
||||
- ansible-collections-openstack-functional-devstack
|
||||
- ansible-collections-openstack-functional-devstack-releases
|
||||
- ansible-collections-openstack-functional-devstack-ansible-devel
|
||||
gate:
|
||||
jobs:
|
||||
- tox-pep8
|
||||
- openstack-tox-linters
|
||||
- ansible-collections-openstack-functional-devstack
|
||||
- ansible-collections-openstack-functional-devstack-releases
|
||||
- ansible-collections-openstack-functional-devstack-ansible-devel
|
||||
Reference in New Issue
Block a user