Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
trz42 opened this issue Feb 6, 2024 · 0 comments
Open

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

trz42 opened this issue Feb 6, 2024 · 0 comments

Comments

@trz42
Copy link
Contributor

trz42 commented Feb 6, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant