Commit Graph

7 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov b5ea66fcda Replace usage of which with command
`which` is not a default package for CentOS 9 and Rocky Linux. This
means that we should either take care of installing `which` at very
beginning or use built-in alternative of `command -v`.
Command is part of GNU Bash package and will present on each system
which have bash installed, which is OSA requirements.

`command -v` behaves exactly same way - it provides path as output
and exits with code 1 when binary can't be found. So it's a drop-in
replacement.

Change-Id: I7da7814261d734b96644624870ed7cc2f1173bff
2022-09-29 12:17:56 +00:00
Neil Hanlon 65c67f5725 Add support for running on Rocky Linux
Change-Id: I127ab0d9bab436e207a3217a1663ba196d300fd2
Signed-off-by: Neil Hanlon <neil@shrug.pw>
Depends-On: https://review.opendev.org/c/openstack/project-config/+/828435
2022-03-10 09:36:20 +00:00
Jonathan Rosser a05e5de565 Remove Centos-7 support
Ussuri is the last release that openstack-ansible will support Centos-7.
Remove this for the Victoria release.

Change-Id: Ief6cbb2d02bfdc4e6c3c0fbb0cc9ab5a3eab98c3
2020-10-16 15:51:59 +00:00
Dmitriy Rabotjagov ee8497176a Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.
Path do not fix path in run_tests.sh and scripts/scripts-library.sh as
I'm not really sure whether it's safe to change now.

Depends-On: https://review.opendev.org/653978/
Change-Id: I700fa432c88e77ca1b0e29667d04bfbb67829735
2019-05-09 10:44:18 +01:00
Jean-Philippe Evrard d1d3aeeca6 Use opendev links
This patch uses the opendev.org links and it also copies over the
updated run_tests.sh script.

Depends-On: I67ebe9e813c95a3a8bcf204678ddccbcea7a45cd
Change-Id: I746b9dbb090dd484a36e826f06beda1eba3f55f4
2019-05-08 19:26:41 +00:00
Jesse Pretorius 8662acf5ec Update run_tests.sh and remove tests-repo-clone.sh
The lint tests make use of the common linters test
used by the roles, so we need to ensure that the
run_tests.sh script is updated and the configuration
adjusted accordingly.

Change-Id: I7c9bcfe29e4bad802d154e99c3312f6a0448fbaf
2018-03-30 20:42:53 +00:00
Jesse Pretorius 503ba6a970 Update test tooling for manual testing
In https://review.openstack.org/520065 the lint tests
were updated to make use of the tests repo for all
linting. This works nicely within OpenStack-CI, but
fails when trying to do it by hand due to missing
packages on the hosts. It also requires the tester to
install some things beforehand.

To align this repo with the way the role tests run,
we implement the same mechanism as used in the roles
to prep the host using the run_tests.sh script and the
appropriate bindep entries.

Change-Id: Ia1c0a7374d8027d0f0772f393b462ee807ea2090
2017-12-11 15:44:41 +00:00