releng/builder.git
7 years agoAdd jmespath module used by TeplatedRequests lib 05/53605/2
Tomas Janciga [Tue, 21 Mar 2017 12:24:24 +0000 (05:24 -0700)]
Add jmespath module used by TeplatedRequests lib

Change-Id: Ic9f11fa4e9eb83590ce4a03b11c33d576b0b009a
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoAdd vlan interface to the gateway 57/53357/10
Revital Aronis [Wed, 15 Mar 2017 15:06:04 +0000 (17:06 +0200)]
Add vlan interface to the gateway

Change-Id: I308cbd0273d7d5e016f45657bdc7f04c9b09042b
Signed-off-by: Revital Aronis <revital.aronis@hpe.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Refactor netvirt job params to use default values"
Jamo Luhrsen [Mon, 20 Mar 2017 18:07:02 +0000 (18:07 +0000)]
Merge "Refactor netvirt job params to use default values"

7 years agoMerge "Only send autorelease failure email in releng silo"
Jamo Luhrsen [Mon, 20 Mar 2017 16:05:14 +0000 (16:05 +0000)]
Merge "Only send autorelease failure email in releng silo"

7 years agoUpdate cloud image list docs 50/53550/1
jenkins-releng [Mon, 20 Mar 2017 11:02:48 +0000 (11:02 +0000)]
Update cloud image list docs

Change-Id: I98f13ad2642b683e4b6d4f7805f02b602a18c7e5
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoRefactor netvirt job params to use default values 02/52302/15
Alon Kochba [Mon, 27 Feb 2017 11:54:50 +0000 (13:54 +0200)]
Refactor netvirt job params to use default values

Change-Id: Icbd7609272a46a4f628a8fc9276211ecf2f4149b
Signed-off-by: Alon Kochba <alonko@hpe.com>
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoOnly send autorelease failure email in releng silo 10/53310/4
Daniel Farrell [Wed, 15 Mar 2017 00:32:49 +0000 (20:32 -0400)]
Only send autorelease failure email in releng silo

Don't send emails to release and project lists during sandbox testing.

Change-Id: I595b23f1314f9c6ab2e92b6de4658842ab679400
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMerge "Temporary workaround for Nexus SNI issue"
Anil Belur [Fri, 17 Mar 2017 21:44:32 +0000 (21:44 +0000)]
Merge "Temporary workaround for Nexus SNI issue"

7 years agoMerge "Set recommended ~/.ssh folder permissions"
Thanh Ha [Fri, 17 Mar 2017 19:52:07 +0000 (19:52 +0000)]
Merge "Set recommended ~/.ssh folder permissions"

7 years agoRun a sync before restarting spectrometer-api 99/53499/1
Thanh Ha [Fri, 17 Mar 2017 19:39:05 +0000 (15:39 -0400)]
Run a sync before restarting spectrometer-api

Fixes issue with mirroring when a new repo is created in Gerrit.

Change-Id: I730df43d856e026ab1b002cd6a03cb6ea9666328
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoTemporary workaround for Nexus SNI issue 98/53498/1
Thanh Ha [Fri, 17 Mar 2017 18:52:18 +0000 (14:52 -0400)]
Temporary workaround for Nexus SNI issue

This should be reverted once Sonatype has an updated nexus staging
plugin for us.

Trello: https://trello.com/c/VBeO8STM
Change-Id: Ia7c0916d6b181bfd153183ea5defb39ed8f7b7d5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix mailing list address 93/53493/1
Thanh Ha [Fri, 17 Mar 2017 17:13:47 +0000 (13:13 -0400)]
Fix mailing list address

Change-Id: I3ccd5cb92aa9b1f9a70ab8cd3390aab30954a521
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate devstack images to latest available 88/53488/2
Jamo Luhrsen [Fri, 17 Mar 2017 16:28:48 +0000 (09:28 -0700)]
Update devstack images to latest available

