-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Migrate from self-hosted Peril to Danger on GitHub Actions #13366
Comments
First step to implement wordpress-mobile#13366. The idea is to start with something simple, that is commenting on issues that don't have a label, replicating this Peril config: https://github.com/mokagio/peril-settings/blob/7a7d11f69351d446b8e3a50d9e14a7fdf43a21e4/peril-settings.json#L17-L19. With this into the main branch of the repo, opening, labeling, and un-labeling an issue should result in a workflow run.
Here's an update on the state of this. We decided to pause the migration effort, because of time and return of investment considerations. Danger, whether the Ruby or the Javascript implementation, works great for PRs. We were able to replicate the centralized nature of the Peril configuration by defining project specific Unfortunately, I wasn't able to replicate Peril's behavior for
We could adopt Danger only for PR checks and keep Peril for the other ones, but this would mean maintaining two setups instead of one, for no real gain. Danger even runs slower than Peril, because of the GitHub Actions CI boot time. Moreover, Danger via GitHub Actions fails to run on PR coming from forks. This is a limitation that CircleCI has as well, meaning that if we were to migrate we'd already have in place the processes to take over a PR for a fork to run CI on it. Still, it's something that "just works" on Peril, adding another point against using Danger right now. Given we have more impactful work to do right now, we decided to pause the migration project. I'll be keeping an eye on the Danger repos and revisit every 3 months or so. I'll also set Danger via GitHub Actions up in one of our internal tools in Automattic, in order to keep the setup up to date, so that when the time comes, we'll have a quick start reference. |
Pausing this for now. See #13366 (comment).
This issue has been marked as stale because:
Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions. |
This was done a few months ago. |
We've been using Peril to support PR reviews for a couple of years now and it has become a key part of our process.
Peril is basically a self-hosted version of Danger.
Since GitHub released Actions, the development of Peril has stalled and the authors and maintainers have focused on improving Danger and making it work flawlessly with GH Actions.
We currently host Peril on a free Heroku account and with the projects we've now hooked we're reaching its limits.
Given the above, it would be interesting for us to investigate the migration from Peril to Danger on GitHub Actions.
Our rules are Danger's rules and they are already stored in a shared repository, so it should be possible to run mixed environments and to migrate on a phased roll out.
The text was updated successfully, but these errors were encountered: