├── .github ├── setup │ ├── copr-build-setup │ └── copr-custom-script └── workflows │ ├── new-issues-to-board.yml │ ├── push-copr-build.yml │ └── python-diff-lint.yml ├── .gitignore ├── .gitmodules ├── .obs └── workflows.yml ├── COPYING ├── MANIFEST.in ├── Makefile ├── NEWS ├── README.md ├── TODO.md ├── bin ├── resalloc ├── resalloc-check-vm-ip ├── resalloc-maint └── resalloc-server ├── config ├── agent-spawner │ └── config.yaml ├── pools.yaml └── server.yaml ├── docs ├── development-howto.txt ├── release-new-version.md └── start-resalloc-server.txt ├── etc └── .gitignore ├── man ├── .gitignore └── resalloc-server.1 ├── obs-service-build-resalloc ├── .gitignore ├── obs-service-build-resalloc.spec └── script ├── pylintrc ├── pyproject.toml ├── requirements.txt ├── resalloc ├── __init__.py ├── client.py └── helpers.py ├── resalloc_agent_spawner ├── __init__.py ├── dispatcher.py ├── helpers.py └── worker.py ├── resallocserver ├── __init__.py ├── alembic.ini ├── alembic │ ├── README │ ├── __init__.py │ ├── env.py │ ├── script.py.mako │ └── versions │ │ ├── 0e370f3171e5_add_priority_for_resources_tags.py │ │ ├── 210774551cd3_performance_indexes.py │ │ ├── 5759bc82a992_initial_revision.py │ │ ├── 78237445aff8_index_not_closed_tickets.py │ │ ├── __init__.py │ │ ├── a53d2303943a_add_cleaning_unknown_resources_column.py │ │ ├── b50e3f64fc2d_track_pool_max_value.py │ │ ├── cdf29a997efc_resource_pool_id.py │ │ └── eac9fc01d0d1_allow_resource_reuse.py ├── api.py ├── app.py ├── config.py ├── log.py ├── logic.py ├── main.py ├── maint.py ├── manager.py ├── models.py └── priority_queue.py ├── resallocwebui ├── __init__.py ├── app.py ├── cgi-resalloc ├── static │ └── style.css └── templates │ ├── home.html │ ├── layout.html │ ├── pools.html │ └── resources.html ├── rpm ├── .gitignore ├── Makefile ├── cron.hourly ├── logrotate ├── merge-hook-logs ├── resalloc-agent-spawner.service ├── resalloc.service ├── resalloc.spec.tpl └── spec-version ├── setup.cfg ├── setup.py ├── shelltests ├── testlib ├── testrunner └── tests │ ├── basic.sh │ ├── check.sh │ ├── ondemand.sh │ └── reuse.sh ├── test-tooling ├── resalloc ├── resalloc-maint ├── resalloc-server └── wrap ├── tests ├── __init__.py ├── test_cli.py ├── test_command.py └── test_manager.py └── unittests.sh /.github/setup/copr-build-setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.github/setup/copr-build-setup -------------------------------------------------------------------------------- /.github/setup/copr-custom-script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.github/setup/copr-custom-script -------------------------------------------------------------------------------- /.github/workflows/new-issues-to-board.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.github/workflows/new-issues-to-board.yml -------------------------------------------------------------------------------- /.github/workflows/push-copr-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.github/workflows/push-copr-build.yml -------------------------------------------------------------------------------- /.github/workflows/python-diff-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.github/workflows/python-diff-lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.obs/workflows.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/.obs/workflows.yml -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/COPYING -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/Makefile -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/NEWS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/TODO.md -------------------------------------------------------------------------------- /bin/resalloc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/bin/resalloc -------------------------------------------------------------------------------- /bin/resalloc-check-vm-ip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/bin/resalloc-check-vm-ip -------------------------------------------------------------------------------- /bin/resalloc-maint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/bin/resalloc-maint -------------------------------------------------------------------------------- /bin/resalloc-server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/bin/resalloc-server -------------------------------------------------------------------------------- /config/agent-spawner/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/config/agent-spawner/config.yaml -------------------------------------------------------------------------------- /config/pools.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/config/pools.yaml -------------------------------------------------------------------------------- /config/server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/config/server.yaml -------------------------------------------------------------------------------- /docs/development-howto.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/docs/development-howto.txt -------------------------------------------------------------------------------- /docs/release-new-version.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/docs/release-new-version.md -------------------------------------------------------------------------------- /docs/start-resalloc-server.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/docs/start-resalloc-server.txt -------------------------------------------------------------------------------- /etc/.gitignore: -------------------------------------------------------------------------------- 1 | *.yaml 2 | -------------------------------------------------------------------------------- /man/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/man/.gitignore -------------------------------------------------------------------------------- /man/resalloc-server.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/man/resalloc-server.1 -------------------------------------------------------------------------------- /obs-service-build-resalloc/.gitignore: -------------------------------------------------------------------------------- 1 | noarch 2 | *.rpm 3 | -------------------------------------------------------------------------------- /obs-service-build-resalloc/obs-service-build-resalloc.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/obs-service-build-resalloc/obs-service-build-resalloc.spec -------------------------------------------------------------------------------- /obs-service-build-resalloc/script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/obs-service-build-resalloc/script -------------------------------------------------------------------------------- /pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/pylintrc -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [build-system] 2 | requires = ["argparse-manpage[setuptools]"] 3 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | alembic 2 | pyyaml 3 | six 4 | sqlalchemy 5 | flask 6 | -------------------------------------------------------------------------------- /resalloc/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '5.11' 2 | -------------------------------------------------------------------------------- /resalloc/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resalloc/client.py -------------------------------------------------------------------------------- /resalloc/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resalloc/helpers.py -------------------------------------------------------------------------------- /resalloc_agent_spawner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resalloc_agent_spawner/dispatcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resalloc_agent_spawner/dispatcher.py -------------------------------------------------------------------------------- /resalloc_agent_spawner/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resalloc_agent_spawner/helpers.py -------------------------------------------------------------------------------- /resalloc_agent_spawner/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resalloc_agent_spawner/worker.py -------------------------------------------------------------------------------- /resallocserver/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resallocserver/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic.ini -------------------------------------------------------------------------------- /resallocserver/alembic/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/README -------------------------------------------------------------------------------- /resallocserver/alembic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resallocserver/alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/env.py -------------------------------------------------------------------------------- /resallocserver/alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/script.py.mako -------------------------------------------------------------------------------- /resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/210774551cd3_performance_indexes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/210774551cd3_performance_indexes.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/5759bc82a992_initial_revision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/5759bc82a992_initial_revision.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/b50e3f64fc2d_track_pool_max_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/b50e3f64fc2d_track_pool_max_value.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py -------------------------------------------------------------------------------- /resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py -------------------------------------------------------------------------------- /resallocserver/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/api.py -------------------------------------------------------------------------------- /resallocserver/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/app.py -------------------------------------------------------------------------------- /resallocserver/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/config.py -------------------------------------------------------------------------------- /resallocserver/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/log.py -------------------------------------------------------------------------------- /resallocserver/logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/logic.py -------------------------------------------------------------------------------- /resallocserver/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/main.py -------------------------------------------------------------------------------- /resallocserver/maint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/maint.py -------------------------------------------------------------------------------- /resallocserver/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/manager.py -------------------------------------------------------------------------------- /resallocserver/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/models.py -------------------------------------------------------------------------------- /resallocserver/priority_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocserver/priority_queue.py -------------------------------------------------------------------------------- /resallocwebui/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/__init__.py -------------------------------------------------------------------------------- /resallocwebui/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/app.py -------------------------------------------------------------------------------- /resallocwebui/cgi-resalloc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/cgi-resalloc -------------------------------------------------------------------------------- /resallocwebui/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/static/style.css -------------------------------------------------------------------------------- /resallocwebui/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/templates/home.html -------------------------------------------------------------------------------- /resallocwebui/templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/templates/layout.html -------------------------------------------------------------------------------- /resallocwebui/templates/pools.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/templates/pools.html -------------------------------------------------------------------------------- /resallocwebui/templates/resources.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/resallocwebui/templates/resources.html -------------------------------------------------------------------------------- /rpm/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/.gitignore -------------------------------------------------------------------------------- /rpm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/Makefile -------------------------------------------------------------------------------- /rpm/cron.hourly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/cron.hourly -------------------------------------------------------------------------------- /rpm/logrotate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/logrotate -------------------------------------------------------------------------------- /rpm/merge-hook-logs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/merge-hook-logs -------------------------------------------------------------------------------- /rpm/resalloc-agent-spawner.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/resalloc-agent-spawner.service -------------------------------------------------------------------------------- /rpm/resalloc.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/resalloc.service -------------------------------------------------------------------------------- /rpm/resalloc.spec.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/resalloc.spec.tpl -------------------------------------------------------------------------------- /rpm/spec-version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/rpm/spec-version -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/setup.py -------------------------------------------------------------------------------- /shelltests/testlib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/shelltests/testlib -------------------------------------------------------------------------------- /shelltests/testrunner: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/shelltests/testrunner -------------------------------------------------------------------------------- /shelltests/tests/basic.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/shelltests/tests/basic.sh -------------------------------------------------------------------------------- /shelltests/tests/check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/shelltests/tests/check.sh -------------------------------------------------------------------------------- /shelltests/tests/ondemand.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/shelltests/tests/ondemand.sh -------------------------------------------------------------------------------- /shelltests/tests/reuse.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/shelltests/tests/reuse.sh -------------------------------------------------------------------------------- /test-tooling/resalloc: -------------------------------------------------------------------------------- 1 | wrap -------------------------------------------------------------------------------- /test-tooling/resalloc-maint: -------------------------------------------------------------------------------- 1 | wrap -------------------------------------------------------------------------------- /test-tooling/resalloc-server: -------------------------------------------------------------------------------- 1 | wrap -------------------------------------------------------------------------------- /test-tooling/wrap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/test-tooling/wrap -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/tests/test_command.py -------------------------------------------------------------------------------- /tests/test_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/tests/test_manager.py -------------------------------------------------------------------------------- /unittests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/praiskup/resalloc/HEAD/unittests.sh --------------------------------------------------------------------------------