releng/builder.git
9 years agoBUG-2471: create odlparent template 62/13362/1
Robert Varga [Thu, 4 Dec 2014 09:17:40 +0000 (10:17 +0100)]
BUG-2471: create odlparent template

odlparent jobs have no specific requirements, so this patch just adds
the base template.

Change-Id: Ibc18492ef0287d4cf5249ea50480a3b9b3ed754d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd flake8 for Python code verification 93/13293/2
Thanh Ha [Tue, 2 Dec 2014 01:59:04 +0000 (20:59 -0500)]
Add flake8 for Python code verification

- New job uses flake8 for python code verification
- Also enable the flag to delete old jobs not managed by JJB

Change-Id: I5b9d72616e61fba8b6f051e43d0f21cd5dfafd66
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoUpdate automated project templates 23/13323/1
jenkins-releng [Wed, 3 Dec 2014 00:10:17 +0000 (00:10 +0000)]
Update automated project templates

Change-Id: I2ed8c70bc9dfc4d7a4754e2757d223ee81de5916
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
9 years agoMaven Deploy's URL field should not be set if blank 22/13322/1
Thanh Ha [Wed, 3 Dec 2014 00:02:51 +0000 (19:02 -0500)]
Maven Deploy's URL field should not be set if blank

The URL field in Maven Deploy if set to blank will cause a build
failure. We should not set it at all.

Change-Id: I02e65568421170b6ebb75f99a57124a11b028b7b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoRemove extra install goal 19/13319/1
Thanh Ha [Tue, 2 Dec 2014 19:56:17 +0000 (14:56 -0500)]
Remove extra install goal

Change-Id: Ibe39a90c1d261b6065df7ddfd99df89aff02f3c1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix flake8 style errors 92/13292/2
Thanh Ha [Tue, 2 Dec 2014 01:42:34 +0000 (20:42 -0500)]
Fix flake8 style errors

Change-Id: I5d1a5c0685e1af78b9e3b3c6aa623ade17a472c3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd BGPCEP job configuration 98/13298/1
Dana Kutenicsova [Tue, 2 Dec 2014 10:10:32 +0000 (11:10 +0100)]
Add BGPCEP job configuration

- for merge/daily jobs this parameter was added: -DrepoBuild install javadoc:aggregate

Change-Id: I889468915340be4d6c82ff2ef78b425da1648e4c
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
9 years agoMerge "Fix jjb update script to handle when template changes have been made"
Andrew Grimberg [Mon, 1 Dec 2014 19:31:20 +0000 (19:31 +0000)]
Merge "Fix jjb update script to handle when template changes have been made"

9 years agoFix jjb update script to handle when template changes have been made 85/13285/1
Thanh Ha [Mon, 1 Dec 2014 19:30:24 +0000 (14:30 -0500)]
Fix jjb update script to handle when template changes have been made

Change-Id: I88a2f86f04dd2026be266d792ddb194cd1426e61
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoUpdate automated project templates 82/13282/1
jenkins-releng [Mon, 1 Dec 2014 19:02:25 +0000 (19:02 +0000)]
Update automated project templates

Change-Id: I158605f3107ac2af92b2f52ce46987a57fcddad7
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
9 years agoInstall githooks to automatically add Change-Id 80/13280/2
Thanh Ha [Mon, 1 Dec 2014 18:47:16 +0000 (13:47 -0500)]
Install githooks to automatically add Change-Id

Change-Id: I4dbc21e4c9d4f3617bece4bbfb9f22877b631854
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMake choosing-strategy a configurable variable 76/13276/2
Thanh Ha [Mon, 1 Dec 2014 18:32:39 +0000 (13:32 -0500)]
Make choosing-strategy a configurable variable

Change-Id: Iec05b63cdb6ec4019be5858ec248ae436a05c8ef
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoRefactor to support Python 2.6.x 74/13274/1
Thanh Ha [Mon, 1 Dec 2014 18:12:56 +0000 (13:12 -0500)]
Refactor to support Python 2.6.x

Change-Id: Ib938f72c53afe3103acc9016b9325c7312dbf5d7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoDefault to Maven 3.2.x 70/13270/1
Thanh Ha [Mon, 1 Dec 2014 17:40:11 +0000 (12:40 -0500)]
Default to Maven 3.2.x

Change-Id: Ia878a0bcd0f30deb3de414458eabfba3570fb8c7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd TCP-MD5 job configuration 67/13267/1
Robert Varga [Mon, 1 Dec 2014 16:39:30 +0000 (17:39 +0100)]
Add TCP-MD5 job configuration