Change-Id: I94092f80cdb52b8d9a11a8c7fa5a53f70f18fb9e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoBump staging plugin to latest version 80/53480/1
Thanh Ha [Fri, 17 Mar 2017 14:32:11 +0000 (10:32 -0400)]
Bump staging plugin to latest version

Hopefully this fixes the SNI issue on deploy due to certificate change
on nexus.opendaylight.org.

Change-Id: I7648841c98563b77f18066e6aae36dd3c091b88e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoSet recommended ~/.ssh folder permissions 36/53436/2
Anil Belur [Fri, 17 Mar 2017 00:48:46 +0000 (10:48 +1000)]
Set recommended ~/.ssh folder permissions

- set ~/.ssh permissions to 700, which is being set as 755 by default

Change-Id: I2ed9c0ad5494b02f503fa9616f6ca5dee5e9af9d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Add new job to trigger longevity jobs every sunday"
Vratko Polák [Thu, 16 Mar 2017 12:08:43 +0000 (12:08 +0000)]
Merge "Add new job to trigger longevity jobs every sunday"

7 years agoAdd new job to trigger longevity jobs every sunday 30/53130/8
Peter Gubka [Fri, 10 Mar 2017 11:02:05 +0000 (12:02 +0100)]
Add new job to trigger longevity jobs every sunday

The patch also contain a new job
controller-csit-1node-notifications-longevity-only-carbon, which is in
the https://git.opendaylight.org/gerrit/#/c/53342/

Change-Id: Ia611a14ea3dda49956fe5d4e15e30ffcce7721c9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd installation of modules used by IoTDM 65/53365/4
Tomas Janciga [Wed, 15 Mar 2017 17:14:46 +0000 (10:14 -0700)]
Add installation of modules used by IoTDM

Jsonpointer and tornado installation added

Change-Id: Iec0edd1fa4ddbaac76ad85282ab050a8edb46270
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoAuto Update CSIT Jobs to run 75/53375/1
jenkins-releng [Wed, 15 Mar 2017 19:32:54 +0000 (19:32 +0000)]
Auto Update CSIT Jobs to run

Change-Id: I46e26583c2e98abdac1930722517af8f2a9578d0
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoadd patch-test jobs for sfc 61/53061/2
Ursicio Martin [Thu, 9 Mar 2017 09:03:34 +0000 (10:03 +0100)]
add patch-test jobs for sfc

Change-Id: I3ee29f73664899408d69e4ea91e5048e7bb0c5f0
Signed-off-by: Ursicio Martin <Ursicio.Javier.Martin@ericsson.com>
7 years agoMerge "AAA: New job for Keystone Realm"
Jamo Luhrsen [Wed, 15 Mar 2017 19:09:37 +0000 (19:09 +0000)]
Merge "AAA: New job for Keystone Realm"

7 years agoMerge "Remove duplicate KARAF_REDIRECT var export"
Jamo Luhrsen [Tue, 14 Mar 2017 22:57:08 +0000 (22:57 +0000)]
Merge "Remove duplicate KARAF_REDIRECT var export"

7 years agoMerge "Update devstack packer to install OVS 2.6"
Jamo Luhrsen [Tue, 14 Mar 2017 22:53:18 +0000 (22:53 +0000)]
Merge "Update devstack packer to install OVS 2.6"

7 years agoRemove duplicate KARAF_REDIRECT var export 51/53251/1
Daniel Farrell [Tue, 14 Mar 2017 00:10:35 +0000 (20:10 -0400)]
Remove duplicate KARAF_REDIRECT var export

Export is duplicated (with better wording, quoting) a bit below (L54).

Change-Id: Id066729c4f2f106ab299301d03a1ad5ed70a2845
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoMerge "Fix JSON linting and add Linter"
Anil Belur [Mon, 13 Mar 2017 22:35:08 +0000 (22:35 +0000)]
Merge "Fix JSON linting and add Linter"

7 years agoFix JSON linting and add Linter 40/53240/1
Thanh Ha [Mon, 13 Mar 2017 17:47:32 +0000 (13:47 -0400)]
Fix JSON linting and add Linter

