integration/packaging.git
9 years agoMerge "Update Dockerfile and Docker README for SR3"
Luis Gomez [Tue, 24 Mar 2015 00:59:39 +0000 (00:59 +0000)]
Merge "Update Dockerfile and Docker README for SR3"

9 years agoUpdate Dockerfile and Docker README for SR3
Daniel Farrell [Mon, 23 Mar 2015 22:51:18 +0000 (18:51 -0400)]
Update Dockerfile and Docker README for SR3

Change-Id: Iee7e93208af16f96a6a8010338697cccf95b9b04
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoUpdate ODL RPM spec, docs, helper scripts to SR3
Daniel Farrell [Mon, 23 Mar 2015 22:22:31 +0000 (18:22 -0400)]
Update ODL RPM spec, docs, helper scripts to SR3

* Also added an uninstall.sh helper script
* Generally cleaned up the README

Change-Id: I9b765640b800b68c33099c6832fb052cfc876ecd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Adding tox files to .gitignore"
Luis Gomez [Wed, 18 Mar 2015 05:43:42 +0000 (05:43 +0000)]
Merge "Adding tox files to .gitignore"

9 years agoAdding tox files to .gitignore
Luis Gomez [Wed, 18 Mar 2015 00:02:40 +0000 (17:02 -0700)]
Adding tox files to .gitignore

Change-Id: I3f34be7c94435a17e0842d784a8fa692a14ce97f
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
9 years agoAdd very basic Vagrantfile for RPM-building env
Daniel Farrell [Mon, 16 Mar 2015 03:35:58 +0000 (23:35 -0400)]
Add very basic Vagrantfile for RPM-building env

* Standard F20 box, but known-to-work with helper scripts
* Add .gitignore with rule for RPMs (built in Vagrantbox)

Change-Id: I1c14fb89207f7613efb0fbd2856cbbab1af62c07
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoSmall batch of ODL RPM updates, version to 0.2.2-4
Daniel Farrell [Mon, 16 Mar 2015 03:24:02 +0000 (23:24 -0400)]
Small batch of ODL RPM updates, version to 0.2.2-4

* Bugfix in URL to download ODL systemd .service file
* Don't include ODL version in ODL dir name
* Don't override ODL dir mode, explicitly set unitfile owner:group
* Generic related updates to RPM helper scripts

Change-Id: I3f59793311874f30031a3fda7c24f03498b946a9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoUpdate ODL RPM to Helium SR2
Daniel Farrell [Mon, 2 Feb 2015 18:49:37 +0000 (13:49 -0500)]
Update ODL RPM to Helium SR2

- Makes current RPM version 0.2.2-1
- Includes 0.2.1-6 update, which fixed a home dir-related bug

Change-Id: Id022190a5689a93e4650e6b69010819530bec988
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMove to new Karaf-based RPM
Daniel Farrell [Tue, 27 Jan 2015 19:38:58 +0000 (14:38 -0500)]
Move to new Karaf-based RPM

- Removed everything related to Hydrogen RPM
- Added ODL Karaf RPM .spec file, helper scripts, docs

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Set JAVA_HOME before launching karaf inside containers"
Daniel Farrell [Tue, 24 Feb 2015 15:18:27 +0000 (15:18 +0000)]
Merge "Set JAVA_HOME before launching karaf inside containers"

9 years agoSet JAVA_HOME before launching karaf inside containers
Cédric Ollivier [Mon, 23 Feb 2015 10:42:23 +0000 (11:42 +0100)]
Set JAVA_HOME before launching karaf inside containers

This patch sets JAVA_HOME to delete the related warning "results may vary" when
karaf starts.

Change-Id: I2c29fd331076b4d4b0473c9c254c8d1c1af19ffb
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
9 years agoChanged Dockerfile to use Helium SR2
Babis Kaidos [Mon, 2 Feb 2015 14:14:57 +0000 (16:14 +0200)]
Changed Dockerfile to use Helium SR2

Change-Id: I3feb0cd806b5ca3d0ae89e5448ab1041684fd6fe
Signed-off-by: Babis Kaidos <ckaidos@intracom-telecom.com>
9 years agoChanged Dockerfile to use 0.2.1-Helium-SR1 instead of 0.2.0-Helium
Charalampos Kaidos [Wed, 3 Dec 2014 18:06:11 +0000 (20:06 +0200)]
Changed Dockerfile to use 0.2.1-Helium-SR1 instead of 0.2.0-Helium

