Browse Source

Merge "Remove 'publish-training-labs-scripts' definition"

changes/23/818723/1
Zuul 9 months ago committed by Gerrit Code Review
parent
commit
0e7b903216
  1. 9
      playbooks/training-labs/post.yaml
  2. 6
      playbooks/training-labs/pre.yaml
  3. 6
      playbooks/training-labs/run.yaml
  4. 11
      zuul.d/jobs.yaml

9
playbooks/training-labs/post.yaml

@ -1,9 +0,0 @@
- hosts: all
tasks:
- name: Collect generate-labs generated files
synchronize:
dest: "{{ zuul.executor.work_root }}/artifacts"
mode: pull
src: "src/{{ zuul.project.canonical_name }}/build/"
verify_host: true

6
playbooks/training-labs/pre.yaml

@ -1,6 +0,0 @@
- hosts: all
roles:
- role: bindep
bindep_dir: "{{ zuul_work_dir }}"
- test-setup
- revoke-sudo

6
playbooks/training-labs/run.yaml

@ -1,6 +0,0 @@
- hosts: all
tasks:
- name: Run tools/generate-labs
command: bash -xe tools/generate-labs '{{ zuul.branch }}'
args:
chdir: '{{ zuul.project.src_dir }}'

11
zuul.d/jobs.yaml

@ -737,17 +737,6 @@
name: afs
pass-to-parent: true
- 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/training-labs/post.yaml
allowed-projects:
- openstack/training-labs
- job:
name: publish-openstack-javascript-content
parent: publish-openstack-artifacts

Loading…
Cancel
Save