Add the JSON linter to .coafile so that our JSON files also get linted.

Change-Id: Ic8a73c4e90d359066de157365a66397a82d72e0e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Update cloud image list docs"
Thanh Ha [Mon, 13 Mar 2017 17:38:54 +0000 (17:38 +0000)]
Merge "Update cloud image list docs"

7 years agoRemove autorelease-project-report-{stream} jobs 03/53203/2
Anil Belur [Mon, 13 Mar 2017 09:43:28 +0000 (19:43 +1000)]
Remove autorelease-project-report-{stream} jobs

This job was useful when Stephen was sending weekly reports on
interesting developments in ODL however this hasn't really happened in
awhile due to time constraints. Remove the job to free up resources.

This patch removes:

    - Job
    - Macro
    - Script
    - Template

Change-Id: I551e35a884db01fd85036410a122f949f5c6dd2a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoUpdate cloud image list docs 07/53207/1
jenkins-releng [Mon, 13 Mar 2017 11:02:23 +0000 (11:02 +0000)]
Update cloud image list docs

Change-Id: I0355e0fcc4985bcb4ea18545b19fd0061bf4e750
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoMerge "Add SpaceConsistencyBear to ShellCheck"
Anil Belur [Mon, 13 Mar 2017 01:57:59 +0000 (01:57 +0000)]
Merge "Add SpaceConsistencyBear to ShellCheck"

7 years agoMerge "Disable GitCommit check for some patterns"
Anil Belur [Mon, 13 Mar 2017 01:57:45 +0000 (01:57 +0000)]
Merge "Disable GitCommit check for some patterns"

7 years agoAdd graphviz dependency 70/53170/1
Thanh Ha [Sat, 11 Mar 2017 05:12:28 +0000 (00:12 -0500)]
Add graphviz dependency

OpenDaylight docs project needs graphviz for a Sphinx extension.

Change-Id: I19ad6d20abc6b4544da4a3f8ce2a52854ab5a7d6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoArchive .hprof memory dumps 61/53161/2
Stephen Kitt [Fri, 10 Mar 2017 16:59:13 +0000 (17:59 +0100)]
Archive .hprof memory dumps

Change-Id: If73296d0a919299a663ec14a186c957bba2c9e7a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoAdd SpaceConsistencyBear to ShellCheck 60/53160/1
Thanh Ha [Fri, 10 Mar 2017 16:54:38 +0000 (11:54 -0500)]
Add SpaceConsistencyBear to ShellCheck

We weren't linting all shell scripts with the space consistency bear.
This enables that and sets it to 4 space indents.

Change-Id: I9cefdcedef9dc6a5cf700d4472b6f5ae85ba4320
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoDisable GitCommit check for some patterns 58/53158/1
Thanh Ha [Fri, 10 Mar 2017 16:49:47 +0000 (11:49 -0500)]
Disable GitCommit check for some patterns

Some patterns can be long such as:

    - Sign-off-by when someone has a long name
    - http / https URLs

Change-Id: Ie5401a116de9599aaf85b91e63e1522d962c8e1a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Include pycurllibrary in robotframework"
Thanh Ha [Fri, 10 Mar 2017 15:32:33 +0000 (15:32 +0000)]
Merge "Include pycurllibrary in robotframework"

7 years agoMerge "Update cloud image list docs"
Thanh Ha [Fri, 10 Mar 2017 15:30:59 +0000 (15:30 +0000)]
Merge "Update cloud image list docs"

7 years agoMerge "Use new Ubuntu 16.04 image for deb Ansible tests"
Thanh Ha [Fri, 10 Mar 2017 15:30:27 +0000 (15:30 +0000)]
Merge "Use new Ubuntu 16.04 image for deb Ansible tests"

7 years agoMerge "Update requirements to JJB 1.6.2"
Thanh Ha [Fri, 10 Mar 2017 15:28:31 +0000 (15:28 +0000)]
Merge "Update requirements to JJB 1.6.2"