Change-Id: I129b97908f239a5ced78bab23ad4365f8d20736a
Signed-off-by: Charalampos Kaidos <ckaidos@intracom-telecom.com>
9 years agoUpdated Helium Dockerfile to reduce size of image.
Daniel Farrell [Thu, 30 Oct 2014 17:43:31 +0000 (13:43 -0400)]
Updated Helium Dockerfile to reduce size of image.

- Squash a few steps to reduce image size by 229MB.
- Functionality of image is unchanged.
- Slightly better docs in Dockerfile.

Change-Id: I22706b2699d5610a56c091a0f9bf2b88c27a7316
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Updated Docker packaging for Helium."
Christopher O'Shea [Tue, 28 Oct 2014 19:24:36 +0000 (19:24 +0000)]
Merge "Updated Docker packaging for Helium."

9 years agoUpdated Docker packaging for Helium.
Daniel Farrell [Sat, 18 Oct 2014 01:32:25 +0000 (21:32 -0400)]
Updated Docker packaging for Helium.

- Removed old base/vert/service provider builds
- Created Helium Dockerfile
- Updated README

Change-Id: I5cd60ab5955295d4d31e9ba1cd4f21434ad4e509
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoInitial Commit of ODL OpenStack Integration release/helium
Dave Tucker [Thu, 24 Jul 2014 14:03:34 +0000 (15:03 +0100)]
Initial Commit of ODL OpenStack Integration

- Add Vagrantfile for Devstack VMs
- Add Puppet manifests for provisioning the VMs

Change-Id: I099dd25feb2bdeafee6ef360b346cbe10ab9ac00
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
9 years agoMerge "Switch to new ofplugin"
Luis Gomez [Tue, 8 Jul 2014 00:10:29 +0000 (00:10 +0000)]
Merge "Switch to new ofplugin"

9 years agoSwitch to new ofplugin
Ed Warnicke [Tue, 10 Jun 2014 01:28:25 +0000 (20:28 -0500)]
Switch to new ofplugin

Default is now the new ofplugin
-of13 still works and uses the new ofplugin
-of10 now uses the legacy plugin

Because of the change, bumped version from
0.1.2-SNAPSHOT to 0.2.0-SNAPSHOT

Change-Id: I610de4b8a31bbc926ea6a27029ed1961bab21c9d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Update buildrpm to include latest project changes."
Sam Hague [Wed, 14 May 2014 00:25:58 +0000 (00:25 +0000)]
Merge "Update buildrpm to include latest project changes."

10 years agoMerge "Add rpmbuild utility scripts."
Sam Hague [Wed, 14 May 2014 00:25:15 +0000 (00:25 +0000)]
Merge "Add rpmbuild utility scripts."

10 years agoUpdate buildrpm to include latest project changes.
Sam Hague [Wed, 14 May 2014 00:19:49 +0000 (20:19 -0400)]
Update buildrpm to include latest project changes.

This commit adds post-hydrogen changes for bgpcep and
lispflowmapping projects.

Also add changes to buildrpm.sh to build from a specific
branch.

Change-Id: Icba5360be510a94bb59a480bbcafe0e9dbf54f27
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd rpmbuild utility scripts.
Sam Hague [Wed, 14 May 2014 00:16:58 +0000 (20:16 -0400)]
Add rpmbuild utility scripts.

Three scripts are added to help when working with RPMs:
- setbuildrpm.sh: Used to setup an environment to build RPMs.
- odlrepo.sh: Used to setup a local repo with the built RPMs.
- checkint: Used to validate the RPMs against the integration builds.

All the scripts have "-?" text to show the options and usage.

Change-Id: I512d815242463160e8420d23dcf2b2f621c3dfd1
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoSet default edition for rpm installs to be the Base edition.
Sam Hague [Thu, 13 Feb 2014 21:32:12 +0000 (16:32 -0500)]
Set default edition for rpm installs to be the Base edition.

Change-Id: I695d944b247dd566e838aa6b37c95989ded3b6fd
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd pom versioning to rpm builds.
Sam Hague [Thu, 13 Feb 2014 03:09:57 +0000 (22:09 -0500)]
Add pom versioning to rpm builds.

- buildrpm.sh will use the version in the pom.xml for each project to
create the version in the spec.
- finished up the bgpcep.spec now that the project builds a distribution.zip.
- added bgpcep to the opendaylight.spec.
- fixed a minor typo in the controller.spec changelog.

