2bb7c834a8
Change jobs so that newton and newer runs on xenial, older branches on trusty. Change-Id: Ib67251fcc25f342e10cb5dd56ada8ae65792abbb
37 lines
825 B
YAML
37 lines
825 B
YAML
- job-template:
|
|
name: 'training-labs-scripts-{node}'
|
|
node: '{node}'
|
|
|
|
builders:
|
|
- gerrit-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:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- shell:
|
|
#!/bin/bash -xe
|
|
./tools/generate-labs $ZUUL_REFNAME
|
|
|
|
publishers:
|
|
- console-log
|