7 years agoRevert "Make testplan more configurable" 42/53142/1
Vratko Polak [Fri, 10 Mar 2017 13:51:39 +0000 (14:51 +0100)]
Revert "Make testplan more configurable"

This reverts commit 5eda0e0f59e224b8ba9775ef3fafbb28edd4177a.
See comments in https://git.opendaylight.org/gerrit/53115

Change-Id: I63eefb5b1b276fde7fed8b83f302fe8cd2c76e35
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoUpdate requirements to JJB 1.6.2 32/53132/1
Vratko Polak [Fri, 10 Mar 2017 11:41:00 +0000 (12:41 +0100)]
Update requirements to JJB 1.6.2

Verify and merge jobs are already using that version.

Change-Id: I034ad7a5cb06e9f2da1a4845fcb3ffa343d4bf08
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoUpdate cloud image list docs 29/53129/1
jenkins-releng [Fri, 10 Mar 2017 11:02:26 +0000 (11:02 +0000)]
Update cloud image list docs

Change-Id: I21d18d28dbbdcb33d1c229a25dccdbbd7ba85fd0
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoInclude pycurllibrary in robotframework 22/53122/1
Miguel Angel Muñoz Gonzalez [Thu, 9 Mar 2017 14:02:18 +0000 (15:02 +0100)]
Include pycurllibrary in robotframework

This library is required to work with HTTPS/TLS and particularly
in handling client authentication with certificates

Change-Id: I441c2d6c3db8ee42d725affaeb6bef03c7121992
Signed-off-by: Miguel Angel Munoz Gonzalez <miguel.angel.munoz.gonzalez@ericsson.com>
7 years agoMerge "Disable color for packer build"
Anil Belur [Fri, 10 Mar 2017 05:55:31 +0000 (05:55 +0000)]
Merge "Disable color for packer build"

7 years agoMake testplan more configurable 15/53115/3
Jamo Luhrsen [Fri, 10 Mar 2017 02:52:09 +0000 (18:52 -0800)]
Make testplan more configurable

before our standard 1node and 3node templates had to have testplans
of the format {project}-{functionality}.txt. That is still the
default, but now a project can override the testplan by defining
a testplan element in their project jjb yaml.

Change-Id: I922f8feadf3f69b4c4b1e0bc36ee0fc07741af56
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoUse new Ubuntu 16.04 image for deb Ansible tests 13/53113/2
Daniel Farrell [Fri, 10 Mar 2017 01:38:49 +0000 (20:38 -0500)]
Use new Ubuntu 16.04 image for deb Ansible tests

The ansible-opendaylight module doesn't support Ubuntu 14.04, so this
was failing with the previous Ubuntu 14.04 boxes.

Fixes:

https://trello.com/c/ZeVAWpw5/472-fix-test-ansible-deb-job

Change-Id: I510b46024453965c1b96cbc056cac95da3481ea0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIgnore *-local-env.sh scripts and ignore SC2092 12/53112/2
Thanh Ha [Fri, 10 Mar 2017 01:29:26 +0000 (20:29 -0500)]
Ignore *-local-env.sh scripts and ignore SC2092

These files don't contain any commands and ShellCheck fails on them
because of that.

Change-Id: I4ec11081a3b7de3cfbb38f7a35480ff54fc0cc7d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix grub grepping code for RS Public Cloud 06/53106/1
Thanh Ha [Thu, 9 Mar 2017 23:30:37 +0000 (18:30 -0500)]
Fix grub grepping code for RS Public Cloud

It appears images in the public cloud uses Grub 2 instead of Grub 1
configuration.

Change-Id: I138f8d118d81ae2b64bae84e1f0cc4a0f0d3771f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Make autorelease-beryllium build only once a week"
Anil Belur [Thu, 9 Mar 2017 22:42:45 +0000 (22:42 +0000)]
Merge "Make autorelease-beryllium build only once a week"

7 years agoMerge "Add workaround for mkinitrd failing on CentOS7"
Jamo Luhrsen [Thu, 9 Mar 2017 22:32:59 +0000 (22:32 +0000)]
Merge "Add workaround for mkinitrd failing on CentOS7"

