Remove usage of docbook-properties.sh

The openstack manuals do not use docbook properties anymore, we can
remove setting the properites and also the script docbook-properties.sh.

Current openstack-doc-tools together with the configuration of trunk and
stable/havana and stable/icehouse branches work fine without this.

Change-Id: I97be952aedc06b7c0b6ac1b7e341234c258bdfa3
This commit is contained in:
Andreas Jaeger 2014-05-19 18:45:17 +02:00
parent f98ad18c66
commit ed174b5d5a
4 changed files with 0 additions and 48 deletions
modules/openstack_project/files

@ -1,11 +1,6 @@
- job-template:
name: '{name}-tox-doc-{envlist}'
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
wrappers:
- timeout:
timeout: 40

@ -3,11 +3,6 @@
node: bare-precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
builders:
- revoke-sudo
- gerrit-git-prep
@ -24,11 +19,6 @@
node: bare-precise
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
builders:
- revoke-sudo
- gerrit-git-prep

@ -3,11 +3,6 @@
node: bare-precise
github-org: openstack
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
builders:
- revoke-sudo
- gerrit-git-prep

@ -1,28 +0,0 @@
#!/bin/bash -ex
# Documentation is published to a URL depending on the branch of the
# openstack-manuals project. This script determines what that location
# should be, and writes a properties file. This is used by Jenkins when
# invoking certain docs jobs and made available to maven.
# In case we start doing something more sophisticated with other refs
# later (such as tags).
BRANCH=$ZUUL_REFNAME
# The master branch should get published to /trunk
if [[ $BRANCH == "master" ]]; then
DOC_RELEASE_PATH="trunk"
DOC_COMMENTS_ENABLED=0
elif [[ $BRANCH =~ ^stable/(.*)$ ]]; then
# The stable/<releasename> branch should get published to /releasename, such as icehouse or havana
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
DOC_COMMENTS_ENABLED=1
else
echo "Error: Branch($BRANCH) is invalid"
exit 1
fi
echo "DOC_RELEASE_PATH=$DOC_RELEASE_PATH" >gerrit-doc.properties
echo "DOC_COMMENTS_ENABLED=$DOC_COMMENTS_ENABLED" >>gerrit-doc.properties
pwd