7 Commits

Author SHA1 Message Date
Jiri Podivin
2ae6e68d36 Reqcheck job for upstream validations-common
Zuul job queries the requirements.txt and the relevant
spec file using the `rdopkg reqcheck` to find discrepancies
in the listed dependencies.

Just like the original `rdopkg-reqcheck` this job is non-voting.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I45043407b38bdcd0c0a38b30b65b5d5f70cae76d
2021-05-19 15:20:08 +02:00
Gael Chamoulaud (Strider)
6243262f1e
Add shared configuration for all molecule test
This patch adds a molecule configuration file at the repository
level (validations-common/.config/molecule/config.yml) which defines
all the default values for molecule.yml files in all roles.

This patch also introduces a common Dockerfile (UBI8 image) shared
between all the role molecule tests. This Dockerfile will install the
CentOS 8.x Linux Repos and GPG Keys during the image build.

This Dockerfile is located in validations-common/.config/molecule
directory and it is shared through a relative symbolic link between all
the molecule directories.

NOTE: tox-ansible doesn't manage shared molecule configuration at the
project level (see [1]). To be able to use it, we have to explicitly add
the driver name in each molecule.yml file in the roles level. Once [1]
will be fixed, these will be removed.

[1] - https://github.com/ansible-community/tox-ansible/issues/88).

Change-Id: I907e2a13a3ba3b152ad7036fa1bb249bec980b76
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2021-05-05 11:59:40 +02:00
Gael Chamoulaud (Strider)
ab26d8263a
[Testing Infra] Apply here the improvements done to tripleo-validations
This patch brings out the improvements done from tripleo-validations to
validations-common regarding the molecule testing infrastructure with
the UBI8 images.

This patch integrates molecule fix after release of cryptography3.4.
See https://review.opendev.org/c/openstack/tripleo-validations/+/774747

Related-Bug: #1915101
Co-Authored-By: David Vallee Delisle <dvd@redhat.com>
Change-Id: I2e5ebebdd48e4013aa87868a22807e91feb3ffab
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2021-04-01 10:16:07 +02:00
Gael Chamoulaud (Strider)
f365a070f7 Remove ensure-docker role execution
Now that we migrated to podman for all the molecule tests, we don't it
anymore.

Change-Id: I423af47800eedf83d377715926d1080b6377fc25
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2020-10-07 17:17:21 +02:00
Gael Chamoulaud (Strider)
a89c63ba16
Use the UBI8 image for testing
This change converts our use of CentOS7/88 to UBI8, which should
provide a better test environment which will match that of
production for future releases of TripleO. While this image change
will better match production clouds thanks in large part to TCIB,
it will also remove our use of docker.io (dockerhub) which fraught
with peril due to the ongoing API rate limits saga.

Change-Id: Ide53bef507b02b35581f596443c8a8dfa5bc7083
2020-09-25 14:38:05 +02:00
Gael Chamoulaud (Strider)
9d84a07807
Add molecule tests runs back in the CI
This patch reverts files which have been deleted with [1].

It also adds back the openstack-tox-linters job in the check queue.

[1] b706d7c7c9
Change-Id: Idd3bdb4aecf59ba20992e9c499efd8767e9d06be
2020-09-18 16:15:06 +02:00
Mathieu Bultel
b706d7c7c9 Switch legacy Zuul jobs to native Zuul v3 jobs
See
https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html
for more details.

Co-Authored-By: Cédric Jeanneret <cjeanner@redhat.com>
Change-Id: I94eadcecbae58ad322cc3028b315eab795711027
2020-08-12 08:50:53 +02:00