-
Notifications
You must be signed in to change notification settings - Fork 124
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
Fix ununsed param #189
Fix ununsed param #189
Conversation
A webhook makes sense. Actually, I would like to see such a notification for all plugin repos. |
@hanzei Seems that we would get that for all plugin repos automatically by implementing this in the centralized plugin CI workflow. From this SO answer https://stackoverflow.com/a/63314229, it seems we can do something like this:
We would want it to run if any of the steps fail though. Here's another suggested solution https://stackoverflow.com/a/74562058
Given that we will trigger some step due to failure of a previous step, we would need a way to notify Mattermost. We could have a separate action that sends a message to Mattermost via webhook, accepting parameters like |
The million dollar question is if we need the scheduled nightly builds in the first place . I would suggest a new job with the below config. We avoid if: failure() || cancelled() Check on our delivery repository here for an example |
@toninis Thanks all makes sense to me. I'll take a look at implementing this.
These jobs are configured per plugin repo, so if we want to stop them it should probably a centralized change.
There have been issues from these scheduled jobs running on forks, because of the resources they're using (mostly because of stored artifacts). There was a fix to turn off the scheduled job in this repo as a first step #180, though was closed in favor of a centralized fix mattermost/actions#10 for the piece related to space used storing artifacts. Seeing that the scheduled job on this repo wasn't set up to have any indication of it failing, I'm thinking nobody has had any benefit from these jobs running on their forks either. I propose we centralize disallowing running in forks, possibly overridable through a parameter in case someone maintaining a plugin does want to. And if we want to continue running scheduled jobs for our org's repos, maybe we should change to one week instead. |
Summary
The scheduled CI job that runs every day has been failing for about a month due to this linting rule. @hanzei Any way we can be notified of this, maybe through a webhook to Mattermost?