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

support for running a `bot/pre-deploy.sh` script #243

Open trz42 opened 9 months ago

trz42 commented 9 months ago

This is to ensure that the deployment can only begin if necessary conditions are met. Such conditions could be that builds for all architectures have succeeded, all jobs have finished, etc.

The actual deployment code may run that script in a separate job and only proceed if the script exits with return value 0.

Open question is how to handle cases when builds for some architectures don't succeed to build. Maybe this script should be accompanied with a new bot command bot: deploy FILTERS which then doesn't use that script (or at least not if any FILTER applies).