
It turns out that we pass a lot of args around simply for the purpose of doing mirror selection. This goes away if everything gets a mirror. This change should only be merged after the parent change has propagated to all puppeted slaves and updated nodepool images. Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org> Change-Id: I4a721f6559d7160c8213268a8c1e35c667a67a4f
35 lines
895 B
YAML
35 lines
895 B
YAML
# Jobs for the various *-specs repositories
|
|
|
|
- job-template:
|
|
name: '{name}-publish-specs'
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
# We want to publish to org/name but the scp publisher cannot remove paths,
|
|
# so use a shell builder to move the content in the right place and publish
|
|
# from there.
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- docs:
|
|
project: '{name}'
|
|
- shell: |
|
|
mkdir `dirname $ZUUL_PROJECT`
|
|
mv doc/build/html $ZUUL_PROJECT
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'specs/'
|
|
source: '$ZUUL_PROJECT/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: false
|
|
- console-log
|
|
|
|
- job-group:
|
|
name: specs-jobs
|
|
jobs:
|
|
- gate-{name}-docs
|
|
- gate-{name}-python27
|
|
- '{name}-publish-specs'
|