summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Anil Belur [Sun, 4 Feb 2024 07:25:48 +0000 (17:25 +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: I2086e198fa6167af5bffaee894e45d70a39df9c2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Tue, 23 Aug 2022 01:07:46 +0000 (11:07 +1000)]
Chore: Update LF tools role
- Add GHA workflow to test ansible role
- Update tox and pre-commit dependencies
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: I7c8f248db7c2d07192aa2f8f3a3c4506a7a3d749
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Matthew Watkins [Mon, 9 Jan 2023 11:42:10 +0000 (11:42 +0000)]
Fix: Add missing header file for Sonarqube builds
Issue-ID: RELENG-4551
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Ib7d338651d0bf26a302cfb007ee33dfd52b15409
Matthew Watkins [Mon, 7 Nov 2022 10:41:21 +0000 (10:41 +0000)]
Feat: Add NodeSource NodeJS repository/package
Issue-ID: RELENG-4482
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I0187f5a57b63972452a715634ddfa6617615b2b7
Vanessa Valderrama [Tue, 18 Oct 2022 18:05:38 +0000 (13:05 -0500)]
Fix: Remove unused Handler
This handler is not required. Ansible has a built in service
module that controls services on remote hosts
Also installing a previous version of mock-core-configs to
resolve a dependency issue with the latest version
distribution-gpg-keys 1.77 is not available for CentOS 7
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: Ia93fd83f8ec06d4ec84d12ba638fbe92f363181b
Vanessa Valderrama [Thu, 13 Oct 2022 21:21:52 +0000 (16:21 -0500)]
Chore: Add SSHD handler
Adding a handler to restart SSHD
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: I273f9f104196126c3ffa76c58ab72176d69e0fac
Anil Belur [Thu, 6 Oct 2022 12:46:36 +0000 (22:46 +1000)]
Fix: Remove ansible package/repo install
Ansible is mostly used with the packer builds it's better
to install ansible from PyPI, since this gives better control
over the upstream version and managing dependencies.
Update the pre-commit dependencies and molecule default
platform config.
Issue-ID: RELENG-4473
Change-Id: I5635d1633ad02e169957361ea354b092ade29c18
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Anil Belur [Mon, 29 Mar 2021 14:52:27 +0000 (00:52 +1000)]
Change install state to handle sys deps
Using 'fixed' allows to correct a system with
broken dependencies for Ubuntu 18.04.
Error:
E: Failed to fetch http://ubuntu.mirror.globo.tech/pool/main/m
/mesa/libgl1-mesa-glx_20.0.8-0ubuntu1~18.04.1_amd64.deb
Undetermined Error [IP: 68.168.114.246 80]
E: Unable to fetch some archives, maybe run apt-get
update or try with --fix-missing?
Change-Id: I3f490fa1f6c5d36fd79345ae78227bebe8638d56
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Tue, 30 Mar 2021 00:18:52 +0000 (10:18 +1000)]
Fix yamllint tox errors
yamllint missing in $PATH causes molecule tests
to fail.
Ref: https://github.com/ansible-community/molecule/issues/2781
Change-Id: I56239b893cac2aeeb364ab41b70d98126a057637
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Eric Ball [Thu, 19 Nov 2020 00:53:23 +0000 (16:53 -0800)]
Update path for "parallel" package
The old URL is no longer reachable, causing build failures for packer
builds.
Molecule requirement has been changed to "molecule[docker]", due
to a breaking change introduced in molecule 3.1.1, where docker was
moved out of the default module.
rpm_key blocks added for direct installs of packages in CentOS 8, as
not having these GPG keys in place is now an error condition.
Issue: IT-20979
Change-Id: I837419c2cd92f0ec19849f0a4da3ec5c36b2cb5e
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Anil Belur [Mon, 17 Aug 2020 03:23:09 +0000 (03:23 +0000)]
Merge "Disable MOLECULE_DEBUG=true"
Thanh Ha [Fri, 14 Aug 2020 18:31:30 +0000 (14:31 -0400)]
Test role with CentOS 8
Adds a test environment for CentOS 8.
Change-Id: I0aee89c84a443055bb052164469cc2a5f841aa72
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Thanh Ha [Fri, 14 Aug 2020 18:07:17 +0000 (14:07 -0400)]
Disable MOLECULE_DEBUG=true
MOLECULE_DEBUG mode prints out too much information making it difficult
to troubleshoot. Most of the time this isn't necessary because molecule
does print out useful info on failure so let's comment this out and use
it sparingly when we need it.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I812e56328817a4636a9675dc245f5e86cc51a590
Thanh Ha [Fri, 14 Aug 2020 17:29:30 +0000 (13:29 -0400)]
Do not install Ansible PPA on Ubuntu 20.04
Unfortunately the Ansible PPA is not yet available on Ubuntu 20.04 so
do not install it. Also add a TODO note to go back and figure out if
we really still need the PPA. This was added because we wanted to get
a more recent version of Ansible on Ubuntu 16.04 but perhaps the distro
packaged version is sufficient with newer Ubuntu versions.
Ref: https://github.com/ansible/ansible/pull/69161
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I7a02a6e0e95b148c640dfd41f3ea3d50dfff17d9
Andrew Grimberg [Tue, 2 Jun 2020 20:00:48 +0000 (13:00 -0700)]
Merge C8 with RedHat
sshuttle finally released into EPEL so the different C8 and RedHat
configs are no longer needed and sshuttle can be brought back to the
main configuration.
Change-Id: I3d6c7bd61765cd25e5be7aa722cbf120c98630ab
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Thanh Ha [Fri, 24 Apr 2020 17:38:58 +0000 (13:38 -0400)]
Wait 30 seconds and retry download
Occassionally fetching PlantUML fails with read timeout or other
intermittent issues. Add configuration to retry a few times before
giving up.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I0f2ed4c7167ea84fad3840c4e3dfbb13d214e81c
Andrew Grimberg [Wed, 1 Apr 2020 21:31:47 +0000 (14:31 -0700)]
Update role to support CentOS 8
* Drops installation of sshuttle as that is not presently available for
CentOS 8
Issue: RELENG-2823
Change-Id: I426112d92cd6886c629744fa1f0cf39e800ad44f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Eric Ball [Thu, 12 Mar 2020 22:18:50 +0000 (15:18 -0700)]
Update molecule tests for v3
The lint section is now a single shell script.
playbook.yml is now named converge.yml.
docker_image_facts renamed to docker_image_info.
path, dockerfile, and force params for docker_image have changed
name/section, and source is now required.
Updated tox requirements.
Issue: RELENG-2721
Change-Id: I5b35afe7a6d75734b14ab895ceb9f0b7c4135a0d
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Thanh Ha [Sat, 26 Oct 2019 17:51:45 +0000 (13:51 -0400)]
Update sourceforge link to https
It appears the http link just redirects to https now so let's
point directly to the SSL port and skip the redirect.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ife8bcf9bb403a3091dea886eb16acdfd7148a9a9
Aric Gardner [Mon, 21 Oct 2019 20:47:16 +0000 (16:47 -0400)]
Install tree command
The tree command is required to create index files
which is required for bucket level file listing on
AWS S3.
molecule tests fail on python3!
TASK [Create Dockerfiles from image names]
*************************************
13:55:49 failed: [localhost] (item=None) => {"censored": "the output
has been hidden due to the fact that 'no_log: true' was specified for
this result", "changed": false}
fixed with:
+export MOLECULE_DEBUG=True
"msg": "Aborting, target uses selinux but python bindings
(libselinux-python) aren't installed!"
fixed with:
deps = selinux
libselinux python3 bindins are missing from centos7.7
https://bugs.centos.org/view.php?id=16389
fixed with:
-basepython = python3
WARNING: test command found but not installed in testenv
fixed with:
whitelist_externals = which
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I66025284e0251b248cb035207d17034531709616
Aric Gardner [Thu, 19 Sep 2019 19:16:23 +0000 (15:16 -0400)]
Ubuntu: Install all required libraries for Pyenv
https://github.com/pyenv/pyenv/wiki/Common-build-problems
ISSUE: IT-17316
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Id9945a8a206dffb1816f7e7a8d4d79e807988736
Aric Gardner [Fri, 6 Sep 2019 18:01:23 +0000 (18:01 +0000)]
Merge "Install all required libraries for Pyenv"
Aric Gardner [Tue, 27 Aug 2019 20:16:53 +0000 (20:16 +0000)]
Merge "Configure basepython to python3"
Suresh Channamallu [Tue, 27 Aug 2019 19:31:37 +0000 (15:31 -0400)]
Remove git-review package
Git-review is not used anymore
Issue: RELENG-2074
Signed-off-by: Suresh Channamallu <schannamallu@linuxfoundation.org>
Change-Id: Iced7a4f5adc0cea5ac4b1de1b615b617c7d3ff18
Thanh Ha [Tue, 27 Aug 2019 18:59:50 +0000 (14:59 -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: I507f1fa6c55356abb5bc780f4fb672d03d9edffb
Aric Gardner [Mon, 26 Aug 2019 18:24:05 +0000 (14:24 -0400)]
Install all required libraries for Pyenv
https://github.com/pyenv/pyenv/wiki/Common-build-problems
ISSUE: IT-17316
Change-Id: Ic22d4ed31a01d3d2f4fef391415347cfd1aa5647
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Anil Belur [Tue, 27 Aug 2019 03:13:50 +0000 (08:43 +0530)]
Pin more-itertools~=5.0.0
Pin more-itertools ~= 5.0.0, since version 6.0.0 requires Python 3.4
https://github.com/erikrose/more-itertools/releases
Error:
more-itertools requires Python '>=3.4' but the running Python is 2.7.5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I11ee35a57361ba2c296f847ca07bd0b14e10b620
Thanh Ha [Tue, 20 Aug 2019 02:36:38 +0000 (22:36 -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: I79104c8633ac490510d9391a24beb424c9324b7f
Andrew Grimberg [Tue, 20 Aug 2019 18:33:06 +0000 (11:33 -0700)]
Revert "Add packagecloud deps to ansible role"
This reverts commit
07b3e6afe811bf7d0ca7d50946a05c8b45906371.
Installation of package_cloud is not working as expected
Issue: RELENG-2240
Change-Id: I94b7cabdae6e63995fadaa65bac4446425c90c7d
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Suresh Channamallu [Mon, 29 Jul 2019 19:35:00 +0000 (15:35 -0400)]
Add packagecloud deps to ansible role
Add ruby_dev, rake, package_cloud gem installation
steps
Issue: RELENG-2240
Signed-off-by: Suresh Channamallu <schannamallu@linuxfoundation.org>
Change-Id: I990d0b5a661664c8e20285b39f1ca8da4c480a8e
Thanh Ha [Sat, 29 Jun 2019 22:44:02 +0000 (18:44 -0400)]
Add curl and wget to tools list
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I526f5611ee5957db6fbda48e76d4441073565b34
Thanh Ha [Sun, 30 Jun 2019 02:19:33 +0000 (22:19 -0400)]
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.
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ied1cfbed458fd27999537c510a33e142a5b7b56a
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: I0a5dfee8eab3680f472bb6ad6b62c79e7ba4a7b2
Andrew Grimberg [Mon, 24 Jun 2019 22:36:20 +0000 (08:36 +1000)]
Revert "Install ius and swap git2u for git"
This reverts commit
ae351944b9b77dfd8ea347f477593e38250cd481.
Reverting as common-packer has code that will fail if it isn't updated
first
Change-Id: Idcf6b8e6e72b03644a8cca69491f6acaa78c8dc7
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Andrew Grimberg [Mon, 24 Jun 2019 21:53:05 +0000 (14:53 -0700)]
Install ius and swap git2u for git on RHEL systems
Some of our jobs are failing, or at least having issues, due to not
having a recent enough version of git on the CentOS systems. Updating
the base recommended tooling to include a newer version of git on RHEL
systems should resolve this problem.
Issue: RELENG-2143
Change-Id: I2c690c94d0602b8790e37432ba2e24671e8cccb3
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Andrew Grimberg [Mon, 24 Jun 2019 20:57:34 +0000 (13:57 -0700)]
Pin ansible and ansible-lint
Both ansible and ansible-lint need to be pinned to be able to pass the
molecule tests at this time.
Change-Id: Id29d3afbc998fe987be5f57428c061f62229389b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Jeremy Phelps [Wed, 17 Oct 2018 17:22:12 +0000 (12:22 -0500)]
Add zip to list of common packages
Change-Id: Ic061a79b392631a6f7b400d6b83db8a16e095324
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Thanh Ha [Thu, 2 Aug 2018 17:03:23 +0000 (13:03 -0400)]
Add PlantUML for generating UML diagrams
Used by Java projects to generate their UML diagrams.
Change-Id: I92dbf23367c356cbf23a0c8dc929247c9b269430
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Mon, 30 Jul 2018 23:16:31 +0000 (19:16 -0400)]
Add dos2unix tool
Change-Id: I367535632a0008762f1f38e2194d6e8dabcf9617
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 20 Jul 2018 18:39:35 +0000 (14:39 -0400)]
Migrate from deprecated docker-py to docker
Change-Id: Ia77ab36a0a63cab1d08e9b5be6bf3b9bb6b60f7a
Signed-off-by: Thanh Ha <zxiiro@linux.com>
Thanh Ha [Thu, 3 May 2018 21:22:37 +0000 (17:22 -0400)]
Install Ansible PPA on Ubuntu systems
Issue: RELENG-786
Change-Id: I3d13f25c90ee9467c7a35d254d8bcb2a4fc21b2f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Mohammed Naser [Fri, 23 Feb 2018 01:46:17 +0000 (20:46 -0500)]
Add dstat
This patch adds dstat which is extremely useful in collecting
metrics of a system to verify performance.
Change-Id: I2f0c33c1c8c879c52a094d54fc6a01cf7411e231
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Mohammed Naser [Fri, 23 Feb 2018 01:44:22 +0000 (20:44 -0500)]
Add fedora-packager to specific vars file
There is no need to install it seperately, being able to load the
correct lf_recommended_tools_packages_distro based on the OS means
it will be listed there automagically!
Change-Id: I9f1d8ec9542420ddf65411616ffa4d0bd19b8009
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Mohammed Naser [Fri, 23 Feb 2018 01:41:13 +0000 (20:41 -0500)]
Refactor to install in a single transaction
This patch moves the variables to the appropriate vars folder with
the correct ansible_os_family. It lists all of the common packages
in main.yml and distro-specific in the respective YAML file.
It also makes the installation happen with a single transaction
by providing a list to the package module.
Change-Id: Ie9b955280ef488c1e938d2925f1bdf7a7e78ea1a
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Thanh Ha [Fri, 23 Feb 2018 01:08:41 +0000 (20:08 -0500)]
Migrate lf-ansible lf-recommended-tools role
Change-Id: I9dd56e6d5e44ab951e64660f6d551df79fb35aaf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 23 Feb 2018 01:08:41 +0000 (20:08 -0500)]
Bootstrap lf-recommended-tools role
Change-Id: I23277d01e0b042e223a6defcf96b2fdbb279dc41
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Andrew Grimberg [Tue, 20 Feb 2018 22:04:10 +0000 (22:04 +0000)]
Initial empty repository