EESSI / eessi-bot-software-layer

Bot to help with requests to add software installations to the EESSI software layer
GNU General Public License v2.0
0 stars 18 forks source link

check for needed configuration settings at the start of bot components #264

Open trz42 opened 8 months ago

trz42 commented 8 months ago

Changes to configuration settings in https://github.com/EESSI/eessi-bot-software-layer/pull/263 (e.g., renaming tarball_prefix to artefact_prefix) may lead to bot components crashing when those settings are accessed, but weren't changed in the app.cfg.

We should ensure that all needed settings are present for the event handler and the job manager by using something similar to what is done for the job manager in eessi_bot_job_manager.py:

This should be done before making a new release or we might miss to update the bot configs.