summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Anil Belur [Fri, 12 Dec 2025 04:03:42 +0000 (14:03 +1000)]
Fix: Add gather_facts to molecule converge
The java-install role tasks use ansible_facts which require gather_facts
to be enabled in the converge playbook. This fixes molecule test failures.
Change-Id: Ie409b2e3ff82320769d0d403cc39d1acbd2ba24d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Thu, 11 Dec 2025 14:29:39 +0000 (00:29 +1000)]
Feat: Update java-install for Ubuntu 24.04 with Podman
- Switch from Docker to Podman driver for molecule tests
- Update GitHub workflow to install Podman and use requirements.txt
- Add Ubuntu 24.04 (noble) to supported platforms
- Create ansible.cfg with roles_path and deprecation settings
- Add requirements.txt for molecule dependencies
- Update molecule platforms to ubuntu2204 and ubuntu2404
- Set MOLECULE_PROJECT_DIRECTORY and ANSIBLE_ROLES_PATH in workflow
Change-Id: Ie69de29bb2d1d6434b8b29ae775ad8c2e48c5391
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Eric Ball [Fri, 6 Jun 2025 19:05:43 +0000 (12:05 -0700)]
Update tasks and tests for Ubuntu 24.04
Change-Id: I0e406434cd07a0ba87b2698d02bdbca287002977
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Eric Ball [Fri, 6 Jun 2025 18:44:05 +0000 (11:44 -0700)]
Update molecule tests for latest ansible/molecule
Change-Id: Iac43fd26155cbc83069f406878d4d3700f4d28e6
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Anil Belur [Thu, 24 Oct 2024 03:06:52 +0000 (13:06 +1000)]
Feat: Enable Github2gerrit worflow
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I838758ce5e1092d953fc2c65ff67b70152292da0
Anil Belur [Tue, 19 Mar 2024 13:16:50 +0000 (23:16 +1000)]
Fix: Install openjdk-21 on CS8 onwards
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I0c684ef3b7561fe6b6f0cfb7adf1d55cda5cc79b
Anil Belur [Thu, 24 Oct 2024 02:26:21 +0000 (12:26 +1000)]
CI: Update gerrit-verify workflow
Centos7, Centos8, and Ubuntu1804 are all EOL and should be removed
from the testing matrix. This will allow us to focus on the supported
distros.
Pull in the latest updates.
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I0831acdeff4441dcb9d4518cfd9284b55cb63a62
Anil Belur [Mon, 18 Dec 2023 02:00:25 +0000 (12:00 +1000)]
Feat: Install OpenJDK 21 on Ubuntu
- Install JDK21 on Ubuntu {20,22}.04
Change-Id: Ia03ed4fa880b9ddedb8754c75922833579437543
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Sun, 11 Feb 2024 02:20:35 +0000 (12:20 +1000)]
Fix: Update java-install ansible role
Update molecule test formats and update the role to build with
latest version of ansible. Fix ansible lint errors and warnings.
Update tox and pre-commit dependencies to build with latest versions
of ansible and molecule.
Change-Id: I448505ad7259a238ad8f5e5e65a210fe587fb96f
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Sun, 4 Feb 2024 06:39:12 +0000 (16:39 +1000)]
CI: Update checkout gerrit change action to v0.6
Add update python version 3.10, v3.8 is close to EOL
by Oct 2024.
Change-Id: I52bbff484b1e7e02f387b58531e65a39e01091e7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Tue, 23 Jan 2024 22:08:08 +0000 (14:08 -0800)]
Chore: Update pre-commit dependencies to latest
ERROR! the role 'java-install' was not found in <>
The error appears to be in '': line 5, column 7, but may
be elsewhere in the file depending on the exact syntax
problem.
Update role name to match the role path on GHA and
Jenkins jobs.
Ref: https://github.com/ansible/molecule/issues/1042
Change-Id: I49824dd6ea8b507e76d9d92ae332077c52ae3501
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Thu, 18 Jan 2024 07:17:52 +0000 (17:17 +1000)]
CI: Update vars and secrets names as per LFIT repo
LFIT uses a slighty diff nomenclature prefixes some
vars and secrets with LFIT_*.
Issue: RELENG-5094
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Id5d9f1193d80e12eafb3f01b9559fddb07f4fd37
Anil Belur [Sun, 14 Jan 2024 03:42:43 +0000 (13:42 +1000)]
Fix: Update GHA workflow for java install role
Remove tox verify, run molecule tests directly.
Issue: RELENG-5094
Change-Id: I715a8d4fb9d35385cbdcbeade04a73696c65cca6
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Tue, 9 Jan 2024 00:17:27 +0000 (10:17 +1000)]
CI: Add Gerrit GHA workflow for ansible roles
Remove the test workflow file for GH that is not
required for Gerrit.
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ied272a78d3b79302d479c3a904c2a6fb45a381be
Anil Belur [Mon, 8 Jan 2024 22:57:20 +0000 (08:57 +1000)]
CI: Add Github action workflow to test roles
- Ensure that the roles name matches what is in the path.
- Make add repository resilient to runtime failures retries.
Change-Id: Id6e5ee1ce411a862e17fc965d00d9653cafecdde
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Mon, 18 Dec 2023 02:00:25 +0000 (12:00 +1000)]
Feat: Install OpenJDK 21
- Install JDK 21 on CentOS Streams 9
- Use Centos official containers from quay.io for molecule
- Update tox and molecule config
- Use centos containers from quay.io official repo
instead of pycontribs
- Openjdk-21 package for Ubuntu 22.04 is in the -proposed
repositories, will be added once available.
Change-Id: I8fa02c9a5edc7949c6dd3711d950c586d1b204c4
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Eric Ball [Fri, 14 Oct 2022 17:41:50 +0000 (17:41 +0000)]
Merge "Fix: Remove openjdk latest for CentOS7"
Anil Belur [Fri, 14 Oct 2022 05:37:41 +0000 (15:37 +1000)]
Fix: Remove openjdk latest for CentOS7
The latest release (OpenJDK19) is no longer available
for CentOS7, therefore install latest together
with OpenJDK 17 for CentOS Stream 8 onwards.
Ref: https://docs.fedoraproject.org/en-US/quick-docs/
installing-java/#installing-openjdk
Change-Id: Ia9179d2b8a7c6ea270811e45aaecad35df3c513e
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Andrew Grimberg [Mon, 19 Sep 2022 21:07:38 +0000 (14:07 -0700)]
Fix: Correct path for Ubuntu ARM JDK11
Change-Id: I8ed932c3ee37b68242a3af1ebc7294d8266f1edd
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Andrew Grimberg [Fri, 16 Sep 2022 17:51:46 +0000 (10:51 -0700)]
Feat: Install JDK11 on Ubuntu ARM systems
* Removes aarch64 specific task as this is now fully able to be handled
by the default Debian handler
* Adds specially handling of the alternatives update depending on system
architecture
Change-Id: I92a5f55465d2be3aa95167679ead6e697a67cd84
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Andrew Grimberg [Thu, 15 Sep 2022 22:12:12 +0000 (15:12 -0700)]
Feat: Set JDK11 as system default on Debian
Debian based systems (like Ubuntu) need JDK11 as the default for latest
version of Jenkins to work correctly
Change-Id: I68ce12bfc5ad5a0a8293141637c893c9a54dec7e
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Andrew Grimberg [Thu, 15 Sep 2022 20:14:05 +0000 (13:14 -0700)]
Feat: Upgrade RH systems to use JDK11 by default
* Update RH based systems to use JDK11 as the default JDK
* Removes the javah alternative setting, if the alternatives are all set
correctly we shouldn't need to specify this. Additionally javah has
been dropped in JDK11 in favor of a native javac call
Change-Id: I28eb76821bfdc0c9bde67fa07c963cc25da3ea80
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Anil Belur [Tue, 23 Aug 2022 01:42:14 +0000 (11:42 +1000)]
Fix: Install JDK17 on Ubuntu 18.04
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I742e3db147b34823c9773577c4867817ef94f9d8
Anil Belur [Tue, 23 Aug 2022 00:57:53 +0000 (10:57 +1000)]
Chore: Update pre-commit commands
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: If7420d5649e4eb99a5137beeb34e66616d5a7e8c
Anil Belur [Wed, 10 Aug 2022 23:31:08 +0000 (09:31 +1000)]
Fix: Remove JDK17 for CentOS7
- Packer build fails to find JDK17 packages for CentOS7.
- Adjust molecule deps for CentOS8 streams.
Issue-ID: IT-24376
Change-Id: I251e031792793ae33beda6eaca63bf2aca46f0a1
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Thu, 20 Jan 2022 06:12:16 +0000 (16:12 +1000)]
Feat: Install OpenJDK17
- OpenJDK 17 is the next LTS release JDK requried for ODL.
- Update tox, molecule and pre-commit depenencies.
Issue-ID: RELENG-4097
Change-Id: Ie30c0b8dee8750ed295396c02ac1c3d8494b2595
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Andrew Grimberg [Thu, 2 Apr 2020 13:12:24 +0000 (06:12 -0700)]
Update role to support CentOS 8
Issue: RELENG-2823
Change-Id: I695a3df21e9fb103ee1a8535543018f33fddf84d
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Andrew Grimberg [Thu, 2 Apr 2020 20:12:46 +0000 (13:12 -0700)]
Update molecule tests for v3
Issue: RELENG-2823
Change-Id: Ie4a3011c8373945499037685f674beb754af925d
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Thanh Ha [Tue, 27 Aug 2019 18:58:37 +0000 (14:58 -0400)]
Configure basepython to python3
More and more libraries that we are pulling in require Python 3 so
to avoid having to play the pin dependencies whack-a-mole game let's
bump or base python where possible to python3.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I89cd4126a86b0c62a72f482575f75a77393f2d2c
Thanh Ha [Tue, 20 Aug 2019 02:35:39 +0000 (22:35 -0400)]
Use Python 3 for molecule tests
PyTest 5.0 requires Python 3.5+ so let's update.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ic857b44bccbf027aed2930d36a50d7fcce8d2850
Lott, Christopher (cl778h) [Fri, 9 Aug 2019 18:19:12 +0000 (14:19 -0400)]
Remove Java 7 support from RedHat and Ubuntu
Drop openjdk-7-jdk from Debian tasks
Drop java-1.7.0-openjdk-devel from RedHat tasks
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I05357f6a1b0ea494e3b140bb626b8fafffeac204
Anil Belur [Wed, 10 Jul 2019 23:12:41 +0000 (09:12 +1000)]
Add OpenJDK 12 support for CentOS7 and Ubuntu
This requires adding the epel-release repo without
which molecule test would fail, since the repos is
not available in the docker container pulled in by
the molecule test.
Issue: RELENG-2202
Change-Id: Id7a8cc988abb1ac884d73b37d2bacb054f649dbf
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Mon, 22 Jul 2019 12:53:19 +0000 (22:53 +1000)]
Pin ansible, ansible-lint, detox
Both ansible and ansible-lint need to be pinned to be able to pass the
molecule tests at this time.
detox 0.19 is not compatible with the version of tox we are getting from
upstream.
Change-Id: Ib7b882de1f5d18f7ed4a40dafbba06960d6c9d0c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Thu, 11 Jul 2019 00:22:51 +0000 (10:22 +1000)]
Pin pytest to 4.6.x
PyTest 5 was released on June 28th that now requires Python >= 3.5
so pin to the 4.6.x stream until we are ready to drop 2.7 support.
Change-Id: Ie09418310386937d476054c9309ef6f2474fa92d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Thanh Ha [Sat, 11 May 2019 01:24:47 +0000 (21:24 -0400)]
Use pre-commit instead of Coala
Considering that all we're using Coala for is for the GitCommitBear
let's drop Coala in favor of pre-commit as it's faster and more
convenient.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I2f73871427e29c24297d1cb340de735acb51957e
Thanh Ha [Sat, 11 May 2019 02:13:43 +0000 (22:13 -0400)]
Fix yamllint: variable spaces before and after
* Fix All tasks should be named
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Icc4e5bfd8354679a6550975a67f02ceb482c6385
Anil Belur [Wed, 30 Jan 2019 12:47:57 +0000 (22:47 +1000)]
Install OpenJDK versions individually
All versions are not pulled in using the wildcard
format with the yum module and only 1.8.0 is installed
by default.
Change-Id: I3277003d097d5a48eb38d8c1f8d2b202fd6a656c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Wed, 23 Jan 2019 01:20:25 +0000 (01:20 +0000)]
Merge "Install JDK 11 on CentOS7 and Ubuntu 16.04"
Anil Belur [Thu, 11 Oct 2018 11:33:00 +0000 (21:33 +1000)]
Install JDK 11 on CentOS7 and Ubuntu 16.04
Install JDK 11 on CentOS 7 and Ubuntu 16.04 platforms.
JDK 11 is going to be official supported version for ODL
which is supported in all the next major releases.
The latest version of JDK 11 is available in Centos 7.6
release.
Also update alternatives to include other JDK tools.
JIRA: RELENG-1536
Change-Id: I7a45aa4ce49fa8a272ecea48a0c04311b976fb8a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Eric Ball [Thu, 13 Dec 2018 23:48:12 +0000 (15:48 -0800)]
Do not attempt java 7 installation on Ubuntu 18+
For newer versions of Ubuntu, there is no longer an openjdk-7-jdk
package.
Change-Id: I9063e5e16cfa23aa0bd6cfe609ba9cd0fac1ba69
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Jeremy Phelps [Tue, 18 Sep 2018 14:18:42 +0000 (09:18 -0500)]
Remove JDK9 from Debian bits
Java 9 is not supported by RedHat even and is not a long-term
support version in any case.
Change-Id: Ic518dcb7068f3f53ed2be0f9bace5b21333b6ff9
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Thanh Ha [Tue, 4 Sep 2018 22:26:23 +0000 (18:26 -0400)]
Remove OpenJDK 9 from CentOS image builds
This currently breaks everyone trying to use a CentOS 7 builder as
the repo seems to have disappeared since August 23rd, 2018 (last
known time it worked in OpenDaylight).
This breaks everyone so disable it until we have a new solution to
get OpenJDK 9 installed on CentOS 7 systems.
Officially RedHat (Ref) has stated that they are skipping support
of OpenJDK 9 and 10 and will support 11. We should probably follow
their lead on this one.
Ref: https://access.redhat.com/articles/
1299013
Issue: RELENG-1175
Change-Id: Ief7710b6469833423156c9695681379b12d349cb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Jeremy Phelps [Thu, 16 Aug 2018 19:26:47 +0000 (14:26 -0500)]
Fetch openjdk-9 for arm64 directly and install
This package is not available in apt repo for Ubuntu 18.04.
Change-Id: I28dbb3af245562b37d40b003f278186e93b9dd19
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Jeremy Phelps [Thu, 16 Aug 2018 02:56:32 +0000 (21:56 -0500)]
Do not instal JDK9 on ARM
Only install JDK8 for now
Change-Id: I2f9f18e92ae184c4b3941ae5eb0d682929b6befb
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Jeremy Phelps [Thu, 16 Aug 2018 03:32:36 +0000 (22:32 -0500)]
Rename debian arm64 file
Change-Id: I06a28d8b24020141d488fec99b2096266a35ef83
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Jessica Wagantall [Thu, 16 Aug 2018 02:30:02 +0000 (19:30 -0700)]
Fix file extension typo
New ansible_architecture file was mistakenly named
"yaml" instead of "yml"
Change-Id: I594884a482631928f63939dedd87812e18d83f01
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Jessica Wagantall [Wed, 15 Aug 2018 23:41:46 +0000 (16:41 -0700)]
Add Debian-arm64 Java task
Install JDK8 and JDK9 for ARM64 architectures.
Change-Id: I5ffe5eb7d8cc41421ec0370b6d6837408fdb2d32
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Trevor Bramwell [Tue, 10 Jul 2018 17:33:28 +0000 (10:33 -0700)]
Use docker instead of docker-py for molecule
`docker` has replaced `docker-py` as the python library for talking to
the Docker api.
Change-Id: I01589844c06d766a7107f7a925ffabfd972430b0
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Thanh Ha [Wed, 21 Feb 2018 21:52:05 +0000 (16:52 -0500)]
Migrate lf-ansible java-install role
Change-Id: Ia4ea8d8187b5bed6edb054d0ff11a71171115668
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Wed, 21 Feb 2018 21:52:05 +0000 (16:52 -0500)]
Bootstrap java-install role
Change-Id: I6bdc451230b8968c7b529c3810bcdf4a0b2ebb09
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Andrew Grimberg [Tue, 20 Feb 2018 22:02:43 +0000 (22:02 +0000)]
Initial empty repository