integration/packaging.git
2 years agoHelm charts for supporting clustering in ODL 61/99261/1 master
rahuliitr [Thu, 6 Jan 2022 18:31:24 +0000 (13:31 -0500)]
Helm charts for supporting clustering in ODL

Signed-off-by: Rahul Sharma <Rahul.Sharma@fujitsu.com>
Change-Id: Ie128bef4349ece5109e21cd5869b6dd03a245f37

2 years agoReduce docker images size with reduced set of java modules 40/97740/2
Andrew Hsia [Tue, 5 Oct 2021 07:16:35 +0000 (03:16 -0400)]
Reduce docker images size with reduced set of java modules

Signed-off-by: Andrew Hsia <andrew.hsia@verizonwireless.com>
Change-Id: Ia2cd67e9539c5c491398ff741f36990996571703

2 years agoInitial Version of Helm Chart for OpenDaylight 07/98207/1
Andrew Hsia [Thu, 28 Oct 2021 17:22:18 +0000 (13:22 -0400)]
Initial Version of Helm Chart for OpenDaylight

Signed-off-by: Andrew Hsia <andrew.hsia@verizonwireless.com>
Change-Id: I606aef322b463ee357dcd6c83679c97cba2b478b

2 years agoSingle docker image with default feature 14/96814/2 14.2.0 14.4.0
Luis Gomez [Wed, 7 Jul 2021 03:59:01 +0000 (20:59 -0700)]
Single docker image with default feature

docker run --name odl-docker -d -p 8101:8101 -p 8181:8181
-e FEATURES="odl-restconf,odl-netconf-topology" odl-docker

Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Change-Id: I39d015eacb659dd607679be93d983c52f505f53a

2 years agoUse ONAP distribution for first ODL docker 07/96807/2
Luis Gomez [Mon, 5 Jul 2021 22:54:00 +0000 (15:54 -0700)]
Use ONAP distribution for first ODL docker

Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Change-Id: If0e3265234da85cedb330fb302e39cc8eefdbef7

2 years agoCI: Update IRC server for int/packaging 40/96540/2
Anil Belur [Wed, 16 Jun 2021 00:54:09 +0000 (10:54 +1000)]
CI: Update IRC server for int/packaging

Due to prolonged SPAM attacks on freenode all Linux Foundation project
channels are moved to Libera.chat.

Change-Id: Ieeafd57818e4d4c009735f423fee049ccce2465f
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoAdd test Dockerfile for docker jobs 07/96507/1
Anil Belur [Thu, 10 Jun 2021 07:49:36 +0000 (17:49 +1000)]
Add test Dockerfile for docker jobs

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I19d3d08c7c5632ccba1d46101d7a783e661a3909

3 years agoAdd INFO.yaml for integration/packaging 60/91260/1
Anil Belur [Sun, 12 Jul 2020 01:39:28 +0000 (11:39 +1000)]
Add INFO.yaml for integration/packaging

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I5f7e4ebf102b49bc7e81fc2205b00f5576e86dcf

4 years agoAdd ODL Sodium rpm repo files 56/87856/1
Anil Belur [Tue, 18 Feb 2020 02:58:35 +0000 (12:58 +1000)]
Add ODL Sodium rpm repo files

Change-Id: Id1c9ac43d3e018ac526ac0437b3b190de1f5d051
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate Sodium release link 55/87855/1
Anil Belur [Tue, 18 Feb 2020 02:44:11 +0000 (12:44 +1000)]
Update Sodium release link

Change-Id: I2edb60b077081515619225c578dadee7ecfa6027
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate Neon SR3 repo links 41/86841/1
Anil Belur [Fri, 10 Jan 2020 10:58:01 +0000 (20:58 +1000)]
Update Neon SR3 repo links

Change-Id: I0ee85873a2e16a1fa76f93270a74381ea9a0c36a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoAdd ODL Neon SR3 rpm repo files 40/86840/1
Anil Belur [Fri, 10 Jan 2020 10:47:22 +0000 (20:47 +1000)]
Add ODL Neon SR3 rpm repo files

Change-Id: Iea0c475cf0532816cc2c49a5e2c4135cb7873f5c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate the Neon release repos links 69/84469/1
Anil Belur [Sun, 15 Sep 2019 04:35:12 +0000 (10:05 +0530)]
Update the Neon release repos links

Change-Id: I8410d1759010e6423211d9f22356df80aaa70036
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate unit tests for ODL Neon Release 68/84468/1
Anil Belur [Sun, 15 Sep 2019 04:33:10 +0000 (10:03 +0530)]
Update unit tests for ODL Neon Release

Change-Id: I6fdc2381c29f448355237646b557cb499176bef6
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate example repo config files for ODL Neon SR2 67/84467/1
Anil Belur [Sun, 15 Sep 2019 04:30:24 +0000 (10:00 +0530)]
Update example repo config files for ODL Neon SR2