7 years agoAuto Update CSIT Jobs to run 03/53103/1
jenkins-releng [Thu, 9 Mar 2017 22:20:28 +0000 (22:20 +0000)]
Auto Update CSIT Jobs to run

Change-Id: Ibbd801ad701bf2b6dc571cd3d6acaa8bc7d3df99
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoMerge "Changing ovsdb job names to work better with patch-test"
Jamo Luhrsen [Thu, 9 Mar 2017 22:12:32 +0000 (22:12 +0000)]
Merge "Changing ovsdb job names to work better with patch-test"

7 years agoMerge "Add job to install ODL via ansible-opendaylight"
Jamo Luhrsen [Thu, 9 Mar 2017 22:02:42 +0000 (22:02 +0000)]
Merge "Add job to install ODL via ansible-opendaylight"

7 years agoChanging ovsdb job names to work better with patch-test 01/53101/2
Jamo Luhrsen [Thu, 9 Mar 2017 21:58:04 +0000 (13:58 -0800)]
Changing ovsdb job names to work better with patch-test

patch test will now call the jobs with the string -gate- in them.
any jobs matching that string (regex match on -gate-) will get
jenkins priority. that let's devs use the gate and get results
faster.

the -upstream- job will now only run on the main automatic
triggers and never on gerrit patches. jobs that run on gerrit
patches could potentially break (bad controller code) which
then pollutes the job history.

Change-Id: Iedf936e53521e07691ba007bf1efb490b0941a5c
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Replace exit 404 to exit 1"
Vratko Polák [Thu, 9 Mar 2017 18:40:51 +0000 (18:40 +0000)]
Merge "Replace exit 404 to exit 1"

7 years agoMake autorelease-beryllium build only once a week 97/53097/1
Thanh Ha [Thu, 9 Mar 2017 17:52:41 +0000 (12:52 -0500)]
Make autorelease-beryllium build only once a week

Since Beryllium is in maintenance mode and we're no longer doing
releases. Make Beryllium only run once a week so that it doesn't use our
infra resources.

Change-Id: I3212b99217f8840913ef225e27ef8f1af2dd3e1b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate infra-properties macro 91/53091/2
Andrew Grimberg [Thu, 9 Mar 2017 15:46:49 +0000 (07:46 -0800)]
Update infra-properties macro

The infra-properties macro should be setting all values of purgeable
components.

In particular, a forced maximum number of build logs and very small
number of maximum artifacts need to be put in place or Jenkins will
continue to consume more and more space for unneeded or unwanted build
artifacts.

Change-Id: I05ddacd1fca617f389c4a28c4ee38664bfc1cd8e
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
7 years agoMerge "IMAGES should be an array"
Andrew Grimberg [Thu, 9 Mar 2017 16:00:07 +0000 (16:00 +0000)]
Merge "IMAGES should be an array"

7 years agoReplace exit 404 to exit 1 89/53089/1
Thanh Ha [Thu, 9 Mar 2017 15:18:05 +0000 (10:18 -0500)]
Replace exit 404 to exit 1

Per Vratko's suggestion in Id4b67cb38a6ba297e9e2cd3f9091a1666b9c955c

Change-Id: Ibe607e43578e831dd1c88883f97c264b51657253
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoIMAGES should be an array 88/53088/1
Thanh Ha [Thu, 9 Mar 2017 15:16:11 +0000 (10:16 -0500)]
IMAGES should be an array

Change-Id: Ib8b76d232ef8da139c3d595c1c89ed96e955ca66
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate devstack packer to install OVS 2.6 80/52880/2
Alon Kochba [Mon, 6 Mar 2017 12:49:18 +0000 (14:49 +0200)]
Update devstack packer to install OVS 2.6

Change-Id: I631f137e4ccd73a35be80c5a8576ccf3bdd9dc62
Signed-off-by: Alon Kochba <alonko@hpe.com>
7 years agoRevert ssh-copy-id shellcheck change 60/53060/3
Thanh Ha [Thu, 9 Mar 2017 07:14:32 +0000 (02:14 -0500)]
Revert ssh-copy-id shellcheck change