tcpmd5 does not require anything special, so just reuse the base
templates.

Change-Id: I02e81a368abae2ca6c05be60f118709cc52b4628
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Minor updates to the devstack vagrant"
Thanh Ha [Thu, 20 Nov 2014 18:09:24 +0000 (18:09 +0000)]
Merge "Minor updates to the devstack vagrant"

9 years agoMerge "Add JJB CSIT compatible min job"
Andrew Grimberg [Thu, 20 Nov 2014 17:33:59 +0000 (17:33 +0000)]
Merge "Add JJB CSIT compatible min job"

9 years agoMinor updates to the devstack vagrant 17/13017/1
Andrew Grimberg [Thu, 20 Nov 2014 17:05:07 +0000 (09:05 -0800)]
Minor updates to the devstack vagrant

Make sure that the devstack image runs on the latest kernel and clean-up
the package installs

Change-Id: I334b634469e6b5d27ec78709c77b7aa2e88ad937
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoAdd script to auto-update project templates 98/12898/5
Thanh Ha [Mon, 17 Nov 2014 20:22:01 +0000 (15:22 -0500)]
Add script to auto-update project templates

Change-Id: I8e3b736f7f5cb49b2d5ed74a2df430acf005b344
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd JJB CSIT compatible min job 35/12835/6
Thanh Ha [Fri, 14 Nov 2014 05:12:29 +0000 (00:12 -0500)]
Add JJB CSIT compatible min job

Change-Id: Idf4063e490fb4db3de6765563e4d670ebff4fdd7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix robot library installations 61/12961/1
Andrew Grimberg [Wed, 19 Nov 2014 22:02:24 +0000 (14:02 -0800)]
Fix robot library installations

Change-Id: I24702f99f0a5f92934a9a343bc9009529b3ac9b0
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoSet Maven Deploy id and url to blank strings 26/12926/1
Thanh Ha [Tue, 18 Nov 2014 19:47:15 +0000 (14:47 -0500)]
Set Maven Deploy id and url to blank strings

Change-Id: I2b63c9ee21ae76217bd4d40d1f7cd351f4475692
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoBe explicit that we are wiping-workspace before build 93/12893/1
Thanh Ha [Mon, 17 Nov 2014 17:49:29 +0000 (12:49 -0500)]
Be explicit that we are wiping-workspace before build

Change-Id: I3b94a39381c1db21911f0c02e1f52382dffd029f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd the basic mininet integration lab box 90/12890/1
Andrew Grimberg [Mon, 17 Nov 2014 04:15:58 +0000 (20:15 -0800)]
Add the basic mininet integration lab box

The 'mininet' system that is used by the integration lab is a system
that combines mininet, netopeer / NETCONF and has PostgreSQL 9.3
installed to support a VTN coordinator also be brought up.

Change-Id: I95f7c38419985f6f0a6bb258a4173feaa8bfd42b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoRemove origin/ from sonar.branch and use stream instead 34/12834/1
Thanh Ha [Thu, 13 Nov 2014 22:59:43 +0000 (17:59 -0500)]
Remove origin/ from sonar.branch and use stream instead

"/" is an invalid character for sonar.branch

Change-Id: I860c5f0fd57efd6c94224bf2be8ef415041375e3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd a basic java node description 29/12829/1
Andrew Grimberg [Thu, 13 Nov 2014 21:26:18 +0000 (13:26 -0800)]
Add a basic java node description

This node installs all current (at time of Vagrant instance spin-up)
OpenJDK versions and then sets the alternatives to use Java7 (aka
OpenJDK 1.7.0). At the time of this definition the following Java devel
systems are available on F20, EL{6,7}:

java-1.6.0-openjdk
java-1.7.0-openjdk
java-1.8.0-openjdk

It is expected that any systems that desire to use either Java6 or Java8
will flip the alternatives themselves on startup.

NOTE: using auto presently still means Java7 as Java8 has a lower
alternatives weight.

Change-Id: I4df978ca5a1a983e4465e6d2695ef2ba4b875adc
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoFix MAVEN_GOALS and MAVEN_OPTS not getting replaced 02/12802/1
Thanh Ha [Thu, 13 Nov 2014 03:49:41 +0000 (22:49 -0500)]
Fix MAVEN_GOALS and MAVEN_OPTS not getting replaced

Also use the Wiki Page's recommendations for MAVEN_GOALS and MAVEN_OPTS
default values.

