ATIX-AG / katello-host-tools

Client side agent for package actions from katello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
katello-enabled-repos-upload

With Docker

make docker-run

# In the container shell:
make install
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.

About

Client side agent for package actions from katello

License:GNU General Public License v2.0


Languages

Language:Python 98.5%Language:Makefile 1.1%Language:Shell 0.4%