Add test infrastructure for peforming live Docker-based install tests.

Review Request #13469 — Created Dec. 27, 2023 and submitted — Latest diff uploaded

Information

rbinstall
master

Reviewers

This introduces some code in tests for performing live tests of the
installer across all supported Linux distributions.

A docker-compose.yaml is responsible for launching some Docker
infrastructure for package caching, which is strongly encouraged for
tests. A rbinstall-test.ini should then be generated from
rbinstall-test.ini.tmpl to specify the cache addresses, and optionally
RHEL license information.

run-install-tests.py can then be used to perform the tests. This will,
by default, run through every supported Linux distribution sequentially.
It can instead run subsets, and can run tests in parallel.

Log information will be output to logs/, to aid debugging.

All tests pass on all supported Linux distributions.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Add test infrastructure for peforming live Docker-based install tests.
This introduces some code in `tests` for performing live tests of the installer across all supported Linux distributions. A `docker-compose.yaml` is responsible for launching some Docker infrastructure for package caching, which is strongly encouraged for tests. A `rbinstall-test.ini` should then be generated from `rbinstall-test.ini.tmpl` to specify the cache addresses, and optionally RHEL license information. `run-install-tests.py` can then be used to perform the tests. This will, by default, run through every supported Linux distribution sequentially. It can instead run subsets, and can run tests in parallel. Log information will be output to `logs/`, to aid debugging.
c8171784a8731f99fb71ee348455ef4da583453e Christian Hammond
scripts/pack.sh
tests/.env
tests/.gitignore
tests/docker-compose.yaml
tests/rbinstall-test.ini.tmpl
tests/run-install-tests.py
tests/squid-proxy/Dockerfile
tests/squid-proxy/squid.conf
tests/squid-proxy/squid-urlrewrite.conf
Loading...