Change-Id: I9b8f5aeeb8316e447628505202f2aae84ba81964
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate Fluorine SR3 release repos links 84/82884/2
Anil Belur [Wed, 3 Jul 2019 02:17:52 +0000 (12:17 +1000)]
Update Fluorine SR3 release repos links

Change-Id: I70adbf2af305c70ef2c01e33f1bdef186ff4f50e
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate unit tests for ODL Fluorine SR3 83/82883/1
Anil Belur [Tue, 2 Jul 2019 08:45:23 +0000 (18:45 +1000)]
Update unit tests for ODL Fluorine SR3

Change-Id: I661d01052c8773ac53f0bb315fbf3caff404dba8
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate example repo config files ODL Fluorine SR3 78/82878/1
Anil Belur [Tue, 2 Jul 2019 08:36:46 +0000 (18:36 +1000)]
Update example repo config files ODL Fluorine SR3

Change-Id: I5b3fa720f60101b0edbcb1e79d1c3ac6941f845e
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate the Neon SR1 release repos links and docs 91/82291/2
Anil Belur [Wed, 29 May 2019 01:09:59 +0000 (11:09 +1000)]
Update the Neon SR1 release repos links and docs

Change-Id: I0c5af83c1e1a0923b2b60ff4a48fa7610f422b59
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate unit tests for ODL Neon SR1 Release 90/82290/2
Anil Belur [Wed, 29 May 2019 00:50:40 +0000 (10:50 +1000)]
Update unit tests for ODL Neon SR1 Release

Change-Id: Ie2a31fc3a1cb2eb73797c3bbe299a1498e5d5e83
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate example repo config files for ODL Neon SR1 89/82289/2
Anil Belur [Wed, 29 May 2019 00:38:18 +0000 (10:38 +1000)]
Update example repo config files for ODL Neon SR1

Change-Id: Icf70a82bac7f4b9386e30187a40730584c182515
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoPin pygments to 2.3.x 96/82296/1
Anil Belur [Wed, 29 May 2019 01:57:28 +0000 (11:57 +1000)]
Pin pygments to 2.3.x

Pygments release 2.4.0 which added python requires that excludes all
versions of Python < 3.5. The LFCI's default 3 version is 3.4 so causes
build failure.

Change-Id: I6291260c3e1f519dbbd9567433713a2ba238097a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoUpdate unit tests for ODL Neon Release 44/81244/4
Anil Belur [Fri, 29 Mar 2019 10:03:31 +0000 (20:03 +1000)]
Update unit tests for ODL Neon Release

Change-Id: I071c8944dc6995b4b42fb8dbff0425c6e17369b4
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoUpdate example repo config files for ODL Neon 47/81247/4
Anil Belur [Thu, 28 Mar 2019 10:13:21 +0000 (20:13 +1000)]
Update example repo config files for ODL Neon

Change-Id: I6f6c62871b6a9c4b7c35a5efbdaeada13501487d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoUpdate the Neon release repos links 52/81252/3
Anil Belur [Thu, 28 Mar 2019 10:27:28 +0000 (20:27 +1000)]
Update the Neon release repos links

Change-Id: I2d6686309d31741a005b9548177f46df154b75a4
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoRemove Oxygen pkg unit tests, fixes CI 55/81355/1
Daniel Farrell [Wed, 3 Apr 2019 10:13:40 +0000 (06:13 -0400)]
Remove Oxygen pkg unit tests, fixes CI

Change-Id: I2ff7403f21154de1e0912d721e2258dd4e211fdf
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate the unit tests for Fluorine SR2 84/80384/3
Anil Belur [Tue, 19 Feb 2019 08:56:53 +0000 (18:56 +1000)]
Update the unit tests for Fluorine SR2

Change-Id: I6a227d6586252a64a8f9cc6dca2211e8ed53b8c7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoUpdate the Fluorine SR2 release repos links 83/80383/2
Anil Belur [Tue, 19 Feb 2019 08:38:32 +0000 (18:38 +1000)]
Update the Fluorine SR2 release repos links

Change-Id: I362208cd8457a16b2cfae4f4511bece4c00b1740
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoUpdate example repo config files for Fluorine SR2 82/80382/1
Anil Belur [Tue, 19 Feb 2019 08:27:24 +0000 (18:27 +1000)]
Update example repo config files for Fluorine SR2

Change-Id: I4883613bd810f84c801dda9622f8dd3c7bab62ba
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoAdd Oxygen SR3/SR4 RPM repo example cfg files 10/78810/4
Daniel Farrell [Fri, 14 Dec 2018 20:54:17 +0000 (15:54 -0500)]
Add Oxygen SR3/SR4 RPM repo example cfg files