https://wiki.opendaylight.org/view/GettingStarted:Jenkins_Verify_Job_Setup

Change-Id: I73aaac72931c3221dd98d73abef547b507eb55d6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFirst take at JJB for TTP 92/12792/3
Colin Dixon [Wed, 12 Nov 2014 20:04:46 +0000 (14:04 -0600)]
First take at JJB for TTP

Change-Id: Iff09797fcfa72929b080e96ad83ffcb7598e70dd
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoFix a minor selinux step through issue 64/12764/1
Andrew Grimberg [Tue, 11 Nov 2014 16:36:23 +0000 (08:36 -0800)]
Fix a minor selinux step through issue

Found an issue where an image that had selinux in a disabled state does
not always end up with the filesystem 100% properly labelled after the
reboot and autorelabel. Add an extra step for when switching from
permissive to enforcing to make sure everything is appropriately
labeled.

Change-Id: I496e373a5ea94c4e7cf63b94019494168a6e851b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoAdd a robotframework Vagrant configuration 99/12699/1
Andrew Grimberg [Mon, 10 Nov 2014 22:08:07 +0000 (14:08 -0800)]
Add a robotframework Vagrant configuration

Add in the Vagrant configuration that mirrors how the current
integration robotframework systems are built using puppet.

Change-Id: Ifc648991be92b64eae07db6f8ada6841142f345b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoHandle base images that have selinux disabled 55/12655/3
Andrew Grimberg [Fri, 7 Nov 2014 22:57:55 +0000 (14:57 -0800)]
Handle base images that have selinux disabled

The CentOS 6 base image has selinux set to disabled. Because of this, it
requires a stepping through permissive with a relabel during a reboot.
Unfortunately you can't have the scripts issue the reboot without
vagrant getting annoyed.

Change-Id: Ia46348162df9dc5deabf3a6d1907ca54cbd97b33
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoScript to generate initial ODL job template 08/12508/4
Thanh Ha [Tue, 4 Nov 2014 23:24:16 +0000 (18:24 -0500)]
Script to generate initial ODL job template

Change-Id: I213c326bcc056eb45ffb468a8783de772a3679d0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd dynamic slaves to templates 14/12514/1
Thanh Ha [Wed, 5 Nov 2014 00:40:24 +0000 (19:40 -0500)]
Add dynamic slaves to templates

Change-Id: I1530f2565fb59a20ca81ab481462df0313f39106
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd the ovsdb-docker Vagrant config 07/12507/1
Andrew Grimberg [Tue, 4 Nov 2014 22:56:56 +0000 (14:56 -0800)]
Add the ovsdb-docker Vagrant config

Given how sparsely configured this image actually is, it could probably
be easily used by any other project that needs Java7 (needed for being a
Jenkins slave at a minimum) and just docker after that.

Change-Id: I4022bb69d1a701a7d40d742f86af38835d3dd5c9
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoAdd Maven Settings file support to templates 96/12396/2
Thanh Ha [Fri, 31 Oct 2014 05:29:57 +0000 (01:29 -0400)]
Add Maven Settings file support to templates

- Use global defaults to id-map all the Config File Provider settings
  files
- Refactor the role of releng-templates.yaml to be a starting template
  that projects must copy and modify

Change-Id: Ic55e7b3ae655af52a60b8598af368d62a800b90e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoInitial Vagrant configurations 73/12373/1
Andrew Grimberg [Thu, 30 Oct 2014 02:15:22 +0000 (19:15 -0700)]
Initial Vagrant configurations

Add two vagrant configurations.

* rackspace-convert-base - used for taking a Rackspace base image and
  prepping it for use with other Vagrant definitions

* ovsdb-devstack - the current definition used for the OVSDB projects'
  DevStack testing dynamic slave. Please note that while this was used
  in the creation of the image used by OVSDB it was not the final
  vagrant. The Linux Foundation has an additional overlay that it uses
  to configure networking needs for the Rackspace private network that
  they operating the build environment inside of. As this extra overlay
  includes private configuration data it is not being added to the
  repository.

Change-Id: I800a096042ef196efceae6f2f19db754728415ee
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoMinor fixup of example SCM 70/12370/1
Andrew Grimberg [Thu, 30 Oct 2014 01:50:37 +0000 (18:50 -0700)]
Minor fixup of example SCM

