bandit/playbooks/legacy/bandit-integration-oslo.config/run.yaml

31 lines
996 B
YAML

- hosts: all
name: Autoconverted job legacy-bandit-integration-oslo.config from old job gate-bandit-integration-oslo.config
tasks:
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -u
set -e
set -x
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bandit \
openstack/oslo.config
cd $WORKSPACE/openstack/bandit
tox -e integration openstack oslo.config \
$WORKSPACE/openstack/oslo.config
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'