Change-Id: I2dc4851dba1e378c110b8478b3ca2a54f6acf6f5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate RPM docs with Oxygen SR4 links 09/78809/3
Daniel Farrell [Fri, 14 Dec 2018 20:46:08 +0000 (15:46 -0500)]
Update RPM docs with Oxygen SR4 links

Change-Id: I6cbf2fc7cbc087f9a788dbcc39557735d015d02b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate package-building unit tests 82/78182/1
Daniel Farrell [Mon, 26 Nov 2018 23:33:34 +0000 (23:33 +0000)]
Update package-building unit tests

Various updates to unit tests of Python package-building scripts.

Adds Fluorine, Fluorine SR1 and Oxygen SR3 coverage.

Doesn't update old snapshot and multipatch URLs as they don't actually
need to resolve, the logic uses the URL itself. This is unlike the tests
in RelEng/Builder that require frequent updates since they actually
interact with the remote artifacts.

Change-Id: Idd471f3663fa7fb1cba9558cbd8fef0f0d858755
JIRA: INTPAK-223
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate RPM repos in docs for Fluorine SR1 80/78180/1
Daniel Farrell [Mon, 26 Nov 2018 22:32:19 +0000 (22:32 +0000)]
Update RPM repos in docs for Fluorine SR1

Change-Id: Ie8473850b6d7f0c7127a2acf80f4d72cc813efc2
JIRA: INTPAK-223
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Fluorine SR1 CBS RPM example repo config 69/78169/1
Daniel Farrell [Mon, 26 Nov 2018 19:04:14 +0000 (19:04 +0000)]
Add Fluorine SR1 CBS RPM example repo config

Change-Id: I93d19e97af67a4fd1fe0da4da9661ab2470bc819
JIRA: INTPAK-223
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoFix minor spacing error in RPM docs link 10/77510/2
Daniel Farrell [Mon, 5 Nov 2018 15:48:16 +0000 (10:48 -0500)]
Fix minor spacing error in RPM docs link

Doesn't seem like it breaks the resulting link, but still wrong.

Change-Id: Iaea7e5bd8bbe4fb8756d4d23445dc14d170d5525
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Neon CD repo example RPM config 17/76917/2
Daniel Farrell [Thu, 11 Oct 2018 22:44:18 +0000 (22:44 +0000)]
Add Neon CD repo example RPM config

Change-Id: I87fdc5da4fc76c305b499b0bd8b0211ab8fbf428
Jira: INTPAK-211
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate RPM docs for Fluorine rel, Neon devel 36/76936/2
Daniel Farrell [Fri, 12 Oct 2018 12:39:03 +0000 (08:39 -0400)]
Update RPM docs for Fluorine rel, Neon devel

Change-Id: Ic03dd50ba7402063acf90023fe86531d5aea4b50
Jira: INTPAK-211
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd updating RTDs repo docs to release docs 00/73500/5
Daniel Farrell [Wed, 27 Jun 2018 19:17:02 +0000 (15:17 -0400)]
Add updating RTDs repo docs to release docs

Change-Id: I7aee969fced8e780db2d173274950bdc2e867c3e
Jira: INTPAK-170
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUse globs vs explicit include in docs index 32/76932/2
Daniel Farrell [Fri, 12 Oct 2018 11:17:52 +0000 (07:17 -0400)]
Use globs vs explicit include in docs index

Just include all RST vs having to list files manually.

Change-Id: I75547ef1365997b1abd69189193e88897df81f40
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoRm false-pos-prone rst linting, rely on Sphinx 31/76931/1
Daniel Farrell [Fri, 12 Oct 2018 11:11:40 +0000 (07:11 -0400)]
Rm false-pos-prone rst linting, rely on Sphinx

Remove Coala RSTcheckBear and reSTLintBear reStructuredText linters.

They both cause lots of false positives because they are not aware of
Sphinx-specific syntax. We already get good coverage by setting Sphinx
to fail on warnings. The main docs project did the same change in 69906.

Change-Id: I287b3cabcd10b376994c1fcdc9de3da94ddb73dd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoDisable docs link check linting by default 36/76836/2
Daniel Farrell [Wed, 10 Oct 2018 22:08:45 +0000 (22:08 +0000)]
Disable docs link check linting by default

The linkcheck linting manually goes through and checks every link in the
repo. It's currently hanging for me, and is normally quite slow.

Change-Id: Ibbe86b1c17943220fa634b22d93ac614c2f95f1c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoClarify docstrings for pkg java ver unit tests 74/76774/2
Daniel Farrell [Mon, 8 Oct 2018 22:50:14 +0000 (18:50 -0400)]
Clarify docstrings for pkg java ver unit tests

Fix one wrong docstring, clarify others in unit tests for package
building logic.

Change-Id: Ibebb35826456510f60bc72e006693ad86b2e7000
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Neon pkg unittests, remove wrong docs 02/76702/2
Daniel Farrell [Fri, 5 Oct 2018 16:25:57 +0000 (12:25 -0400)]
Add Neon pkg unittests, remove wrong docs

Add remaining packaging unittest coveage for Neon builds.

Remove docs about code that is supposed to need updating, but actually
doesn't. The URLs in those tests may expire, but they apparently no
longer need to actually work to be used in tests (I think for old
versions of the package building logic they had to be curl-able).

Change-Id: I770dd4eabe99f80878ab97741346a25d2f4f40c8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd ODL Fluorine release RPM repo example config 03/76703/2
Daniel Farrell [Fri, 5 Oct 2018 16:31:40 +0000 (12:31 -0400)]
Add ODL Fluorine release RPM repo example config

Change-Id: Iddde16d3cd26cef43f44b90a1bc4ff07e90a06c1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoMinor fixes to committer Int/Pack release HOWTO 59/76759/1
Daniel Farrell [Mon, 8 Oct 2018 15:35:12 +0000 (11:35 -0400)]
Minor fixes to committer Int/Pack release HOWTO

Note that some events should happen when branches are cut and CD repos
established.

Reorder one sentence to come to the point first, be more clear.

Change-Id: If1fd9a515cbd955acffc065dbdf8abcb99969fe2
Jira: INTPAK-211
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd override for pkg version in pkg build logic 21/76721/8
Daniel Farrell [Sat, 6 Oct 2018 03:05:33 +0000 (23:05 -0400)]
Add override for pkg version in pkg build logic

The package version is the bit after the minus, meant for use by the
package itself, not the thing being packaged (ODL). It's normally
auto-detected for pre-release builds, or manually fixed at 1 for
releases. Add param to optionally manually override.

This is needed to fix an issue with building the Fluorine Common Distro
on the CentOS CBS.

Jira: INTPAK-210
Change-Id: Ifc97d92d4ec3503b31ea57eb535cdf79505afcf0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoSupport pkg build for Managed Rel URLs, add tests 17/76617/6
Daniel Farrell [Wed, 3 Oct 2018 19:06:38 +0000 (15:06 -0400)]
Support pkg build for Managed Rel URLs, add tests

The new Managed Release Common Distribution, the distro that contains
both Managed and Self-Managed projects that we now bless as our official
releases (starting with Fluorine), uses a new distro name prefix.

The packaging build logic had support for using the correct distro name
prefix based on Karaf 3 or 4 version. Extend that logic to optionally,
but with priority, return the distro name prefix based on a download
URL. Include checks to cover MR URLs, thereby adding MR URL support.

Also add unittest coverage that finds this failure.

Jira: INTPAK-203
Change-Id: Ie1180fb78098eac6758224e3f166f6e0d1f8b629
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoSupport 2-digit major versions pkgs, add tests 52/76652/2
Daniel Farrell [Thu, 4 Oct 2018 15:17:33 +0000 (11:17 -0400)]
Support 2-digit major versions pkgs, add tests

The regular expression that was extracting major version numbers from
URLs was assuming the major version number was one digit. Allow it to be
one or more digits. Add tests that fail (as-expected) without the test,
in the same way the functional tests for Neon fail.

Jira: INTPAK-204
Change-Id: I369606cc7cc7ba57baa2b80ba497ae6367602289
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Oxygen latest-release RPM repo config file 93/74893/2
Daniel Farrell [Mon, 6 Aug 2018 21:10:56 +0000 (17:10 -0400)]
Add Oxygen latest-release RPM repo config file

Change-Id: I6f233721689d366f60f636f2954dd0ec80a73ad5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd docs about pushing RPMs to scratch repos 89/73489/4
Daniel Farrell [Wed, 27 Jun 2018 16:16:25 +0000 (12:16 -0400)]
Add docs about pushing RPMs to scratch repos

Change-Id: I5a78e21412dc8670754290e743e40ac2434fca47
Jira: INTPAK-181
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate RPM repo docs 18/73618/2
Daniel Farrell [Fri, 29 Jun 2018 19:48:41 +0000 (15:48 -0400)]
Update RPM repo docs

Update Int/Pack docs about RPM repos for new versions.

Also minor cleanups of links.

Jira: INTPAK-180
Change-Id: I6818511179b896eaba5dba44709acfcf571aef47
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoRemove references to CBS -testing repo 01/73501/2
Daniel Farrell [Wed, 27 Jun 2018 20:29:07 +0000 (16:29 -0400)]
Remove references to CBS -testing repo

We no longer frequently update the CentOS Community Build System
-testing repository. Instead, we use the fully-automated devel repos on
ODL's Nexus. Remove docs about it, as want to try to deprecate it in the
next few releases.

Keeping old example repo config files as they may be used by lots of old
code, should likely be preserved long-term.

Change-Id: I2cc60c2ec63a5e9fa9419d63c7ddc7568fa9195b
Jira: INTPAK-182
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd updating ansible-odl test playbooks to reldocs 99/73499/1
Daniel Farrell [Wed, 27 Jun 2018 18:17:21 +0000 (14:17 -0400)]
Add updating ansible-odl test playbooks to reldocs

Document that the playbooks in RelEng/Builder used for testing
ansible-opendaylight need to be updated for new ODL major versions.

Change-Id: I9c41b02852f81a3350faafbf02246d0235982bf5
Jira: INTPAK-170
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Carbon SR4 Packer var file 25/73325/1
Daniel Farrell [Thu, 21 Jun 2018 19:12:54 +0000 (15:12 -0400)]
Add Carbon SR4 Packer var file

Change-Id: Ie2e68d76a1cc8f3dc4e0c77348211e617d822d06
Jira: INTPAK-165
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd release packaging process docs 50/71650/15
Daniel Farrell [Wed, 2 May 2018 00:37:47 +0000 (20:37 -0400)]
Add release packaging process docs

Most Int/Pack packages are built using the CD pipeline, which of course
doesn't require any intervention from humans, but proper releases do
require someone to go through a manual process. Document that process vs
it just being in my head.

Change-Id: Ibd5aa7427db8169fd2eaadcf820adaf63d0f4285
JIRA: INTPAK-167
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate package unit tests 8.1->8.2 74/73274/2
Daniel Farrell [Wed, 20 Jun 2018 18:33:11 +0000 (14:33 -0400)]
Update package unit tests 8.1->8.2

Change-Id: I0ff97a7c557fef71eb867757dfa16b302a11a05b
Jira: INTPAK-175
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Oxygen SR2 Packer var file 73/73273/1
Daniel Farrell [Wed, 20 Jun 2018 18:30:19 +0000 (14:30 -0400)]
Add Oxygen SR2 Packer var file

Change-Id: Ie24053dd9dd5a0eb3a4c4a6bc8ebb46b7a4a44fb
Jira: INTPAK-175
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Oxygen SR2 example RPM repo config file 72/73272/1
Daniel Farrell [Wed, 20 Jun 2018 18:29:14 +0000 (14:29 -0400)]
Add Oxygen SR2 example RPM repo config file

Change-Id: I5ee4af1d6b546fd312bae7e1034fbf0ea59d9ce6
Jira: INTPAK-175
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Oxygen example RPM repo config file 80/72980/2
Daniel Farrell [Thu, 14 Jun 2018 02:19:45 +0000 (22:19 -0400)]
Add Oxygen example RPM repo config file

Change-Id: I23b796dfc95252e3054e9862652292df7e366656
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd packaging unit tests for Fluorine 79/72979/2
Daniel Farrell [Thu, 14 Jun 2018 02:18:21 +0000 (22:18 -0400)]
Add packaging unit tests for Fluorine

Change-Id: Ica82a1bb1607751fe333bd1c41e24546f8daba61
Jira: INTPAK-154
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Oxygen Packer var file 78/72978/1
Daniel Farrell [Thu, 14 Jun 2018 02:07:49 +0000 (22:07 -0400)]
Add Oxygen Packer var file

Change-Id: Id17bf76e697273da45ccd1250091294b6c4fb0a6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Nitrogen SR3 CBS Packer var file 91/72691/1
Daniel Farrell [Tue, 5 Jun 2018 12:15:35 +0000 (08:15 -0400)]
Add Nitrogen SR3 CBS Packer var file

Change-Id: If97999c38bf98a8a47d648a79d0201656813947f
Jira: INTPAK-172
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Nitrogen SR3 CBS example RPM repo config file 90/72690/1
Daniel Farrell [Tue, 5 Jun 2018 12:14:05 +0000 (08:14 -0400)]
Add Nitrogen SR3 CBS example RPM repo config file

Change-Id: I90a1de1e9c125a328adb479abb7a6ba7a41415e4
Jira: INTPAK-172
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Packer var file for Oxygen SR1 55/72655/4
Daniel Farrell [Mon, 4 Jun 2018 13:19:51 +0000 (09:19 -0400)]
Add Packer var file for Oxygen SR1

Change-Id: Ib5f1e1e4d2540cd8a2408479977335dab366f171
Jira: INTPAK-166
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoRemove Nitrogen packaging unitttests 71/72671/1
Daniel Farrell [Mon, 4 Jun 2018 16:34:06 +0000 (12:34 -0400)]
Remove Nitrogen packaging unitttests

