acf7572d10
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
37 lines
821 B
YAML
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
|