project-config/jenkins/jobs/training-labs.yaml
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00

37 lines
821 B
YAML

- job-template:
name: 'training-labs-scripts-{node}'
node: '{node}'
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell:
#!/bin/bash -xe
./tools/generate-labs $ZUUL_REFNAME
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'build/dist/*'
target: 'tarballs/training-labs/dist/'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-training-labs-scripts-{node}'
node: '{node}'
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell:
#!/bin/bash -xe
./tools/generate-labs $ZUUL_REFNAME
publishers:
- console-log