ansible/roles/lf-recommended-tools.git
5 years agoUbuntu: Install all required libraries for Pyenv 85/61785/2
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

5 years agoMerge "Install all required libraries for Pyenv"
Aric Gardner [Fri, 6 Sep 2019 18:01:23 +0000 (18:01 +0000)]
Merge "Install all required libraries for Pyenv"

5 years agoMerge "Configure basepython to python3"
Aric Gardner [Tue, 27 Aug 2019 20:16:53 +0000 (20:16 +0000)]
Merge "Configure basepython to python3"

5 years agoRemove git-review package 11/16711/1
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

5 years agoConfigure basepython to python3 97/16697/1
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

5 years agoInstall all required libraries for Pyenv 71/16671/3
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>
5 years agoPin more-itertools~=5.0.0 75/16675/1
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

5 years agoUse Python 3 for molecule tests
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

5 years agoRevert "Add packagecloud deps to ansible role" 22/16622/1
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>
5 years agoAdd packagecloud deps to ansible role 59/16359/16
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

5 years agoAdd curl and wget to tools list 41/16041/3
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

5 years agoPin pytest to 4.6.x 42/16042/2
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

5 years agoUse pre-commit instead of Coala 07/15607/3
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

5 years agoRevert "Install ius and swap git2u for git" 81/15981/2
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>
5 years agoInstall ius and swap git2u for git on RHEL systems 80/15980/1
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>
5 years agoPin ansible and ansible-lint 79/15979/1
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>
6 years agoAdd zip to list of common packages 31/13031/1
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>
6 years agoAdd PlantUML for generating UML diagrams 81/12081/3
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>
6 years agoAdd dos2unix tool 38/12038/1
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>
6 years agoMigrate from deprecated docker-py to docker 86/11886/1
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>
7 years agoInstall Ansible PPA on Ubuntu systems 19/10419/1
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>
7 years agoAdd dstat 18/9018/2
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>
7 years agoAdd fedora-packager to specific vars file 17/9017/3
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>
7 years agoRefactor to install in a single transaction 16/9016/2
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>
7 years agoMigrate lf-ansible lf-recommended-tools role 15/9015/1
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>
7 years agoBootstrap lf-recommended-tools role 14/9014/1
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>
7 years agoInitial empty repository
Andrew Grimberg [Tue, 20 Feb 2018 22:04:10 +0000 (22:04 +0000)]
Initial empty repository