Change-Id: I489d47c1b3a700fffae0f373d4f3ff6f4c250a93
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Update POM files after release - fixing topology version"
Luis Gomez [Wed, 12 Feb 2014 05:11:24 +0000 (05:11 +0000)]
Merge "Update POM files after release - fixing topology version"

10 years agoUpdate POM files after release - fixing topology version
Sam Hague [Mon, 10 Feb 2014 20:20:49 +0000 (15:20 -0500)]
Update POM files after release - fixing topology version

Change-Id: Ic358d3e697a7d4fec96ac22008ec5f54d0d56dd3
Signed-off-by: Luis Gomez <luis.gomez@ericsson.com>
10 years agoAdd release tagged support to buildrpm.
Sam Hague [Mon, 10 Feb 2014 20:20:49 +0000 (15:20 -0500)]
Add release tagged support to buildrpm.

Change-Id: Ica969962fbf309fedc2149e94840354325cfeb2b
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd snmp4sdn, affinity, yangtools and bgpcep to buildrpm.sh.
Sam Hague [Mon, 10 Feb 2014 04:39:59 +0000 (23:39 -0500)]
Add snmp4sdn, affinity, yangtools and bgpcep to buildrpm.sh.

Change-Id: I8b0fc6c9e8c5b2c7219cffa77d50ccbc0ed27174
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoUpdates to include higher resource limits.
Miroslav Miklus [Mon, 27 Jan 2014 10:10:13 +0000 (11:10 +0100)]
Updates to include higher resource limits.

The default limits may affect deamon use in production environment.
Fix introduce higer limit for max. number of processes (threads) 1024 -> 20480
and higher limit for max. opened file descriptors 1024 -> 30720.

Change-Id: I8b11e7f8bbd498fd9572e4f746c27e1d804a066e
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
10 years agoMerge "change opendove.spec to use libevent_devel instead of libevent2_devel"
Sam Hague [Sun, 9 Feb 2014 21:14:10 +0000 (21:14 +0000)]
Merge "change opendove.spec to use libevent_devel instead of libevent2_devel"

10 years agochange opendove.spec to use libevent_devel instead of libevent2_devel
Sam Hague [Sun, 9 Feb 2014 21:11:59 +0000 (16:11 -0500)]
change opendove.spec to use libevent_devel instead of libevent2_devel

- Also fixed some rm calls to be rm -f in case the files do not exist.
- Also fixed soem changelog versions.

Change-Id: I0437f6c800ee804403a33db3d0668ee756e2ce4d
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Add bgpcep to rpm packaging."
Sam Hague [Sun, 9 Feb 2014 19:30:21 +0000 (19:30 +0000)]
Merge "Add bgpcep to rpm packaging."

10 years agoMerge "Add yangtools to rpm packaging. Also remove test artifacts from some packages."
Sam Hague [Sun, 9 Feb 2014 19:29:45 +0000 (19:29 +0000)]
Merge "Add yangtools to rpm packaging. Also remove test artifacts from some packages."

10 years agoMerge "Add affinity to rpm packaging."
Sam Hague [Sun, 9 Feb 2014 19:29:29 +0000 (19:29 +0000)]
Merge "Add affinity to rpm packaging."

10 years agoMerge "Add snmp4sdn to rpm packaging."
Sam Hague [Sun, 9 Feb 2014 19:28:58 +0000 (19:28 +0000)]
Merge "Add snmp4sdn to rpm packaging."

10 years agoAdd bgpcep to rpm packaging.
Sam Hague [Sun, 9 Feb 2014 04:47:16 +0000 (23:47 -0500)]
Add bgpcep to rpm packaging.

This is just a placeholder for bgpcep. The spec file is mostly complete, but
there is an issue in that bgpcep does not keep the artifacts within the build
directory and only pushes them to the maven repo. Thus, the artifacts cannot
be properly packaged. Committing the file so when that issue is fixed the
packaging will be ready.

Change-Id: If87952b94865d783c9b0717524f7a04a78b0628c
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd yangtools to rpm packaging. Also remove test artifacts from some packages.
Sam Hague [Sun, 9 Feb 2014 04:41:53 +0000 (23:41 -0500)]
Add yangtools to rpm packaging. Also remove test artifacts from some packages.

- Added yangtools.spec to make the yangtools.rpm.
- Modified controller.spec to not package the yangtools. There is still an issue
with the yangtools.thirdparty.(antlr4|extend-lib-osgi) jars still being pulled in
by the controller project. Need to have them moved to the yangtools package.
- Modified opendaylight.spec to include the new yangtools rpm.
- Removed test artifacts from openflowjava and openflowplugin rpms.

Change-Id: I9535bc0b18e68d3a5a8f7940312ce2ebc730e2ba
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd affinity to rpm packaging.
Sam Hague [Sat, 8 Feb 2014 23:56:21 +0000 (18:56 -0500)]
Add affinity to rpm packaging.

Change-Id: Ie643e4ba09605f0c10fb54be38ca5aaac52355c5
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd snmp4sdn to rpm packaging.
Sam Hague [Sat, 8 Feb 2014 22:48:25 +0000 (17:48 -0500)]
Add snmp4sdn to rpm packaging.

Change-Id: If4acf1da1fcdc486713a54b24a755fd6ad80da31
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoTemporary fix to remove OpenDove from RPM builds until libevent2-devel dependency...
Sam Hague [Sun, 2 Feb 2014 05:13:15 +0000 (00:13 -0500)]
Temporary fix to remove OpenDove from RPM builds until libevent2-devel dependency is resolved.

Change-Id: I3afbc5c83e8ec4002e0863c2599831ff0720386f
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Temporary fix to remove OpenDove from RPM builds until libevent2-devel depende...
Sam Hague [Sun, 2 Feb 2014 04:54:58 +0000 (04:54 +0000)]
Merge "Temporary fix to remove OpenDove from RPM builds until libevent2-devel dependency is resolved."

10 years agoTemporary fix to remove OpenDove from RPM builds until libevent2-devel dependency...
Sam Hague [Sun, 2 Feb 2014 04:52:16 +0000 (23:52 -0500)]
Temporary fix to remove OpenDove from RPM builds until libevent2-devel dependency is resolved.

libevent2-devel is not available to f19 so the OpenDove RPM build fails.

Change-Id: I363925c69d4e69f996b3dd93b111c2fbba8907ee
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Add support for different editions"
Sam Hague [Sun, 2 Feb 2014 04:23:46 +0000 (04:23 +0000)]
Merge "Add support for different editions"

10 years agoAdd support for different editions
Sam Hague [Sun, 2 Feb 2014 04:16:33 +0000 (23:16 -0500)]
Add support for different editions

- Added virtualization and service provider sub packages
- Renamed opendaylight-distribution to opendaylight
- Added proper bundle filters to run.odl.sh script
- Added virt-affinity option to run.odl.sh script
- Added a release build option to buildrpm.sh

Change-Id: Ib164c0e6fd8eedd22bc1ad2447789d1d07854a94
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "update rpmbuild with latest versions and add opendove and lispflowmapping...
Sam Hague [Sat, 1 Feb 2014 04:45:31 +0000 (04:45 +0000)]
Merge "update rpmbuild with latest versions and add opendove and lispflowmapping projects."

10 years agoupdate rpmbuild with latest versions and add opendove and lispflowmapping projects.
Sam Hague [Sat, 1 Feb 2014 02:37:37 +0000 (21:37 -0500)]
update rpmbuild with latest versions and add opendove and lispflowmapping projects.

- fixed version error in ovsdb and lipsflowmapping. An older snapshot version was hardcoded in the spec causing the rpm build to fail becuase it could not find the file.
- added opendove and lipsflowmapping to the buildrpm script.
- modified opendove.spec Requires: libjansson-devel. Package could not be found so switched to jansson-devel.
- modified description string in opendaylight-controller.spec with more text.
- added some debugger options to buildrpm.sh. --shortcircuit flags to restart building on specific projects.

Change-Id: Id2487f7ea0fb40fbd43d8e9accb6345b8233cac5
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoupdating the docker artifact version information to sync with the release version...
David K. Bainbridge [Fri, 31 Jan 2014 22:28:50 +0000 (14:28 -0800)]
updating the docker artifact version information to sync with the release version tick

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoupdated docker files to be more in line with some best practices as well as enable...
David K. Bainbridge [Fri, 31 Jan 2014 07:34:13 +0000 (23:34 -0800)]
updated docker files to be more in line with some best practices as well as enable the build system, which uses fedora as opposed to ubuntu. this commit also fixes the release versions in the docker files for the release

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agomove the release docker files to their own directories to help facilitate automated...
David K. Bainbridge [Thu, 30 Jan 2014 18:28:47 +0000 (10:28 -0800)]
move the release docker files to their own directories to help facilitate automated docker trusted builds

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoMerge "Updated spec file to build Open DOVE component rpms from a single file."
Sam Hague [Thu, 30 Jan 2014 13:34:35 +0000 (13:34 +0000)]
Merge "Updated spec file to build Open DOVE component rpms from a single file."

10 years agoupdated version information in pom to 0.1.1-SNAPSHOT
David K. Bainbridge [Wed, 29 Jan 2014 16:56:37 +0000 (08:56 -0800)]
updated version information in pom to 0.1.1-SNAPSHOT

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoAdd opendaylight-release packaging sources
Andrew Grimberg [Mon, 27 Jan 2014 20:43:36 +0000 (12:43 -0800)]
Add opendaylight-release packaging sources

I realized as I was about to go generating new packages that this really
should be in gerrit and done via Jenkins. So, initial upload with my fix
to the fedora URLs already in it.

Change-Id: I12f46a4767cebdc1dc8d532ad68ad3450248b258
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoMerge "Fixed paths patch for run.sh scripts"
Sam Hague [Fri, 24 Jan 2014 22:13:23 +0000 (22:13 +0000)]
Merge "Fixed paths patch for run.sh scripts"

10 years agoUpdated spec file to build Open DOVE component rpms from a single file.
Anees Shaikh [Fri, 24 Jan 2014 17:18:55 +0000 (09:18 -0800)]
Updated spec file to build Open DOVE component rpms from a single file.

Signed-off-by: Anees Shaikh <aasdevaddr@gmail.com>
10 years agoFixed paths patch for run.sh scripts
Miroslav Miklus [Thu, 23 Jan 2014 22:04:59 +0000 (23:04 +0100)]
Fixed paths patch for run.sh scripts

Change introduced in distributions/virtualization/src/assemble/resources/run.sh
broke the rpm build

Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Change-Id: I6b3c0f0671b55004c517d3629cb624515ce9f4ca

10 years agoMerge "Fix up a bogus changelog date"
Sam Hague [Thu, 23 Jan 2014 20:51:18 +0000 (20:51 +0000)]
Merge "Fix up a bogus changelog date"

10 years agoMerge "updated docker build files to expose additional ports in support of clustering...
Sam Hague [Thu, 23 Jan 2014 20:49:44 +0000 (20:49 +0000)]
Merge "updated docker build files to expose additional ports in support of clustering, rpcs and lisp. added to readme to describe how to make clustering work with containers"

10 years agoMerge "added rpm spec for lispflowmapping"
Luis Gomez [Thu, 23 Jan 2014 18:40:05 +0000 (18:40 +0000)]
Merge "added rpm spec for lispflowmapping"

10 years agoadded rpm spec for lispflowmapping
David Goldberg [Wed, 22 Jan 2014 15:36:05 +0000 (17:36 +0200)]
added rpm spec for lispflowmapping

Signed-off-by: David Goldberg <david.goldberg@contextream.com>
10 years agoFix up a bogus changelog date
Andrew Grimberg [Thu, 23 Jan 2014 05:47:45 +0000 (21:47 -0800)]
Fix up a bogus changelog date

I noticed that rpmbuild was complaining about a bogus changelog date in
the opendaylight-controller.spec file. Checking the date and the logs
I've corrected it to the proper date.

Change-Id: I505c8723ff874bc0fd2a0cf4964f4350925d31f2
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoAdd mockinit option back into build script
Andrew Grimberg [Thu, 23 Jan 2014 05:22:22 +0000 (21:22 -0800)]
Add mockinit option back into build script

I can't seem to find where it disappeared but the option has stopped
working (maybe it never really did work?). In any case, it really should
be in the script.

Change-Id: I3107472eb56a2ea82354ce658b472f0ab3b46d2f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoMerge "Fix patch error because of whitespace in run.sh."
Luis Gomez [Thu, 23 Jan 2014 04:50:03 +0000 (04:50 +0000)]
Merge "Fix patch error because of whitespace in run.sh."

10 years agoadded rpm spec for lispflowmapping
David Goldberg [Wed, 22 Jan 2014 15:36:05 +0000 (17:36 +0200)]
added rpm spec for lispflowmapping

Signed-off-by: David Goldberg <david.goldberg@contextream.com>
10 years agoupdated docker build files to expose additional ports in support of clustering, rpcs...
David K. Bainbridge [Thu, 23 Jan 2014 00:15:26 +0000 (16:15 -0800)]
updated docker build files to expose additional ports in support of clustering, rpcs and lisp. added to readme to describe how to make clustering work with containers

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoFix patch error because of whitespace in run.sh.
Sam Hague [Wed, 22 Jan 2014 23:49:43 +0000 (18:49 -0500)]
Fix patch error because of whitespace in run.sh.