Nitrogen is EOL. Nitrogen's snapshot dir no longer exists, so a test
that covered it started failing.

Change-Id: Ia92654bfbf594a4eb670f30ae6653e1a31981ae6
Jira: INTPAK-169
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoFix broken dist snapshot dir in docs 63/72663/1
Daniel Farrell [Mon, 4 Jun 2018 14:34:58 +0000 (10:34 -0400)]
Fix broken dist snapshot dir in docs

Docs link check jobs are failing due to this. Old link was for Karaf 3
distros, new one is for Karaf 4. All K3 distros are EOL.

Change-Id: I7c459275c22fea70ca42d0f896669c82469a2abb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoFail build on warnings 41/71641/3
Thanh Ha [Tue, 1 May 2018 21:57:02 +0000 (17:57 -0400)]
Fail build on warnings

Resolve warning about missing favicon file and enable build
failure if Sphinx warnings exist in docs build.

Change-Id: Ie7e0d080d112895a714138983621f8d376f9f274
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
5 years agoAdd linkchecker to check for broken links 44/71644/3
Thanh Ha [Tue, 1 May 2018 21:59:50 +0000 (17:59 -0400)]
Add linkchecker to check for broken links

Change-Id: Iff5f296de60f02c5aab3b4dc9991f0acc76d1a34
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
5 years agoFix broken links 43/71643/4
Thanh Ha [Tue, 1 May 2018 22:06:18 +0000 (18:06 -0400)]
Fix broken links

Change-Id: I0d1a8f3d08ed5173b6dacfcb8c659f1816ab4b85
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
5 years agoFix broken technical overview link 42/71642/3
Thanh Ha [Tue, 1 May 2018 22:02:36 +0000 (18:02 -0400)]
Fix broken technical overview link

The technical overview link appears to be broken. Replace it with the
OpenDaylight Controller overview link.

Change-Id: I7ef52ea7d28380648f1f444f1d355b0c3d0bfe64
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
5 years agoAdd Oxygen SR1 example repo config 40/71640/7
Daniel Farrell [Tue, 1 May 2018 21:09:33 +0000 (17:09 -0400)]
Add Oxygen SR1 example repo config

Change-Id: I93842943ba79783fe4efbd18f27819428077e1bc
JIRA: INTPAK-166
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoAdd Carbon SR4 example RPM repo config 49/71649/3
Daniel Farrell [Wed, 2 May 2018 00:27:34 +0000 (20:27 -0400)]
Add Carbon SR4 example RPM repo config

Change-Id: I09d3c3d06282fa1f1fffb4fd4521275eb6acb9a5
JIRA: INTPAK-165
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoUpdate Nitrogen pkg unittest URLs, fix verify 52/71652/2
Daniel Farrell [Wed, 2 May 2018 00:56:47 +0000 (20:56 -0400)]
Update Nitrogen pkg unittest URLs, fix verify

Change-Id: I33bfb6a884dc1452cd9a61c44c53f896b899cecb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
5 years agoRemove Carbon tests, Carbon no longer supported 45/71645/3
Daniel Farrell [Tue, 1 May 2018 22:18:26 +0000 (18:18 -0400)]
Remove Carbon tests, Carbon no longer supported

Carbon SR4 is out, so support has ended. Some of tests are also now
failing since the example autorelease builds no longer exist.

JIRA: INTPAK-168
Change-Id: I1b3b2454d28e21e20eabb88b9591037de8da910f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUpdate autorelease build instructions 05/71005/1
Thanh Ha [Tue, 17 Apr 2018 01:21:27 +0000 (21:21 -0400)]
Update autorelease build instructions

The karaf distro is located in a different location starting with
nitrogen so update the text to reflect that. Also refactor the text
so that it is easier to read.

Change-Id: Ie7ca694721a960202aa6fbb214759723ec276f25
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoAdd missing opendaylight.service template file 23/70823/5
Dimitrios Markou [Thu, 12 Apr 2018 08:01:32 +0000 (11:01 +0300)]
Add missing opendaylight.service template file

ODL debian packages were building succesfully but when they were
getting installed the ODL service was not started because
of missing opendaylight.service file which is essential so the
systemd can start the ODL service.

Change-Id: I3b01d9e258529fbf68ce16266f3358c163dc19e4
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
6 years agoAdd tests for Oxygen release, Fluorine pre-release 13/70813/1
Daniel Farrell [Thu, 12 Apr 2018 01:51:25 +0000 (21:51 -0400)]
Add tests for Oxygen release, Fluorine pre-release

Add packaging logic unit test coverage for Oxygen formal release and
Fluorine snapshot builds.

