Adds training-labs post jobs to publish tarballs

Adding training labs post jobs to publish tar/zip to
tarball.openstack.org. This should allow training-labs team to
automatically publish tarballs/zip files for the end-users of this
project and provide direct links from docs.openstack.org/training-labs
landing page.

Change-Id: I5dee9c7188b8b0cfd1bad31f320cc787eae5dcfa
This commit is contained in:
Pranav Salunke 2016-02-18 10:36:13 +01:00 committed by Andreas Jaeger
parent 5c659f0853
commit ecf0e041de
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,34 @@
- job:
name: 'training-labs-scripts'
node: bare-trusty
builders:
- revoke-sudo
- gerrit-git-prep
- 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:
name: 'gate-training-labs-scripts'
node: devstack-trusty
builders:
- revoke-sudo
- gerrit-git-prep
- shell:
#!/bin/bash -xe
./tools/generate-labs $ZUUL_REFNAME
publishers:
- console-log

View File

@ -10283,6 +10283,12 @@ projects:
template:
- name: merge-check
- name: python-jobs
check:
- gate-training-labs-scripts
gate:
- gate-training-labs-scripts
post:
- training-labs-scripts
- name: openstack/transparency-policy
template: