Daniel Farrell [Mon, 17 Oct 2016 15:39:42 +0000 (11:39 -0400)]
Cleanup .gitignore
Remove old Integration pre-split rules, doc remaining rules.
Change-Id: I8aaaedfaeb6bc117a8e8ef87b99158513eb83704
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 7 Oct 2016 09:43:40 +0000 (05:43 -0400)]
Add Boron RPM definition
Change-Id: I3d3fe2ee61418147aeeb39bfd44437e3f78b5ff1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 7 Oct 2016 09:21:46 +0000 (05:21 -0400)]
Remove old Boron snapshot RPM builds
Change-Id: Idb0ace3da173c65e623deffcf550480fc9077393
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Fri, 23 Sep 2016 17:15:26 +0000 (22:45 +0530)]
Add vagrant box version
Change-Id: I9aba0f170e1b72a566975ebee66fb5c27227ea30
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Jamo Luhrsen [Thu, 22 Sep 2016 20:58:42 +0000 (13:58 -0700)]
add bridge networking and tweak vagrant user permissions for wireshark
Change-Id: I5f92fce1cdea5987027a7d5887fd20ff8bff6ad2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Jamo Luhrsen [Tue, 20 Sep 2016 23:41:20 +0000 (16:41 -0700)]
add single-vm vagrant for csit tutorial
Change-Id: I3bccdf1340d3f550d249d337c49902fc3df78e65
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Daniel Farrell [Wed, 21 Sep 2016 20:55:45 +0000 (16:55 -0400)]
Add 5-release example RPM .repo file
Change-Id: Ibb6e64226a278ba94cf0fb98985fd518d1d5f973
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 20 Sep 2016 22:17:14 +0000 (18:17 -0400)]
Update pkg source info in deb Vagrantfile
Breaks at apt-get install with 404s otherwise.
Change-Id: I66c1ac34b432b6843522d4ae7adacae55009ed04
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Tue, 20 Sep 2016 20:43:49 +0000 (02:13 +0530)]
Add information regarding the hosted debian packages for consumption
Change-Id: I660cfca33c565785a9e613dc6320945468a2f533
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Akshita Jha [Tue, 20 Sep 2016 20:41:23 +0000 (02:11 +0530)]
Remove `wget` logic from debian files
Since, `cache/cache.py` checks and downloads OpenDaylight's tarball,
wget in debian files is no longer needed.
Change-Id: Ic4dae6f7c4f9eb49caf982dce03dd9df57e1ea8d
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Jamo Luhrsen [Mon, 19 Sep 2016 21:36:52 +0000 (14:36 -0700)]
add example repo for installing Boron
Change-Id: I558bf835a4f090a4d4705ed5aac54d5e517c9d72
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Akshita Jha [Tue, 13 Sep 2016 15:07:59 +0000 (20:37 +0530)]
Adds the feature to build ODL's .deb package from local tarball
The file `cache/cache.py` caches the tarball required for the given
debian build. `build.py` now uses a local tar.gz file, if it exists;
otherwise `cache/cache.py` downloads the appropriate version of
OpenDaylight's release tarball.
This commit further removes all old debian files created during
previous debian packaging.
It also removes executable permission from `build_vars.yaml`.
Change-Id: Ida69d19b34751bd7f221b8756348b9a77c3decd0
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Fri, 5 Aug 2016 17:26:17 +0000 (22:56 +0530)]
Use YAML+templates to define deb pkg builds
Adds deb pkg building helper script
The build.py script uses templates/build_debianfiles.py to
generate debian files for ODL .deb packages. To execute script:
$ build.py -v <version_major> <version_minor> <version_patch> \
<pkg_version>
build_debianfile.py reads build_vars.yaml and uses Jinja2 templates to
create debian files specific to a build.
The directory `templates` contains jinja2 templates for files
debian/control, debian/rules, debian/changelog. These files change
dynamically for every build. The other files are mostly the same for all
builds.
Also installs Python dependencies for build scripts in Vagrant env and
adds information in README.markdown for building Debs.
Change-Id: Iabba1d808c4fbb4a5832556c30dca4f9de13aaa4
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 15 Aug 2016 18:33:01 +0000 (14:33 -0400)]
Add ODL 5.0.0-0.1.20160815snap4347 RPM build def
Change-Id: Ic9c683792f01ad7efd84f6cb5326d3c442e35aca
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 15 Aug 2016 18:34:13 +0000 (14:34 -0400)]
Set RPM-building VM CPU/RAM for both LibVirt/VBox
Allocate more RAM so ODL doesn't fail when starting and installing a few
features. Allocate more CPU to speed up RPM building.
Change-Id: I46db2f2a4e44860c12091b0d3edf25ca97b03cb0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Girish Sukhatankar [Thu, 30 Jun 2016 01:44:01 +0000 (19:44 -0600)]
Add Vagrantfile for L2Switch tutorial
Defines a Vagrant env with OpenDaylight, OVS and Mininet, with ODL's
L2Switch and DLUX features installed and DLUX's port forwarded to the
host.
A user should be able to `vagrant up` this box, wait for provisioning,
connect to `localhost:8181/index.html`, login with `admin`/`admin` and
see ODL DLUX using L2Switch to show a Mininet topology.
Change-Id: Ifb717d64aedd62be066934aeb22339ce9fb5791e
Signed-off-by: Girish Sukhatankar <girish.sukhatankar@colorado.edu>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Vamsi Viswanadha [Thu, 30 Jun 2016 23:51:51 +0000 (17:51 -0600)]
Documentation for the L2 Switch Tutorial
Change-Id: Ie6a39ecf4b4d19c81d690823dc21f13e7f1283a7
Signed-off-by: Vamsi Viswanadha <vavi0155@colorado.edu>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 9 Aug 2016 22:54:22 +0000 (18:54 -0400)]
Set expected ODL exit code to 143 in RPM unitfile
ODL's normal exit value seems to be 143. Tell systemd that this isn't an
error, but the code it should expect ODL to return. Will cause systemd
to start reporting ODL exits as successful.
Once this is merged, new releases for all current RPMs should be cut
with sysd_commit set to find this unitfile version.
Based on 40584 by Akshita Jha.
Change-Id: I95a18a58f6201d2e76402770557a7b90245830cd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 9 Aug 2016 20:30:41 +0000 (16:30 -0400)]
Remove old RPM defs, use new template for .specs
Removed builds for which the artifacts have aged out, or have been
supplanted by official releases. Update other .specs with recent changes
to opendaylight.spec template.
Change-Id: I36d41323f3c9e0c1ec2af2db194b5ccaed10b716
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 9 Aug 2016 20:25:19 +0000 (16:25 -0400)]
Add 5.0.0-0.1.20160809snap4240 RPM definition
Moving to 0.n, vs n, for RPM version. Also proper snapshot version
format. Both described here:
http://fedoraproject.org/wiki/Packaging:Naming
Change-Id: I32c16d9911527b6675c3d8428f68eb91811320e5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 9 Aug 2016 20:17:16 +0000 (16:17 -0400)]
Add ODL Beryllium SR3 RPM definition
Change-Id: Ib901b7c5877818991ebec4dee12576463be19ee6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 9 Aug 2016 18:36:37 +0000 (14:36 -0400)]
Force ODL RPM tarball source name consistency
When we pass a URL to Source0, autosetup guesses the source tarball name
based on the last segment of the URL. Since distribution and autorelease
builds use different tarball name formats, we need force them to download
to the same format and explicitly use that for Source0.
Change-Id: Ic13c501c336a8cc752316ce63dea927c307597ed
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Patrick Laurin [Tue, 26 Apr 2016 16:40:53 +0000 (12:40 -0400)]
Add Fedora 23 Vagrant base boxes
Adds Fedora 23 boxes for ODL 3.4, 4.0 and 4.1. VirtualBox has been
tested, LibVirt and Docker builders have not.
Change-Id: I0f3ceebe6150379f50cbaac1399ab0a5ca541cbe
Signed-off-by: Patrick Laurin <plaurin@inocybe.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Tue, 2 Aug 2016 18:24:01 +0000 (23:54 +0530)]
Add basic README for ODL Debian package
Change-Id: I450652f648957f0d4609878f2587a47b0dba66ff
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Akshita Jha [Tue, 2 Aug 2016 18:10:53 +0000 (23:40 +0530)]
Sync folders /packaging/deb/ and /vagrant
Change-Id: Ic6a8e662993d0d40bf5bd9d58d0cfe70cd48bb18
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Daniel Farrell [Mon, 1 Aug 2016 19:50:05 +0000 (15:50 -0400)]
Add basic/stub README for ODL Debian package
Change-Id: I40fd91afbfd5c5ff8782a0c2190d83dff19ab3f3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Sun, 31 Jul 2016 11:58:54 +0000 (17:28 +0530)]
Add Vagrantfile for OpenDaylight .deb package
Change-Id: Ie012f0665cc33b6913cb53e021a45d35a8bd3a2d
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Daniel Farrell [Tue, 26 Jul 2016 15:55:13 +0000 (11:55 -0400)]
Add ODL 4.3.0-1.1367 RPM build definition
Change-Id: I7ec3177b5343730494518312a956c2c4a3c17c0e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Fri, 15 Jul 2016 14:00:12 +0000 (19:30 +0530)]
Start opendaylight without daemonizing it
Change-Id: I4f3aa1463daac0e57224030cdff93342743fdd2d
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Akshita Jha [Thu, 14 Jul 2016 19:07:13 +0000 (00:37 +0530)]
Delete /opt/opendaylight on opendaylight package purge
This patch adds a postrm script which deletes /opt/opendaylight/
on purge. This deletes user data and configuration. This patch
also corrects README.Debian, using the systemd unit to start OpenDaylight.
Change-Id: I558d9735d7904a5036f8538526b93a772a74b22d
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Daniel Farrell [Tue, 26 Jul 2016 16:50:41 +0000 (12:50 -0400)]
Ignore .tox dir in flake8 tests
Python verify jobs for (at least) Int/Test and Int/Pack recently started
failing with errors in the .tox dir.
Jobs that show the failure:
integration-test-verify-python-boron/1421
packaging-verify-python-master/93
Fixed job for Int/Test:
integration-test-verify-python-boron/1422
Int/Test Gerrit 42488 is to fix the same problem.
Change-Id: Ifce2a38547e261a4fa0eda15e688ab8dfcb06748
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Wed, 13 Jul 2016 12:18:19 +0000 (17:48 +0530)]
Add Java to ODL .deb package
Change-Id: I8255837337b89ac0f604bb2ced66e56ee9e21e7c
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Daniel Farrell [Fri, 15 Jul 2016 03:35:41 +0000 (23:35 -0400)]
Add ODL 4.3.0-1.1345 RPM build definition
Change-Id: I1524e945ded7050976799dbcc94fcbda1f6595b9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 15 Jul 2016 03:29:59 +0000 (23:29 -0400)]
Remove old RPM builds for which artifacts are gone
Some old RPM builds can't be reproduced anymore because their artifacts
have been perged from ODL's Nexus. Remove those definitions.
Change-Id: Ifd4c61862e010469e85e33b4e7f4e4c6ee40a816
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 15 Jul 2016 03:03:24 +0000 (23:03 -0400)]
Fix bug in RPM .spec file tarball URL
Change-Id: If6f7af956e5b7654b9b73bbf35237b4426797a58
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 29 Jun 2016 22:50:30 +0000 (18:50 -0400)]
Add ability to build RPMs without defining in YAML
Adds params to build.py that can define/build an RPM without adding
them to build_vars.yaml. This will allow builds via Jenkins jobs
without humans updating the YAML config.
Change-Id: Idda2049b418a6f3572152271ac7871a23310a2f7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 29 Jun 2016 23:51:26 +0000 (19:51 -0400)]
Make RPM changelog easier to pass from CLI
On the route to building RPMs in Jenkins jobs, need to simplify
how we specify RPM .spec file changelogs. Moving from a multi-line
format totally provided by user to a few fields placed in the right
format in template.
Change-Id: I20efec773470af26740b4e300be07fb8c81b653c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 30 Jun 2016 00:14:49 +0000 (20:14 -0400)]
Remove Java build param
We're not using different versions of Java for any of our RPM builds,
so we don't need to include it as a param.
Change-Id: I01520e78713f52a9795e121ce792644aafa23f1f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 29 Jun 2016 22:23:51 +0000 (18:23 -0400)]
Remove flag to build all RPMs
We now have many 10s of RPMs defined in build_vars, so it would be
a horrible idea to build all of them. Remove that option.
Change-Id: I844fecbd176434d2f32674004d48b6590499c448
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 29 Jun 2016 21:57:57 +0000 (17:57 -0400)]
Add docs for download_url RPM build param
Change-Id: I211d65b658766b134bb46e5a51624e9e98cc2931
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 29 Jun 2016 20:01:52 +0000 (16:01 -0400)]
Clean up RPM build definitions
The opendaylight.spec template had changed (to add clean uninstalls)
since these build_vars sections were added, so the generated specs
used by the released RPMs differ from the ones that would currently
be generated by build_specs.py, which is bad. Since these are old
RPMs that have been supplanted by more recent ones, just remove them
vs updating, rebuilding and re-releasing.
Change-Id: I8505f5c6be691a244684704d8a101e002acf853e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 29 Jun 2016 19:15:18 +0000 (15:15 -0400)]
Remove unused rpm_disttag RPM build var
Change-Id: I20c874542437b439411348eca3baaac2dfed6167
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita Jha [Sat, 25 Jun 2016 14:09:43 +0000 (19:39 +0530)]
Change the path to integration/packaging/deb/opendaylight/
This patch moves deb/debian directory to deb/opendaylight/debian directory
Change-Id: Ia3556baa6269d26bd2e361bd315cce6bd5308a5a
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Akshita [Tue, 21 Jun 2016 07:05:31 +0000 (12:35 +0530)]
Providing an Upstart job and systemd unit to ODL .deb package
This patch provides and Upstart job and a systemd unit. It also adds
some build-dependencies.
Change-Id: I7983418426a4bf70a36b5b19e0d5c8e90543d590
Signed-off-by: Akshita <zenith158@gmail.com>
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Akshita [Sat, 11 Jun 2016 04:02:43 +0000 (09:32 +0530)]
Add .deb package for OpenDaylight
This is a basic, non-policy-compliant package installing OpenDaylight in /opt/opendaylight,
following the technique described in https://vincent.bernat.im/en/blog/2016-pragmatic-debian-packaging.html
Change-Id: I6eefa3737595b4661f97e8293c48f890a4fb213d
Signed-off-by: Akshita <zenith158@gmail.com>
Daniel Farrell [Fri, 10 Jun 2016 15:36:03 +0000 (11:36 -0400)]
Add .repo file for install latest ODL Be release
The 4-release repo described by this .repo file will always contain the
latest ODL Beryllium release or SR. It currently contains Be SR2, but
will eventually contain SR3 and then SR4.
Change-Id: Id5f0de631b8a008c18c50a075c402ffa631e8fc6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 7 Jun 2016 15:07:47 +0000 (11:07 -0400)]
Add ODL opendaylight-4.3.0-1.
201606060052 RPM def
Change-Id: Ie40e906cc947aba2b5031667b4a76ed5282b1760
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 6 Jun 2016 22:05:25 +0000 (18:05 -0400)]
Add Boron 5.0.0-1.
201606060053 RPM definition
Change-Id: I437e27bca4e0ebfbe1ab93be37f84d6bad711287
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 27 May 2016 10:28:23 +0000 (06:28 -0400)]
Add Be SR2 CentOS Vagrant/Docker Packer def
Var file to define LibVirt/VBox Vagrant base boxes, Docker image.
Change-Id: Ida114ae11f583ac784f6400b3c9ebc85cc4346c6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 31 May 2016 20:26:06 +0000 (16:26 -0400)]
Add example repo config for Boron testing RPM repo
Curl this file down to /etc/repos.d/ to add OpenDaylight's CentOS CBS
repo. Commands like `dnf install opendaylight` will then work.
The 5-testing repo will always have the latest Boron RPM, including
unstable testing builds and builds from later SRs.
Change-Id: Iec0dd63ebb3e3c62b25828d6ed7c7c0b6e83b9ac
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 31 May 2016 20:23:08 +0000 (16:23 -0400)]
Add ODL 5.0.0-1.
201604260021 RPM definition
Change-Id: I13f41948e4c0ca7ab85cf155ea96a8daae03de7e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 26 May 2016 14:13:18 +0000 (10:13 -0400)]
Add ODL 4.3.0-1.
201605250031 RPM definition
Change-Id: I8f9f18831df5bfe5bab42ee5f4c1b76c1ee8a85d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 26 May 2016 10:16:59 +0000 (06:16 -0400)]
Add ODL 4.3.0-1.
201605200033 RPM definition
Change-Id: I260492921baf090dc724c11cbccb2a3039f75b8e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Thanh Ha [Fri, 20 May 2016 02:00:16 +0000 (22:00 -0400)]
Initialize readthedocs documentation for integration/packaging
You can build the docs with:
tox -edocs
and view the docs by opening:
firefox .tox/docs/tmp/html/index.html
This patch simply initializes sphinx for integration/packaging. Once
merged we can link into the docs project and have it generated on
readthedocs under the docs project's readthedocs link:
https://opendaylight.readthedocs.io/en/latest/
Change-Id: I9ba9a5048f043a8fee9bacf66db867c27f616bce
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Daniel Farrell [Wed, 18 May 2016 16:53:12 +0000 (12:53 -0400)]
Add example repo config for Be SR2 RPM install
Curl this file down to /etc/repos.d/ to add OpenDaylight's CentOS CBS
repo. Commands like `dnf install opendaylight` will then work.
Change-Id: I47bba4a6cd244e8c27d477f6021ce4f453e52448
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Akshita [Tue, 17 May 2016 09:18:55 +0000 (14:48 +0530)]
Add an integration/packaging/deb stub directory
Change-Id: If6005ef07cc26d7165574afebce4f2f86a77ae61
Signed-off-by: Akshita <zenith158@gmail.com>
Daniel Farrell [Wed, 11 May 2016 16:40:32 +0000 (12:40 -0400)]
Add Beryllium SR2 RPM definition
Change-Id: I178796a3ceda50c69949f85da31ff095beff3c65
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 21 Apr 2016 03:55:06 +0000 (23:55 -0400)]
Add 4.2.0-1.
20160420.
023809294 RPM
Build from merge job of bugfix described in this thread, reported by ODL
CI and OPNFV Apex.
lists.opendaylight.org/pipermail/integration-dev/2016-April/006459.html
Change-Id: Ia69e5011899a963653bdbbe7b4e05edcc158d8f7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 20 Apr 2016 18:47:45 +0000 (14:47 -0400)]
Add 4.2.0-1.
201604200031 RPM
Change-Id: I87dee5aa7005039c6ac21481f00bc8b432ced6b5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 20 Apr 2016 15:00:06 +0000 (11:00 -0400)]
Add 4.2.0-1.
20160415.
165450231 RPM
This has a known problem, so I wasn't going to push it, but it's
required for reproducing the problem so adding anyway.
https://lists.opendaylight.org/pipermail/integration-dev/2016-April/006466.html
Change-Id: I6030f8f8a129e1871974041e8d9510aabf07e4d9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 19 Apr 2016 21:11:08 +0000 (17:11 -0400)]
Add 4.2.0-1.
201604190031 RPM
Change-Id: Ief014c5ed4bc74ab0a4b380de9f002b821c15938
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 15 Apr 2016 16:56:19 +0000 (12:56 -0400)]
Add 4.2.0-1.
20160407.
144137180 RPM
Change-Id: Iaa7746521b653623807519becc366e4b208afc0a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 13 Apr 2016 00:24:18 +0000 (20:24 -0400)]
Update Packer README with official DockerHub info
The Int/Pack committers have recently been given access to ODL's
official DockerHub account. It's now up-to-date with pre-built images of
every build defined here.
Also an unrelated minor re-word.
Change-Id: I61f0ba775fc0305c854a68040059a7754d54a499
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Frederick F. Kautz IV [Fri, 8 Apr 2016 22:57:04 +0000 (15:57 -0700)]
Fix docker.json, json is now valid
Change-Id: I537e4d2551372b0f962ea00d455c35a7cfcbf740
Signed-off-by: Frederick F. Kautz IV <fkautz@redhat.com>
Daniel Farrell [Thu, 7 Apr 2016 21:54:20 +0000 (17:54 -0400)]
Add 4.2.0-1.
20160407.
144137180 RPM
Builds ODL from a distribution build, instead of the normal autorelease
build. OPNFV needs a fix that's in this build but not the latest
autorelease.
Note that the distribution-karaf-0.4.2-
20160407.144137-180.tar.gz
tarball extracts to a distribution-karaf-0.4.2-SNAPSHOT, which breaks
rpmbuild's assumptions about tarballs. It expects the codename to
follow 0.4.2, and the two have different codenames. I'm manually
untaring, renaming and re-taring the cached version to give it
the same dir name as the tarball. This is a hack but this is just going
to the 4-testing CBS repo so it's not a big deal.
Change-Id: I5fb8475f7bec9a5ef8d0a0899932f2a451bf7852
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 6 Apr 2016 23:25:55 +0000 (19:25 -0400)]
Major update to Packer README
Update README to reflect newly refactored Packer build logic.
Change-Id: Iad9e2b99f84b581a739111021ddd14b9379d8762
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 28 Mar 2016 22:07:30 +0000 (18:07 -0400)]
Major refactor of Packer Vagrant+Docker logic
* Reorganize files/dirs to scale to larger number of builds
* Extract vars from templates more completely
* Support building ODL 3.4, 4.0 and 4.1
* Still using the latest CentOS ISO, 7.2.1511
* Built versions: atlas.hashicorp.com/opendaylight/boxes/odl
Change-Id: Ib23777663913ed8c727a5d5383fb0707c0c95daa
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 23 Mar 2016 20:44:01 +0000 (16:44 -0400)]
Add example repo config for installing Li SR4 RPM
Change-Id: If59e3c7c3f4ecb5164042291a0e440a24b3f0b91
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 23 Mar 2016 20:34:54 +0000 (16:34 -0400)]
Create Beryllium SR1 RPM, add ex repo config
Define build logic for ODL Beryllium SR1 4.1.0 RPM.
Add example repository config for installing new Be SR1 RPM from the
CentOS Community Build System.
Update README with new supported ODL version.
Change-Id: Ie41f9a4cac7467831719a65132e07ae94bf67b25
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 17 Mar 2016 04:27:50 +0000 (00:27 -0400)]
Update Puppet and Ansible submodules to latest
Update the pointers for puppet-opendaylight and ansible-opendaylight to
the latest versions of each project.
Change-Id: I3b483e51ab2d296200ac20feafe7325c97a8c28d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 11 Mar 2016 23:05:26 +0000 (18:05 -0500)]
Update RPM README with currently supported builds
Change-Id: I3b7f7716f2eac295a33deca308f2b0eb366fa37d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 11 Mar 2016 22:50:04 +0000 (17:50 -0500)]
Add ODL Lithium SR4 3.4.0-1 RPM build definition
Change-Id: I314f81d489624370f8803f4f590f6a195cec178a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 23 Feb 2016 23:43:22 +0000 (18:43 -0500)]
Add ODL Beryllium QEMU Vagrant base box Packer def
Uses the Packer QEMU builder to define a CentOS 7.2.1511 Minimal box
provisioned by the opendaylight-ansible Ansible role using OpenDaylight
Beryllium 4.0.0.
Change-Id: Ia9d051449923d5d6b82aa7126412b3523395891d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 19 Feb 2016 20:04:25 +0000 (15:04 -0500)]
Add ODL Beryllium 4.0.0-1 RPM build definition
Change-Id: Iaf1064a6bb177a023f2d57471923821f2641e69d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 29 Oct 2015 19:23:59 +0000 (15:23 -0400)]
Fix various minor issues in RPM docs
Change-Id: Ib64063dda234f4599b5ee2d77d778150d6699bd4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 16 Feb 2016 17:18:08 +0000 (12:18 -0500)]
Add ODL 4.0.0-1.rc3.1 RPM build definition
Change-Id: I0685f3cf8a725fa5cfb280383faa48b506917329
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 15 Feb 2016 16:39:23 +0000 (11:39 -0500)]
Add ODL 4.0.0-1.rc3 RPM build definition
Change-Id: Id122ea662b5d8c3743c046d2d2d9ad5e272a9c00
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 12 Feb 2016 18:34:10 +0000 (13:34 -0500)]
Add ODL 4.0.0-1.rc2.3 RPM build definition
Change-Id: I47b131782533d343fffa7c50fe7fb2735b3c75fb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 12 Feb 2016 15:42:04 +0000 (10:42 -0500)]
Add ODL 4.0.0-1.rc2.2 RPM build definition
Change-Id: I20b930642ca5fb5114f9f51728749bf6cf536bbe
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 11 Feb 2016 20:26:18 +0000 (15:26 -0500)]
Add ODL 4.0.0-1.rc2.1 RPM build definition
Change-Id: I731b082ba86b78ac85e9a49404136c73ceeb459f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 9 Feb 2016 00:58:47 +0000 (19:58 -0500)]
Add ODL Ansible role as a submodule
Create a TLD to store ODL-related Ansible roles, starting with the
mostly-official one used by Int/Pack's Packer build. Other community
roles can be added in the future, either directly or via submodules.
If/once the ODL Forge exists, I hope to migrate the ansible-odl Ansible
role to it, at which point we'd change the submodule pointer here to
point at that more-official repo.
Config management tools like Ansible are in-scope for Int/Pack.
wiki.opendaylight.org/view/Project_Proposals:Integration_Packaging#Scope
Change-Id: If1e621bd71fcc3e227ce8ad512bb09d251b75427
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 5 Feb 2016 17:27:13 +0000 (12:27 -0500)]
Add ODL 4.0.0-1.rc2 RPM build definition
This is meant for consumption by OPNFV's testing projects
Change-Id: I2b27ad69f7235b7437e888e78753b60e190c5d44
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 4 Feb 2016 04:58:55 +0000 (23:58 -0500)]
Add ODL 4.0.0-1.
201602020032 RPM build definition
This is meant for consumption by OPNFV's testing projects.
Change-Id: Ic0cfb40014e003adc1e2988da117ac5070ba600e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 1 Feb 2016 17:43:31 +0000 (12:43 -0500)]
Add Beryllium RC1 ERP RPM
Change-Id: Ice3ab3ec534857445c0a0c7509e8ba272f0709f3
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 25 Jan 2016 23:03:39 +0000 (18:03 -0500)]
Update Li SR3 RPM to handle upgrade cleanly
OPNFV found a bug where the RPM didn't upgrade properly. The
/opt/opendaylight
directory wasn't being layed down by the newer RPM. The updated
.spec file's postrun logic seems to fix the issue.
Change-Id: I2bb0116d9e2217e0753502bbfb04ec345a12df38
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 22 Jan 2016 21:48:39 +0000 (16:48 -0500)]
Update Be ERP RPM to handle upgrade cleanly
OPNFV found a bug where the RPM didn't upgrade properly. The
/opt/opendaylight
directory wasn't being layed down by the newer RPM. This fix,
via Dan Radez, seems to fix it.
Change-Id: I0b871a0723dd1249ccb248622ae0cc3aab1aa369
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 20 Jan 2016 19:53:54 +0000 (14:53 -0500)]
Add repo config for (future) ODL Be release RPM
This repo config will be used for installing ODL Beryllium, once it's
released. OPNFV's installer and testing projects, as well as ODL
projects like the Ansible role and vagrant-opendaylight, curl down these
example files for use. Adding this before the release allows integration
work to happen in advance. Once the Be RPM is built and tagged to the
nfv7-opendaylight-40-release destination tag, the repo pointed to by
this config will be built and installs will start working.
Change-Id: I13cf676141c1c3e2caf6d605814f4f7aa9db4cb1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 20 Jan 2016 19:43:12 +0000 (14:43 -0500)]
Add 3.3.0-1 and 4.0.0-1.
201512150335 RPM specs
These were logically created after the build_vars changes that defined
their RPMs, but I neglected to copy the spec files back from the build
Vagrant box and commit them with the RPM build definition changes.
31376 logically added 4.0.0-1.
201512150335
31221 logically added 3.3.0-1
They are auto-generated via ./spec/build_specs.py, but imho they should
explicitly exist in the repo as well (clarity, docs, easy sharing, etc).
Change-Id: Iebfbf778998b2ca65d358a2c00e80ad3ebad3e31
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 20 Jan 2016 17:27:59 +0000 (12:27 -0500)]
Add ODL 4.0.0-1.
201601200134 RPM build definition
This is meant for consumption by OPNFV's testing projects.
Change-Id: Icebcb52942870f70bfcce64d889d9a83fe5604d2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 20 Jan 2016 17:03:34 +0000 (12:03 -0500)]
Use strings for all RPM version variables
The new Be ERP rpm_version values of the format
<rpm_release>.<ERP date version>
Broke the `-v` param's int expectations, so that argparse option was
removed. Params to build.py then become strings by default. The
build_vars configuration used unquoted numbers for version values, which
were being read in as ints, causing the comparison between version
values passed to the script and those read in from build_vars to fail
based on type differences. Quotes were added to the data to specify
explicitly that version vars should be treated as strings.
Change-Id: I8b20edc7a26db793d084b9b0899c5e5138af4ab9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 13 Jan 2016 17:23:17 +0000 (12:23 -0500)]
Add ODL RPM repo cfgs for new CentOS CBS setup
As described in the bug linked below, the set of Koji destination tags
used by the CentOS NFV SIG for ODL RPMs has been refactored. These new
repo configs make use of the new set of destination tags to provide
access to all current major releases and SRs.
https://bugs.centos.org/view.php?id=9889
Change-Id: Ib8cee6b1ed77223be954402bd34ec043d7ea2d6b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Tue, 15 Dec 2015 22:35:41 +0000 (17:35 -0500)]
Add ODL 4.0.0-
20151215033 RPM build definition
Makes minor tweaks to the build logic to add support for building
"Experimental Release Preview" RPMs for pre-release testing.
Adds the build configuration required for building from a pre-release
candidate build of OpenDaylight Beryllium.
This is meant for consumption by OPNFV's testing projects.
Change-Id: I26fd79748b6ffcbc722b0e169cdef38a291da2b9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 11 Dec 2015 21:27:05 +0000 (16:27 -0500)]
Update RPM build Vagrant env to official Cent7
Use official (latest) CentOS 7 Vagrant base box for the RPM building
Vagrant environment.
Make box more robust by just using rsync vs NFS for sync.
Allocate more RAM to prevent ODL OOM errors.
Change-Id: I37b5a89af3b7617425075fea17a73e4447a0cab9
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 11 Dec 2015 21:30:11 +0000 (16:30 -0500)]
Add ODL Lithium SR3 RPM build definition
Change-Id: Ic2774febb676cbf6a8fdd623700b5d1603214b02
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 20 Nov 2015 19:53:29 +0000 (14:53 -0500)]
Fix minor spelling mistakes in RPM build logic
Change-Id: I334599d4d3b2b8c131bf17488f4654fdf55fcf7a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 18 Nov 2015 18:34:31 +0000 (13:34 -0500)]
Rename Markdown files .md -> .markdown
Per int/pack committter vote on integration-dev, move to .markdown for
all Markdown-formated documentation.
lists.opendaylight.org/pipermail/integration-dev/2015-November/005113.html
Change-Id: Ic24d557e42b0d8afd8dc587bf335bcea28757081
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Fri, 6 Nov 2015 01:22:40 +0000 (20:22 -0500)]
Add tox config for running flake8 tests
This tox configuration file describes how to run flake8, a Python style
checker, against the repository. This will be used for automated verify
jobs.
The config for flake8 includes a 100 char line limit, which is less
strict than PEP8's original 80 but within the 80-100 updated limit.
https://www.python.org/dev/peps/pep-0008/#maximum-line-length
All other PEP8 checks are kept as-is. Additional flake8 config is
focused on providing helpful log output.
Change-Id: I1bd75203966f3713021e00bc3f5d8e17952e123a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Wed, 11 Nov 2015 23:21:55 +0000 (18:21 -0500)]
Add ODL Puppet module as a submodule
Create a TLD to store ODL-related Puppet modules, starting with the
mostly-official one used by OPNFV et al to consume ODL. Other community
modules can be added in the future, either directly or via submodules.
If/once the ODL Forge exists, I hope to migrate the puppet-odl Puppet
mod to it, at which point we'd change the submodule pointer here to
point at that more-official repo.
Config management tools like Puppet are in-scope for Int/Pack.
wiki.opendaylight.org/view/Project_Proposals:Integration_Packaging#Scope
Change-Id: I32f613f7c469ab50e01dbdfbd630994c211d322a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Thu, 29 Oct 2015 18:13:35 +0000 (14:13 -0400)]
Use full, more standard Markdown file extension
The creator of Markdown, John Gruber, recommends .markdown.
http://daringfireball.net/linked/2014/01/08/markdown-extension
Also, .md is used by GCC as a "machine description" file.
http://superuser.com/a/285878/222446
Change-Id: I9542683f496d9c9e0c6146c315146ae51833f223
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Daniel Farrell [Mon, 26 Oct 2015 16:30:24 +0000 (12:30 -0400)]
Add Lithium SR2 RPM build definition
Change-Id: I70a8be03d63e6e7f7c4c8d0cfef54080fd81f145
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>