Issue: INTPAK-154
Change-Id: I78f5636baa5387b2a39c7754ab22c00a50881b55
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Fluorine pkg repo config files 95/70295/4
Manuel Buil [Tue, 3 Apr 2018 15:12:21 +0000 (17:12 +0200)]
Add Fluorine pkg repo config files

Change-Id: I2f3dfa746260b2eaf854fa8b625f0169a8580949
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoUpdate expired pkg unit test example URLs 11/70311/1
Daniel Farrell [Wed, 4 Apr 2018 02:54:39 +0000 (22:54 -0400)]
Update expired pkg unit test example URLs

Change-Id: Icc3ac17026de8f02c79686de4d9c8abd6f46986f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoSwitch to using lfdocs-conf to pull in theme 46/69346/4
Thanh Ha [Sun, 11 Mar 2018 05:27:51 +0000 (00:27 -0500)]
Switch to using lfdocs-conf to pull in theme

lfdocs-conf is a new project that allows us to centrally manage
project theme configuration without having to duplicate it
everywhere or have the "docs" project become a large submodule
project.

We will push to ReadTheDocs separately and then create a new path
for this doc under docs.opendaylight.org/projects/integration-packaging

For further details refer to:
http://docs.releng.linuxfoundation.org/en/latest/project-documentation.html

Change-Id: I976202be6becc2ff3355bd75505bbfd8a049a888
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoUse LABEL instead of deprecated MAINTAINER field 44/69644/1
Thanh Ha [Tue, 20 Mar 2018 02:46:13 +0000 (22:46 -0400)]
Use LABEL instead of deprecated MAINTAINER field

Change-Id: I79646a448fa717e64151fb3cd74a09725d332f51
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoHardcode the architecture in the URI in opensuse 18/69218/3
Manuel Buil [Wed, 7 Mar 2018 17:04:02 +0000 (18:04 +0100)]
Hardcode the architecture in the URI in opensuse

Only support for x86_64 is required. Therefore, we could hardcode that
in the repo's URI and that allows to reuse the current code in
packaging-ansible for zypper:

https://github.com/opendaylight/integration-packaging-ansible-
opendaylight/blob/master/tasks/add_odl_yum_repo.yml

Change-Id: Ifb6d9d20c8adc30289581cbe63bfe2279b0a5605
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoAdd repos for opensuse 42/69142/2
Manuel Buil [Tue, 6 Mar 2018 14:58:04 +0000 (15:58 +0100)]
Add repos for opensuse

Provide a repo for opensuse in Nitrogen and Oxygen

Change-Id: I83d379d60177ef68dbf2ab225082f561580f69cd
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoAdd Packer Carbon SR3 config file 27/69127/2
Daniel Farrell [Tue, 6 Mar 2018 13:07:31 +0000 (08:07 -0500)]
Add Packer Carbon SR3 config file

Change-Id: Ib6cfffac1897e937f49c66da62f53c70921ee0e8
Fixes: INTPAK-141
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Carbon SR3 CBS RPM repo config file 26/69126/2
Daniel Farrell [Tue, 6 Mar 2018 13:03:38 +0000 (08:03 -0500)]
Add Carbon SR3 CBS RPM repo config file

Change-Id: If4f6cee26288dcd0fdde6e85d91751a068926b1c
Fixes: INTPAK-141
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Packer Nitrogen SR2 config file 20/68820/4
Daniel Farrell [Tue, 27 Feb 2018 13:38:07 +0000 (08:38 -0500)]
Add Packer Nitrogen SR2 config file

Change-Id: I76e6cfefaaaa317af324800a6cffa4d31d764d7b
Fixes: INTPAK-142
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Nitrogen SR1 CBS RPM repo config file 19/68819/3
Daniel Farrell [Tue, 27 Feb 2018 13:36:23 +0000 (08:36 -0500)]
Add Nitrogen SR1 CBS RPM repo config file

Change-Id: I35e0a252171fffc06afe85ffa2eb6cd83cd22016
Fixes: INTPAK-142
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd support for openSUSE in the RPM spec 14/68114/7
Manuel Buil [Fri, 9 Feb 2018 16:04:39 +0000 (17:04 +0100)]
Add support for openSUSE in the RPM spec

openSUSE support is required to run ODL in XCI-OPNFV. RPM installs in
openSUSE fail because the dependencies listed in the spec file have
different names. Conditionally require the right names based on OS.

Change-Id: Idafe9a3656820f96553c2e4d53c1c15c992d681c
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoUpdate expired example builds in package unittests 73/68973/1
Daniel Farrell [Thu, 1 Mar 2018 22:14:40 +0000 (17:14 -0500)]
Update expired example builds in package unittests

Change-Id: I6f8ee0916592d5d53ce43cc62a2a037eecac3c3d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoFix issues in deb pipeline. 81/67781/4
Alok Anand [Wed, 31 Jan 2018 12:05:35 +0000 (17:35 +0530)]
Fix issues in deb pipeline.