Change-Id: I2b63cb053721e7aebe54414a72495088295bc101
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ssh-copy-keys script 57/53057/4
Thanh Ha [Thu, 9 Mar 2017 06:35:18 +0000 (01:35 -0500)]
Fix ssh-copy-keys script

Disable SC2006 for the ADDR line as there's some issues converting it to
$().

Change-Id: I2fd268d78ff0a539d47c7dd212392abb6ca6849e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoIgnore ShellCheck rule SC2046 55/53055/1
Thanh Ha [Thu, 9 Mar 2017 06:22:46 +0000 (01:22 -0500)]
Ignore ShellCheck rule SC2046

Not sure how to resolve this at the moment. If we quote it as suggested
the check fails and compare with -eq 0. Ignore this ShellCheck for now
until we figure out a proper solution.

Change-Id: I4b14d3db442a2cba8020b4823ef8c5b87ce5ccea
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix heat cleanup script missing array () 53/53053/1
Thanh Ha [Thu, 9 Mar 2017 05:31:10 +0000 (00:31 -0500)]
Fix heat cleanup script missing array ()

While cleaning up ShellCheck issues we mistakenly changed a variable
from an array. Put it back.

Change-Id: Ie91764fa60489d62c6df20d335c92df238deca45
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Fix if-statement for pkg retry loop"
Anil Belur [Thu, 9 Mar 2017 05:36:24 +0000 (05:36 +0000)]
Merge "Fix if-statement for pkg retry loop"

7 years agoFix if-statement for pkg retry loop 52/53052/2
Thanh Ha [Thu, 9 Mar 2017 05:31:10 +0000 (00:31 -0500)]
Fix if-statement for pkg retry loop

Refer to: https://github.com/koalaman/shellcheck/wiki/SC2181

Change-Id: I5df7b344ea2abc5aef6b675022125f14b22d0607
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoDisable color for packer build 48/53048/1
Thanh Ha [Thu, 9 Mar 2017 05:13:25 +0000 (00:13 -0500)]
Disable color for packer build

Jenkins logs and the log server isn't able to parse the color codes and
it causes unnecessary text to appear in the log. Let's disable color in
Jenkins so that the logs are a little easier to read.

Change-Id: I4dba009e34e405a3fd37444aec4b3c681a5e2cc8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Simplify patches tarball creation"
Anil Belur [Thu, 9 Mar 2017 05:10:01 +0000 (05:10 +0000)]
Merge "Simplify patches tarball creation"

7 years agoSimplify patches tarball creation 46/53046/1
Thanh Ha [Thu, 9 Mar 2017 04:09:39 +0000 (23:09 -0500)]
Simplify patches tarball creation

We should be pulling in everything in the PATCHES directory (especially
taglist.log) and it does not hurt to also pull in the diff files as a
backup for the bundle files.

Also fixes issue where the tarball contains the path w/jenkins-host/...
we just need it to include a patches directory.

Change-Id: I6d59eaced8ee34dce04fdf74d244196d227ef4cb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Fix ShellCheck issues in baseline.sh."
Thanh Ha [Thu, 9 Mar 2017 04:38:18 +0000 (04:38 +0000)]
Merge "Fix ShellCheck issues in baseline.sh."

