System configuration for the OpenDev Collaboratory
Go to file
zaro0508 782501b228 make maven versioning and deployment workflow similiar to python
This commit fixes bug 1182154

The maven workflow for versioning and deployment is at odds with how
we like to do it.  For versioning, our convention is to get info
from SCM to set the project build versions.  For deployments
to remote repositories we prefer to use curl instead of mvn deploy
due to maven security vulnerabilities.  Our python builds
have already been setup to set package versions from SCM and
deploy to pypi using curl so this commit is to make
maven versioning and deployments similiar our python
versioning and deployment workflow.

This commit does the following:

Setup a project version string as an environement variable
so we can pass it to maven builds. The version string is
retrieved from information in git.  This makes the build versioning
workflow similar to how we build python packages.

  This setup expects a variable called '$project-version' in
  the root 'version' element (i.e. <version>${project-version}</version>)
  of the maven project's pom.xml file.

  For general (throw away CI) builds we do the following:
    1. generate a package 'myplugin.hpi' with version '1.3.0.4.a0bc21f'
       in the MANIFEST.MF file.  The '4' is the number of commits since
       last tag.
    2. publish 'myplugin-1.3.0.4.a0bc21f.hpi' to tarballs.o.o

  For release builds we do the following:
    1. generate a package 'myplugin.hpi' with version '1.3.1'
     in the MANIFEST.MF file.
    2. publish 'myplugin-1.3.1.hpi' to tarballs.o.o
    3. publish 'myplugin-1.3.1.hpi' to repo.jenkins-ci.org

Passes the jenkins credentials from hiera to the pypi slave so
we can use it to deploy released plugins to repo.jenkins-ci.org

Creates a generic jenkinsci-upload job that will deploy
released jenkins plugin artifacts to a remote repository with
user credentials from hiera. It will use the same curl deployment
method as the pypi-upload job.

Change-Id: If1306523a28da94ee970d96b7a788ca116348de7
Reviewed-on: https://review.openstack.org/31875
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-06-17 23:52:36 +00:00
doc/source Rename stackforge/reddwarf to openstack/trove. 2013-06-14 20:17:43 +00:00
launch Switch jobs from Ubuntu Quantal to Precise slaves. 2013-05-13 16:57:34 +00:00
manifests make maven versioning and deployment workflow similiar to python 2013-06-17 23:52:36 +00:00
modules make maven versioning and deployment workflow similiar to python 2013-06-17 23:52:36 +00:00
tools Select a pypi mirror before running tox. 2013-03-18 20:29:07 +00:00
.gitignore make maven versioning and deployment workflow similiar to python 2013-06-17 23:52:36 +00:00
.gitreview Rename CI to Infra in MANY MANY places. 2012-12-16 17:30:47 +00:00
install_jenkins_slave.sh Perform kernel upgrades on new Ubuntu servers. 2013-05-24 17:50:50 +00:00
install_modules.sh Connectivity from workers to gearmand on zuul. 2013-04-05 20:11:04 +00:00
install_puppet.sh Add support for Fedora 18 to install_puppet.sh. 2013-06-17 20:55:26 +00:00
Rakefile Additional puppet-lint formatting 2012-11-30 20:56:32 +00:00
README.md Fix documentation to reference manifests/site.pp 2013-01-07 20:11:14 +00:00
run_puppet.sh Give run_puppet.sh mode 755 2012-09-22 17:32:02 +00:00
setup.cfg Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00
setup.py Rename CI to Infra in MANY MANY places. 2012-12-16 17:30:47 +00:00
test.sh Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
tox.ini Pin docutils==0.9.1 2012-12-16 20:25:12 +00:00

These are a set of puppet manifests and modules that are currently being used to manage the OpenStack Project infrastructure.

The main entry point is in manifests/site.pp.

In general, most of the modules here are designed to be able to be run either in agent or apply mode.

These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.

See http://ci.openstack.org for more information.