bashate/playbooks/bashate-devstack-master/run.yaml
Jens Harbott 421af4bca8 Add ensure-tox role to test job
The CI no longer provides us with preinstalled tox, we have to ensure that
it is present ourselves.

Change-Id: Ib8da29ca2156aafd89fec69db7910360efe266a2
2021-04-26 11:15:15 +02:00

16 lines
430 B
YAML

- hosts: all
name: Run bashate against devstack master
roles:
- bindep
- role: ensure-tox
ensure_global_symlinks: true
tasks:
- shell: 'tox -e bashate'
args:
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack"].src_dir }}'
environment:
BASHATE_INSTALL_PATH: 'file://{{ ansible_user_dir }}/{{ zuul.project.src_dir }}'