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:
parent
5c659f0853
commit
ecf0e041de
34
jenkins/jobs/training-labs.yaml
Normal file
34
jenkins/jobs/training-labs.yaml
Normal 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
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user