Jeremy Stanley 2f8a91ef22 Stop running stable/folsom jobs
The OpenStack Havana release heralds end of support for Folsom, so
stop testing it.

* modules/jenkins/files/slave_scripts/docbook-properties.sh: Remove
folsom-specific settings.

* .../openstack_project/files/gerrit/acls/openstack/ceilometer.config:
Get rid of the stable/folsom ACL override.

* .../jenkins_job_builder/config/devstack-gate.yaml
* .../manuals.yaml
* .../projects.yaml
* .../python-bitrot-jobs.yaml
* modules/openstack_project/files/zuul/layout-dev.yaml
* .../layout.yaml: Remove all folsom-only jobs and clean up
configuration and comments associated with them.

* tools/invite2summit/settings.py.sample: Adjust usage comment to no
longer refer to Folsom.

Change-Id: Ieb38a74e6945abe2e40cd3e1cd23b52fbd826933
2013-11-13 20:35:34 +00:00

30 lines
902 B
Bash

#!/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
fi
# The stable/<releasename> branch should get published to /releasename, such as icehouse or havana
if [[ $BRANCH =~ ^stable/(.*)$ ]]
then
DOC_RELEASE_PATH=${BASH_REMATCH[1]}
DOC_COMMENTS_ENABLED=1
fi
echo "DOC_RELEASE_PATH=$DOC_RELEASE_PATH" >gerrit-doc.properties
echo "DOC_COMMENTS_ENABLED=$DOC_COMMENTS_ENABLED" >>gerrit-doc.properties
pwd