bashate/playbooks/legacy/bashate-devstack/run.yaml

38 lines
922 B
YAML

- hosts: all
name: Autoconverted job legacy-bashate-devstack from old job gate-bashate-devstack
roles:
- bindep
tasks:
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
set -u
set -e
set -x
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
https://opendev.org \
openstack/bashate \
openstack/devstack \
openstack/devstack-gate
export BASHATE_INSTALL_PATH=$WORKSPACE/openstack/bashate
pushd openstack/devstack
tox -e bashate
popd
pushd openstack/devstack-gate
tox -e bashate
popd
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'