Paul Belanger 209182c3ee
Stop using slave_scripts/install-distro-packages.sh
Migrate the legacy job to start using our bindep role from zuul-jobs.
This will allow openstack-infra to delete
slave_scripts/install-distro-packages.sh in the future.

Change-Id: I6b07be9b7912ff226991552b9be6dc9999416b56
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-23 15:39:13 -04:00

29 lines
806 B
YAML

- hosts: all
name: Autoconverted job legacy-bandit-integration-magnum from old job gate-bandit-integration-magnum
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 \
git://git.openstack.org \
openstack/bandit \
openstack/magnum
cd $WORKSPACE/openstack/bandit
tox -e integration openstack magnum \
$WORKSPACE/openstack/magnum
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'