Patch fails one hunk because of a mismatch in whitespace.
Also fixed a warning about changelog date being bogus.

Change-Id: Ie387a77bdc1702e19af0e99cec4157140adeb5b2
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Initial commit of docker image building support"
Luis Gomez [Wed, 22 Jan 2014 23:11:20 +0000 (23:11 +0000)]
Merge "Initial commit of docker image building support"

10 years agoMerge "Added distsuffix option to buildrpm.sh"
Luis Gomez [Wed, 22 Jan 2014 20:32:37 +0000 (20:32 +0000)]
Merge "Added distsuffix option to buildrpm.sh"

10 years agoInitial commit of docker image building support
David K. Bainbridge [Tue, 21 Jan 2014 21:11:10 +0000 (13:11 -0800)]
Initial commit of docker image building support

Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
10 years agoMerge "Remove the third party openflowjava jars. There jars are not used by anyone...
Luis Gomez [Tue, 21 Jan 2014 20:07:05 +0000 (20:07 +0000)]
Merge "Remove the third party openflowjava jars. There jars are not used by anyone and the deicision is to remove them for now."

10 years agoRemove the third party openflowjava jars.
Hsin-Yi Shen [Tue, 21 Jan 2014 18:45:25 +0000 (13:45 -0500)]
Remove the third party openflowjava jars.
There jars are not used by anyone and the deicision is to remove them for now.

Change-Id: I6e54f067742417b6da61b6100a82a5d2cbe35f90
Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
10 years agoAdded distsuffix option to buildrpm.sh
Miroslav Miklus [Tue, 21 Jan 2014 18:39:31 +0000 (19:39 +0100)]
Added distsuffix option to buildrpm.sh

- distsuffix option allows to define the package suffix

Change-Id: I4e8c24713f61096409d357be2392552efbcfe347
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
10 years agoMerge "Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh."
Luis Gomez [Mon, 20 Jan 2014 22:57:06 +0000 (22:57 +0000)]
Merge "Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh."

10 years agoMerge changes I854fecfa,Ief988528,Ibc50e28b
Luis Gomez [Mon, 20 Jan 2014 22:55:40 +0000 (22:55 +0000)]
Merge changes I854fecfa,Ief988528,Ibc50e28b

* changes:
  rpm/run.dist.sh: add usage statement
  rpm/run.dist.sh: fix commented out opendove command
  rpm/run.dist.sh: properly propagate exit code from helper scripts

10 years agoAdd rpm packaging for openflowjava and openflowpluging to buildrpm.sh.
Sam Hague [Sat, 18 Jan 2014 20:29:42 +0000 (15:29 -0500)]
Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh.

- remove tabs in buildrpm.sh (for real this time)
- Added openflowjava and openflowplugin to buildrpm.sh
- Reworked projects to use arrays so it is easier to add new projects in the future.
- Added mockmvn option to allow rewriting the maven command used when mock builds the rpms. This is useful to allow specifying a local .m2 cache so moc
k does not clean and reinstall between every build.
- ensure git version tags are used throughout for all projects. This ensures the src.rpm files are marked with consistent git hashes for easier reprodu
cing of a build.
- Cleaned up distribution.spec Requires to not require controller-dependencies since it is Required by the controller already.
- Removed duplicate code in dependencies.spec.

Change-Id: Ic157e168893d3f163708b44c476dc9026cb8b240
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agorpm/run.dist.sh: add usage statement
Chris Wright [Sun, 19 Jan 2014 07:28:19 +0000 (23:28 -0800)]
rpm/run.dist.sh: add usage statement

when executed with invalid cmdline parameter or the new 'help' cmdline
parameter, print out a usage statement.

Change-Id: I854fecfaa897e9b6d0f85adb84707357d449a20b
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agorpm/run.dist.sh: fix commented out opendove command
Chris Wright [Sun, 19 Jan 2014 07:02:09 +0000 (23:02 -0800)]
rpm/run.dist.sh: fix commented out opendove command

run.dist.sh doesn't currently support launching conroller with
opendove.  if you were to uncomment the opendove launch command it
incorrectly references vtn.  update to reference opendove.

Change-Id: Ief98852884f1e413e4e6c70b13f2f4e34697379d
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agorpm/run.dist.sh: properly propagate exit code from helper scripts
Chris Wright [Sun, 19 Jan 2014 06:38:19 +0000 (22:38 -0800)]
rpm/run.dist.sh: properly propagate exit code from helper scripts

