bashate/playbooks/bashate-devstack-master/run.yaml
Ian Wienand 645b3a0ef4 Convert devstack-bashate to native job
Retire the legacy job for an equivalent native job.

Note this drops devstack-gate testing; that runs tox without a
basepython so breaks when we move bashate to Python 3.  bashate is
pinned in devstack-gate to 0.5.0, and devstack-gate is considered
deprecated, so it will not update to a non-supported version.  We
don't need to keep linting it.

Change-Id: If2ea649d897293a1129b5e30924080936cfc96de
2020-02-04 10:30:28 +11:00

14 lines
372 B
YAML

- hosts: all
name: Run bashate against devstack master
roles:
- bindep
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 }}'