7 years agoEnable ShellCheck for all except integration/*.sh 44/53044/2
Thanh Ha [Thu, 9 Mar 2017 03:23:18 +0000 (22:23 -0500)]
Enable ShellCheck for all except integration/*.sh

Integration will take awhile to fixup so let's enable ShellCheck for
everything else.

Change-Id: I4ebf60d7274ea8643493bb00ecd8e344896562ea
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in cleanup scripts 43/53043/2
Thanh Ha [Thu, 9 Mar 2017 03:11:46 +0000 (22:11 -0500)]
Fix ShellCheck issues in cleanup scripts

Change-Id: I58f020ba7d34d2cfeffaba5a3a30c3c2087e57b2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in jjb/*.sh 37/53037/3
Thanh Ha [Wed, 8 Mar 2017 22:09:52 +0000 (17:09 -0500)]
Fix ShellCheck issues in jjb/*.sh

Change-Id: Id5868ed62501ba39f13552d72af0e6adb1631535
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Fix ShellCheck issues in jjb/packaging"
Thanh Ha [Thu, 9 Mar 2017 03:57:24 +0000 (03:57 +0000)]
Merge "Fix ShellCheck issues in jjb/packaging"

7 years agoMerge "Fix ShellCheck issues in jjb/ovsdb"
Thanh Ha [Thu, 9 Mar 2017 03:57:03 +0000 (03:57 +0000)]
Merge "Fix ShellCheck issues in jjb/ovsdb"

7 years agoMerge "Fix ShellCheck issues in jjb/opflex"
Thanh Ha [Thu, 9 Mar 2017 03:56:52 +0000 (03:56 +0000)]
Merge "Fix ShellCheck issues in jjb/opflex"

7 years agoMerge "Update RPM versions built by default JJB params"
Daniel Farrell [Thu, 9 Mar 2017 03:56:43 +0000 (03:56 +0000)]
Merge "Update RPM versions built by default JJB params"

7 years agoFix ShellCheck issues in jjb/ovsdb 34/53034/2
Thanh Ha [Wed, 8 Mar 2017 21:35:34 +0000 (16:35 -0500)]
Fix ShellCheck issues in jjb/ovsdb

Change-Id: I34a8bfee5d3c4205bce739f607836f07f3e949c3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in jjb/opflex 33/53033/2
Thanh Ha [Wed, 8 Mar 2017 21:33:43 +0000 (16:33 -0500)]
Fix ShellCheck issues in jjb/opflex

Change-Id: Ife252776b4df794859e827be54ade42a42735a1b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Fix ShellCheck issues in jjb/neutron"
Thanh Ha [Thu, 9 Mar 2017 03:50:52 +0000 (03:50 +0000)]
Merge "Fix ShellCheck issues in jjb/neutron"

7 years agoMerge "Fix ShellCheck issues in jjb/netvirt"
Thanh Ha [Thu, 9 Mar 2017 03:50:41 +0000 (03:50 +0000)]
Merge "Fix ShellCheck issues in jjb/netvirt"

7 years agoMerge "Fix ShellCheck in jjb/docs"
Thanh Ha [Thu, 9 Mar 2017 03:48:55 +0000 (03:48 +0000)]
Merge "Fix ShellCheck in jjb/docs"

7 years agoMerge "Fix ShellCheck issues in jjb/autorelease"
Thanh Ha [Thu, 9 Mar 2017 03:48:16 +0000 (03:48 +0000)]
Merge "Fix ShellCheck issues in jjb/autorelease"

7 years agoMerge "Add ShellCheck linting to scripts directories."
Thanh Ha [Thu, 9 Mar 2017 03:48:11 +0000 (03:48 +0000)]
Merge "Add ShellCheck linting to scripts directories."

7 years agoMerge "Fix ShellCheck issues in jenkins-scripts"
Thanh Ha [Thu, 9 Mar 2017 03:46:47 +0000 (03:46 +0000)]
Merge "Fix ShellCheck issues in jenkins-scripts"

7 years agoFix ShellCheck issues in jjb/packaging 35/53035/3
Thanh Ha [Wed, 8 Mar 2017 21:43:01 +0000 (16:43 -0500)]
Fix ShellCheck issues in jjb/packaging

Change-Id: I9636f337273ed9ec5ad4bdcb99d9eec5f1d3f6ba
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate RPM versions built by default JJB params 45/53045/1
Daniel Farrell [Thu, 9 Mar 2017 03:29:32 +0000 (22:29 -0500)]
Update RPM versions built by default JJB params

Change-Id: I9b29976d596ca90d017177a8927dcb7babafbd85
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoChange sh->expect extension to appease coala 42/53042/1
Daniel Farrell [Thu, 9 Mar 2017 03:16:51 +0000 (22:16 -0500)]
Change sh->expect extension to appease coala

Change-Id: I37b71eecf7101ceb7f6ba1b97ad5349eaa2006b2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd workaround for mkinitrd failing on CentOS7 19/53019/3
Thanh Ha [Wed, 8 Mar 2017 16:59:38 +0000 (16:59 +0000)]
Add workaround for mkinitrd failing on CentOS7

Sometimes yum update fails to produce a working grub config as the
kernel install fails to build mkinitrd. This workaround introduces a
loop to reinstall the kernel if grub.conf is missing the initramfs line
which is an indication of the mkinitrd issue. The new function will
cause a packer failure via `exit 1` if the workaround did not work.

Change-Id: Ib498a610fdd6f082575495d1b56a57b5f1802321
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in baseline.sh. 25/53025/2
Thanh Ha [Wed, 8 Mar 2017 20:42:54 +0000 (15:42 -0500)]
Fix ShellCheck issues in baseline.sh.

Change-Id: Ia19e5b8750f8afe8d1f49bc47da6098c72b7ebc2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in jjb/neutron 31/53031/1
Thanh Ha [Wed, 8 Mar 2017 21:31:18 +0000 (16:31 -0500)]
Fix ShellCheck issues in jjb/neutron

Change-Id: Ic3b39afd6ba9aaee89966987bbc4f49a9d36fc83
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in jjb/netvirt 30/53030/1
Thanh Ha [Wed, 8 Mar 2017 21:30:56 +0000 (16:30 -0500)]
Fix ShellCheck issues in jjb/netvirt

Change-Id: I876784e21ffaf1643c720d463f44203cb39af6f7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck in jjb/docs 29/53029/1
Thanh Ha [Wed, 8 Mar 2017 21:18:19 +0000 (16:18 -0500)]
Fix ShellCheck in jjb/docs

Change-Id: Ie930a160ea1950aaf196eb9b6120de7cd29638c2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in jjb/autorelease 27/53027/2
Thanh Ha [Wed, 8 Mar 2017 21:13:09 +0000 (16:13 -0500)]
Fix ShellCheck issues in jjb/autorelease

Change-Id: I6c75eac842fffe14e073a717fde0bfaa495ae02b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd ShellCheck linting to scripts directories. 80/52680/5
Thanh Ha [Thu, 2 Mar 2017 22:24:14 +0000 (17:24 -0500)]
Add ShellCheck linting to scripts directories.

Running ShellCheck against our shell scripts for some linting.

Enables ShellCheck for:

    - jenkins-scripts/
    - scripts/

Trello: https://trello.com/c/MlgqXKq6
Change-Id: I4238a8edc88b3ca1b3a567e0d21bbe669b71f4be
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ShellCheck issues in jenkins-scripts 26/53026/1
Thanh Ha [Wed, 8 Mar 2017 20:52:19 +0000 (15:52 -0500)]
Fix ShellCheck issues in jenkins-scripts

Change-Id: Id4b67cb38a6ba297e9e2cd3f9091a1666b9c955c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAAA: New job for Keystone Realm 42/52942/2
Ursicio Martin [Tue, 7 Mar 2017 13:21:21 +0000 (14:21 +0100)]
AAA: New job for Keystone Realm

Change-Id: I2baa15a47d78a3203092fa857e80465f5230a640
Signed-off-by: Ursicio Martin <Ursicio.Javier.Martin@ericsson.com>
7 years agoMerge "Make link to tar from BUNDLEURL, use for build-rpm"
Jamo Luhrsen [Tue, 7 Mar 2017 22:30:20 +0000 (22:30 +0000)]
Merge "Make link to tar from BUNDLEURL, use for build-rpm"

7 years agoMerge "Update default systemd unitfile to include in RPM"
Jamo Luhrsen [Tue, 7 Mar 2017 21:02:21 +0000 (21:02 +0000)]
Merge "Update default systemd unitfile to include in RPM"