run.dist.sh will fork/exec helper scripts and exits with a hardcoded
value of 0 regardless of the helper script's exit code.  properly
propgate exit code by directly exec'ing the helper script.

Change-Id: Ibc50e28be5a38a34e6e170f7d59e334976aa9fb6
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
10 years agoAdd case for -status) case in run.dist.sh
Hsin-Yi Shen [Fri, 17 Jan 2014 18:27:11 +0000 (13:27 -0500)]
Add case for -status) case in run.dist.sh
This fix status option in RHEL sysv script.

Change-Id: I1b4f4037da87f23b0f4346431f98098296167bb1
Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
10 years agoAdd spec files for openflowjava and openflowplugin.
Hsin-Yi Shen [Sat, 11 Jan 2014 02:18:24 +0000 (21:18 -0500)]
Add spec files for openflowjava and openflowplugin.
controller spec and README are also updated for corresponding change.

Change-Id: I8247f896dba3513b801f1e2c852f64c55312a01d
Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
10 years agoMerge "Add distribution support to buildrpm.sh script."
Luis Gomez [Tue, 14 Jan 2014 03:13:40 +0000 (03:13 +0000)]
Merge "Add distribution support to buildrpm.sh script."

10 years agoAdd distribution support to buildrpm.sh script.
Sam Hague [Mon, 13 Jan 2014 03:17:30 +0000 (22:17 -0500)]
Add distribution support to buildrpm.sh script.

- Update script to include building the ovsdb and distribution rpms.
- Modularized parts of the script to make it easier to add in future projects that need to be included.
- Added a buildtag option to tag the output build directory.
- Added mockdebug option to enable or disable the mock debug.
- Cleaned up and added some logging.
- Added mockinit option to init mock.

Change-Id: Iaef906b365ee24d1bb7dd04d3b550bfa22bfaac7
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoUpdates to include new configuration files.
Sam Hague [Fri, 10 Jan 2014 16:32:50 +0000 (11:32 -0500)]
Updates to include new configuration files.

The latest controller distribution has added more configuration files that need to be mapped into the rpm packaging. Added:
- configuration/initial
- configuration/RSA.pk
- configuration/tomcat-logging.properties

Updated rpm/README to include build steps and instructiosn for using the rpms and systemctl.

Change-Id: If336a687cefdc810e3c6aa313779f9ffc8d6a5ea
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd support for of1.3.
Sam Hague [Fri, 10 Jan 2014 13:33:04 +0000 (08:33 -0500)]
Add support for of1.3.

- Modified controller.spec to:
  - support the of1.3 option
  - support the three different run.sh scripts for the different distributions
- Added run.dist.sh script to wrap all the run.sh scripts. This file is called by the systemd and sys init scripts.
- Added patch file to modify the run.sh calls to run.internal.sh. The files assume run.internal.sh is in the same working directory as the wrapper run.sh which is not the case with systemd or sysv installs.
- Added distribution options to opendaylight-controller sysconfig. File is used to select the distribution to start.

Change-Id: Ia4daa92a8ce2237edd8ff5e242c40df53b04b8c3
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoMerge "Add spec file for opendove and vtn."
Luis Gomez [Wed, 8 Jan 2014 23:50:09 +0000 (23:50 +0000)]
Merge "Add spec file for opendove and vtn."

10 years agoAdd spec file for opendove and vtn.
Hsin-Yi Shen [Wed, 8 Jan 2014 20:43:08 +0000 (15:43 -0500)]
Add spec file for opendove and vtn.

Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
10 years agoMerge "Packaging update to support building ODL distributions."
Luis Gomez [Tue, 7 Jan 2014 17:24:52 +0000 (17:24 +0000)]
Merge "Packaging update to support building ODL distributions."

10 years agoMerge "Add RHEL support in spec file and remove fedora directory."
Luis Gomez [Tue, 7 Jan 2014 17:24:18 +0000 (17:24 +0000)]
Merge "Add RHEL support in spec file and remove fedora directory."

10 years agoPackaging update to support building ODL distributions.
Sam Hague [Mon, 6 Jan 2014 15:12:23 +0000 (10:12 -0500)]
Packaging update to support building ODL distributions.

