
* doc/source/jjb.rst * doc/source/stackforge.rst: Update examples to recommend bare-precise nodes in new job configuration. * modules/openstack_project/files/jenkins_job_builder/config/*.yaml: Change the node label for all jobs opreviously using precise to use bare-precise instead. * modules/openstack_project/files/zuul/layout.yaml: Get rid of the transitional matches for setting the single use parameter function on specific job names and just set it on everything as a default. Add patterns for jobs which need long-running slaves to apply a reusable node parameter function instead. * modules/openstack_project/files/zuul/openstack_functions.py: Add a parameter function for reusable nodes which refrains from enabling auto-offline behavior. * modules/openstack_project/templates/nodepool/nodepool.yaml.erb: Double the minimum ready bare-precise nodes to accommodate additional load. Change-Id: I2a90c5b120a50bb8033c891702185f054ee84d35
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
# simply copy the contents of the repository to the server, no building needed
|
|
- job:
|
|
name: infra-publications-publish
|
|
concurrent: false
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -x
|
|
# NAME will either be the branch name or the tag name
|
|
NAME=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
|
|
mkdir -p _out/$NAME
|
|
for FN in * ; do
|
|
if [ "_out" != "$FN" ] ; then
|
|
mv $FN _out/$NAME/
|
|
fi
|
|
done
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: '_out/**'
|
|
target: 'infra/publications/'
|
|
remove-prefix: '_out/'
|
|
excludes: ''
|
|
- console-log
|
|
|
|
- job:
|
|
name: infra-publications-publish-index
|
|
concurrent: false
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
git reset --hard remotes/origin/master
|
|
if ! git clean -x -f -d -q ; then
|
|
sleep 1
|
|
git clean -x -f -d -q
|
|
fi
|
|
./make-index
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'output/**'
|
|
target: 'infra/publications/'
|
|
remove-prefix: 'output/'
|
|
excludes: ''
|
|
- console-log
|