Commit Graph

6 Commits

Author SHA1 Message Date
Ghanshyam Mann a43311b7ef Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic209179b0be9c3746a702ccea2dd35e883e78bee
2024-02-24 11:43:49 -08:00
Hervé Beraud 3ce55b5039 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removed specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to
pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug and it already faced
it previously [1].

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

NOTE: Also fix CI clear pbr constraints, relax hacking contraints,
fix H214 Use assertIn/NotIn(A, B) rather than assertTrue/False

Change-Id: Id7ed00333ba9571ef9e0d8f300714835ba63551b
2021-01-06 16:22:12 +02:00
Chuck Short 1b621ed595 Fix unit tests in python3
Fix the check_output in unit tests, the result was being
intrepid as a byte string which caused unit tests to fail.
This patch makes it a utf-8 string.

Change-Id: Iba5c50762846ef5266eddd397aca44b01d411354
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-08-24 10:59:06 -04:00
Alex Schultz a7837c9430 Add python jobs to tripleo-image-elements
This change also fixes the python tests to properly mock the path so our
stubs work if the command already exists on the system path.

Change-Id: I7c54b1d99e7cf6c4e3f4ded8c518bf447b2ba1de
2018-05-31 10:50:16 -06:00
Dan Prince b6cd59f800 Add unit test to enforce unique file names.
This patch adds a unit test to ensure we have uniquely named
files across each of the element/target directories. Because
DIB copies these files into a common namespace files can
by cryptically overwritten thus causing a variety of failures.

Simply checking for uniquely named files when running unit
tests should help eliminate future issues here.

Change-Id: Ic22f9eb5e002a0cfe94942e7210eb73231560e82
Partial-bug: #1321849
2014-06-23 12:17:50 -04:00
Ben Nemec 79f224d04a Add unit tests for os-svc-daemon
Adds a set of unit tests for os-svc-daemon to verify the output
of running it with various options.  Includes a base test class
with some convenience functions for testing scripts.

Change-Id: Id54291686d39ab1b9f0ce4848a2fcf3c18a9ea18
2014-03-28 19:55:29 -05:00