This commit adds support for building the ODL OVSDB virtualization distribution.
- Added spec for building the ovsdb package
- Added distribution support to the controller spec. Mainly consists of adding
the integration run.sh wrapper script for run.sh.
- Updated dependencies.spec to also package ovsdb dependencies.
- Added spec for building the distribution. The spec simply Requires the
specific packages for the distribution. For example, it Requires the
controller, ovsdb and dependencies packages to support the OVSDB
virtualization package.

Change-Id: Iad931c46fc41bd107926dd9a41b5013638c55084
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd RHEL support in spec file and remove fedora directory.
Hsin-Yi Shen [Tue, 24 Dec 2013 17:39:58 +0000 (12:39 -0500)]
Add RHEL support in spec file and remove fedora directory.

Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
10 years agoMerge "Add Nexus pushes to the mock builder"
Luis Gomez [Fri, 13 Dec 2013 21:13:11 +0000 (21:13 +0000)]
Merge "Add Nexus pushes to the mock builder"

10 years agoAdd Nexus pushes to the mock builder
Andrew Grimberg [Fri, 13 Dec 2013 18:46:37 +0000 (10:46 -0800)]
Add Nexus pushes to the mock builder

Add in an option for pushing the built RPM artifacts to Nexus.

Additional options have been added to the script to support selecting
the repository that a given artifact should push to.

Change-Id: Ic7ebd7ffb1132bc395870b83042bfe21663eff15
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoAdd in verbose flag to mock
Andrew Grimberg [Sat, 7 Dec 2013 00:32:59 +0000 (16:32 -0800)]
Add in verbose flag to mock

Jenkins is a bit unhappy about the _very_ large pauses in output that
it's getting when we enter the mock build phase (multiple times). Add
the verbose flag to mock to keep Jenkins happy about this and also make
it easier to track where it is in the build process.

Change-Id: I2c15fc8161511b079eb96178980e2c909a710b91
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoMinor fixups for mock and cloning clean-up
Andrew Grimberg [Fri, 6 Dec 2013 23:57:05 +0000 (15:57 -0800)]
Minor fixups for mock and cloning clean-up

The mock build location repository needs initialized for each run. Each
of the subsequent calls to mock can continue to use the --no-clean
feature of mock but not doing an initial --init causes it to bomb on
Jenkins managed systems.

Clone at --depth 0. The builds are only going to be pulling against the
current master HEAD or a particular version. We may want to change the
clones to be direct fetches to the snapshot tarball interface.

Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
10 years agoMerge "Add script to allow jenkins to automate the rpm builds."
Luis Gomez [Fri, 6 Dec 2013 20:27:42 +0000 (20:27 +0000)]
Merge "Add script to allow jenkins to automate the rpm builds."

10 years agoMerge "Add review comments and general cleanup."
Luis Gomez [Fri, 6 Dec 2013 18:39:41 +0000 (18:39 +0000)]
Merge "Add review comments and general cleanup."

10 years agoAdd script to allow jenkins to automate the rpm builds.
Sam Hague [Fri, 6 Dec 2013 00:06:05 +0000 (19:06 -0500)]
Add script to allow jenkins to automate the rpm builds.

bash script to:
- get the controlelr source via git clone or local clone
- use rpmbuild to create a src.rpm
- use mock to build the rpm.

The script can be called as follows to build the rpm with a local git repo:

~/git/integration/packaging/rpm/buildrpm.sh --dist fedora-19-x86_64 --getsource buildroot --buildtype snapshot --buildroot ~/data/rpmbuild --debug

The different options and help can be seen using:

buildrpm.sh -?

Change-Id: I317ec19e2c1b8830e1fbef98d497b50a81ea51db
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd review comments and general cleanup.
Sam Hague [Tue, 19 Nov 2013 15:36:15 +0000 (10:36 -0500)]
Add review comments and general cleanup.

Change-Id: If24db025b5e5d60d4e61b3307191bcabacea8726
Signed-off-by: Sam Hague <shague@redhat.com>
10 years agoAdd *.swp files into the git ignore list.
Baohua Yang [Sun, 17 Nov 2013 12:14:27 +0000 (20:14 +0800)]
Add *.swp files into the git ignore list.

Change-Id: I83df5404691888f405f7ca3b6d65d2067850e800
Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
10 years agoAdd *.pyc, log.html, output.xml and report.html to the ignore list.
Baohua Yang [Sun, 17 Nov 2013 12:13:19 +0000 (20:13 +0800)]
Add *.pyc, log.html, output.xml and report.html to the ignore list.

Change-Id: I615d11eff75b5e811b37568bbca9be8404b15d0d
Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>