1.Use lib.py:cache_sysd() to cache .service file as well.
2.Correct path for resulting .deb file.
3.Provide correct name of distro tarball to debian/rules
4.Provide correct path to copy .service file.
5.Fixed pep8 errors in lib.py and deb/lib.py

Change-Id: I6c45cf7f86d4327cfd2a328ddeb0c66fd20d9381
Signed-off-by: Alok Anand <alok4nand@gmail.com>
6 years agoFix github links to the build.py script 24/68124/1
Jamo Luhrsen [Fri, 9 Feb 2018 18:54:53 +0000 (10:54 -0800)]
Fix github links to the build.py script

we no longer have a different build.py for the deb and rpm
folders and they now share the same one in the packages/
dir.

Change-Id: I8d70bf26ea4e4f7571d7fdacb350cab92eb1be09
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
6 years agoClarify which RPM is installed via repo file 24/67924/5
Daniel Farrell [Mon, 5 Feb 2018 16:18:45 +0000 (11:18 -0500)]
Clarify which RPM is installed via repo file

Answers question from OPNFV folks in reusable way.

Change-Id: Idd3fffb0d76fc576e7e051923165770357d6f3f5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUpdate example builds in pkg unit tests 28/67928/2
Daniel Farrell [Mon, 5 Feb 2018 17:31:47 +0000 (12:31 -0500)]
Update example builds in pkg unit tests

Some have expired, go ahead and update all that periodically expire.

Change-Id: Icad8ac5e64c48939937e9731b2918a68bf4668d8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoMove unitfiles/ to packaging/packages/ 80/67780/2
Alok Anand [Wed, 31 Jan 2018 11:45:10 +0000 (17:15 +0530)]
Move unitfiles/ to packaging/packages/

Both RPM and DEB scripts use the same systemd unit files. Therefore,
unitfiles/ should be in a common directory location.

Change-Id: I58dfcd5ca351e0648aef4bc6be7dfc86a7998935
Fixes: INTPAK-13
Signed-off-by: Alok Anand <alok4nand@gmail.com>
6 years agoFix install of ansible-odl in Packer builds 29/66629/12
Daniel Farrell [Tue, 19 Dec 2017 22:37:35 +0000 (17:37 -0500)]
Fix install of ansible-odl in Packer builds

Ansible is executed by non-root, so it looks in dirs based on that user.
If the role is installed by root it will be missed and provisioning will
fail.

Change-Id: I2dcbf581acb6f9e11720798bc67b5d775f51761e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoFix Packer libvirt, missing selinux bindings 05/67205/1
Daniel Farrell [Tue, 16 Jan 2018 13:19:15 +0000 (08:19 -0500)]
Fix Packer libvirt, missing selinux bindings

Builds were failing at Ansible provisioning step with error about trying
to use selinux without the Python bindings.

Change-Id: Id24eaa6d32339d0d5c94126bf01d32bf19e72ee3
Fixes: INTPAK-129
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoPin nodeenv dep to let tox run more than once 78/67178/1
Daniel Farrell [Mon, 15 Jan 2018 23:12:36 +0000 (18:12 -0500)]
Pin nodeenv dep to let tox run more than once

Using the latest version makes tox break on second run, unless .tox dir
is removed.

Change-Id: I576634b12440756e3124b95043ce5be0ade9d7bb
Fixes: INTPAK-74
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoRefactor ansible-opendaylight docs 65/66565/2
Daniel Farrell [Mon, 18 Dec 2017 16:11:50 +0000 (11:11 -0500)]
Refactor ansible-opendaylight docs

Change-Id: I0aa74672472831dff918c5b759c550333980695f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdds Ansible opendaylight RTD docs 98/66498/5
Dipankar Jain [Fri, 15 Dec 2017 06:25:10 +0000 (11:55 +0530)]
Adds Ansible opendaylight RTD docs

Imports most content from
https://git.opendaylight.org/gerrit/#/admin/projects/integration/packaging/ansible-opendaylight

Also:
  * removes typos
  * adds example use cases for role variables

Change-Id: Ie4ff329c7fb5ba14ca0f6246b13bf0848f8636d5
Resolves: INTPAK-44
Signed-off-by: Dipankar Jain <bunny_jain@ymail.com>
6 years agoAdd docs about new Nexus-hosted RPM CD repos 60/66460/1
Daniel Farrell [Thu, 14 Dec 2017 11:17:22 +0000 (06:17 -0500)]
Add docs about new Nexus-hosted RPM CD repos

Also update versions/links for all other repo docs, fix typos.

Change-Id: I4ae9b3b162fad992b808703b974855d4ed4a0ba0
Fixes: INTPAK-25
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>