Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 1.24 KB

README.md

File metadata and controls

44 lines (24 loc) · 1.24 KB

Perfscale Managed Services

This repo contains script to automate and test deployments on Red Hat Managed Services

Available Environments

Managed OCP4 installed on AWS

Available Testers

Running tests

Local testing

To run tests locally use the folling command:

tox .

If you have a dirty virtual environment use the option -r in tox to recreate the environments.

Testing in a container

The container must have internet access to build, it is not necessary to install any requirenments in your workstation.

First build the image that will run the tests:

podman build -f tests/Dockerfile --tag tox-test:latest .

The tag can be anything you want and can be changed, in thsi case we are using tox-test:latest.

To run the tests execute:

podman run --rm -ti tox-test:latest

You can execute any sub-environment of tox by doing the following:

podman run --rm -ti tox-test:latest tox -e stage