5e01f811b0
The Bandit team is hoping to start ensuring we do not break other projects currently relying on Bandit in their gate jobs. We define a job template and then utilize that repeatedly with our jobs. Depends-On: I38bfc2f8298761ebf86152933630f629e545029d Change-Id: I9c243ce734d7653145d5fa916cc25da5d664603e
23 lines
559 B
YAML
23 lines
559 B
YAML
- job-template:
|
|
name: gate-bandit-integration-{target-project}
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- link-logs
|
|
- shell: |
|
|
#!/bin/bash -eux
|
|
cd $WORKSPACE
|
|
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
|
git://git.openstack.org \
|
|
openstack/bandit \
|
|
{target-org}/{target-project}
|
|
|
|
cd $WORKSPACE/openstack/bandit
|
|
|
|
tox -e integration {target-org} {target-project} \
|
|
$WORKSPACE/{target-org}/{target-project}
|
|
|
|
publishers:
|
|
- console-log
|