Client side agent for package actions from katello
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Readme.md

katello-host-tools

This repository is a collection of software tools which are useful for clients of Katello. It supports errata and package profile reporting across a number of different rpm based platforms.

Run

make install
./bin/katello-enabled-repos-upload

With Docker

make docker-run

# In the container shell:
make install
./bin/katello-enabled-repos-upload

Test

Full test suites:

make test

Manually

./test/unittest_suite.py # run all the tests
python -m unittest test.test_yum_plugins.test_enabled_repos_upload # run a specific test module
python -m unittest test.test_yum_plugins.test_enabled_repos_upload.TestSendEnabledReport.test_send # run a specific test

Optionally, work from the test's directory:

cd test/test_yum_plugins
python -m unittest test_enabled_repos_upload # run a specific test module
python -m unittest test_enabled_repos_upload.TestSendEnabledReport.test_send # run a specific test

With Docker

Full suite:

make docker-test # run test/test_runner.sh in a container and exit

Single tests:

make docker-run # open a bash shell in a container

# In the container shell:
make install
# use manual test commands above

Contribute

Please, open your PR and join our community!

Issues tracked via Redmine.