Convert training-labs legacy jobs
The legacy job is in-tree now, remove it here. Add new publish job for training-labs scripts and use it. Change-Id: Id866646c81ccc0c89a24cea006f0df6b23756ece Depends-On: Icdba6792861650f528a3688e9f06b3887670dc96 Needed-By: Idab9d5daec93625e8d130d63a6b6121ec1a0fd3f
This commit is contained in:
parent
b3ec778e04
commit
8e93913af7
|
@ -0,0 +1,6 @@
|
|||
- hosts: all
|
||||
roles:
|
||||
- role: bindep
|
||||
bindep_dir: "{{ zuul_work_dir }}"
|
||||
- test-setup
|
||||
- revoke-sudo
|
|
@ -0,0 +1,6 @@
|
|||
- hosts: all
|
||||
tasks:
|
||||
- name: Run tools/generate-labs
|
||||
command: bash -xe tools/generate-labs '{{ zuul.branch }}'
|
||||
args:
|
||||
chdir: '{{ zuul.project.src_dir }}'
|
|
@ -848,6 +848,22 @@
|
|||
- secret: afsdocs_secret
|
||||
name: afs
|
||||
|
||||
- job:
|
||||
name: publish-training-labs-scripts
|
||||
parent: publish-openstack-artifacts
|
||||
description: |
|
||||
Publish training-labs tarball to tarballs.openstack.org.
|
||||
pre-run: playbooks/training-labs/pre.yaml
|
||||
run: playbooks/training-labs/run.yaml
|
||||
post-run: playbooks/publish/openstack-artifacts.yaml
|
||||
vars:
|
||||
fileserver_leading_path: build
|
||||
secrets:
|
||||
- secret: site_tarballs
|
||||
name: fileserver
|
||||
allowed-projects:
|
||||
- openstack/training-labs
|
||||
|
||||
- job:
|
||||
name: publish-openstack-javascript-content
|
||||
parent: publish-openstack-artifacts
|
||||
|
|
|
@ -17265,15 +17265,9 @@
|
|||
templates:
|
||||
- system-required
|
||||
- openstack-python-jobs
|
||||
check:
|
||||
jobs:
|
||||
- legacy-gate-training-labs-scripts
|
||||
gate:
|
||||
jobs:
|
||||
- legacy-gate-training-labs-scripts
|
||||
post:
|
||||
jobs:
|
||||
- legacy-training-labs-scripts
|
||||
- publish-training-labs-scripts
|
||||
|
||||
- project:
|
||||
name: openstack/transparency-policy
|
||||
|
|
Loading…
Reference in New Issue