Change-Id: I889e58d871e4f13d41e47644ab2b943f7fe6b600
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoAdd example instructions and configuration for using the job templates 40/12340/2
Thanh Ha [Wed, 29 Oct 2014 18:44:39 +0000 (14:44 -0400)]
Add example instructions and configuration for using the job templates

Change-Id: I08b9ff5f030befb412070317d0f3341b6c732d36
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoExplicitly set refspec to blank string 24/12324/1
Thanh Ha [Wed, 29 Oct 2014 16:08:02 +0000 (12:08 -0400)]
Explicitly set refspec to blank string

Change-Id: I64b46afb1c25fde36298ca6c45c2772ab4beba59
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd email-prefix variable to templates 23/12323/1
Thanh Ha [Wed, 29 Oct 2014 15:47:43 +0000 (11:47 -0400)]
Add email-prefix variable to templates

Change-Id: I1a8d97c47914b25a3a650a3bbcb27cb4102b3f27
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoRemove extra symbol in FilePath pattern 22/12322/1
Thanh Ha [Wed, 29 Oct 2014 15:32:12 +0000 (11:32 -0400)]
Remove extra symbol in FilePath pattern

Change-Id: I185fe11becbc2c52aa858e66a766c3a110017a92
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoChange email-ext macros to allow modifying the recipients and subject prefix 04/12304/6
Thanh Ha [Wed, 29 Oct 2014 04:03:48 +0000 (00:03 -0400)]
Change email-ext macros to allow modifying the recipients and subject prefix

Change-Id: I3a5a1a921dccd200e0117c75a4457dd827330f00
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoChange branch specifiers from ** to origin 18/12318/2
Thanh Ha [Wed, 29 Oct 2014 13:56:40 +0000 (09:56 -0400)]
Change branch specifiers from ** to origin

Also remove unnecessary origin/ from REFSPEC

Change-Id: I770bf62d8cda07341fdeb98623ee5b4e24a5a9b9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoUse GERRIT_BRANCH instead of GERRIT_REFSPEC for merge job 64/12264/2
Thanh Ha [Mon, 27 Oct 2014 14:26:35 +0000 (10:26 -0400)]
Use GERRIT_BRANCH instead of GERRIT_REFSPEC for merge job

- Change GERRIT_REFSPEC to GERRIT_BRANCH for builder-merge job
- Change origin/$branch to **/$branch for SCM

Change-Id: Id5437a3641b0f97cbaa9ddab6ee0293165d23426
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoReleng Builder initial jobs 36/12236/6
Thanh Ha [Mon, 27 Oct 2014 04:19:54 +0000 (00:19 -0400)]
Releng Builder initial jobs

Adds initial jobs for builder-verify and builder-merge.

Change-Id: I5f6e1289d3311b857742e1b4e00d829ad12b4b98
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoSet valid credentials-id 40/12240/1
Thanh Ha [Fri, 24 Oct 2014 20:57:36 +0000 (16:57 -0400)]
Set valid credentials-id

Also adds SSH-Agent wrapper for all jobs templates.

Change-Id: I84e7c0bc334feabb3867ad3feb009859ea8816ac
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoSplit macro for Gerrit Trigger for patch submitted and merged 39/12239/1
Thanh Ha [Fri, 24 Oct 2014 20:42:02 +0000 (16:42 -0400)]
Split macro for Gerrit Trigger for patch submitted and merged

Also fix the daily job to use a more generic Git SCM configuration.

Change-Id: I48f1d330fb9dd9b2e48dfd61924904c8f0559abf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoSet recursive by default in example jenkins.ini config 37/12237/1
Thanh Ha [Fri, 24 Oct 2014 20:05:45 +0000 (16:05 -0400)]
Set recursive by default in example jenkins.ini config

Change-Id: Idf2e3a449aa085e61306289769ec2405e1fc2892
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoInitial JJB Templates 07/12207/2
Thanh Ha [Thu, 23 Oct 2014 19:22:29 +0000 (15:22 -0400)]
Initial JJB Templates

Change-Id: Ib235f6c80153376b90cef3258d6fb34e29245ea9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoSetup .gitignore and .gitreview 06/12206/1
Andrew Grimberg [Thu, 23 Oct 2014 18:16:07 +0000 (11:16 -0700)]
Setup .gitignore and .gitreview

Setup the basic

Change-Id: Ief1e5667f6f0850bf44552c3c230736539386362
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
9 years agoInitial empty repository
Andrew Grimberg [Thu, 23 Oct 2014 18:13:42 +0000 (18:13 +0000)]
Initial empty repository