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

Separate Danger Run into two processes #395

Merged
merged 14 commits into from
Oct 22, 2017
Merged

Conversation

orta
Copy link
Member

@orta orta commented Oct 16, 2017

Moves the JavaScript runner to also work in the same method as danger process. The idea is that we can use process separation even inside the JavaScript client built into Danger JS. ( see the docs if this is new to you ) which means new features to DangerJS will definitely improve anyone using Danger in their own language.

This process separation will work with danger/peril#159 to solidify the idea of separation for Peril and the runner (on lambda.)

TODO:

  • Convert danger to actually be danger process "danger runner" basically
  • The DSL needs to have functions added back into it, e.g. git.utils, github.utils, github.api
  • Use the runner to run fixtures DSL data agains the JS files inside the runner's fixtures

@orta
Copy link
Member Author

orta commented Oct 21, 2017

OK, this is now green in terms of the biggest refactorings 👍

@orta
Copy link
Member Author

orta commented Oct 21, 2017

CI now runs every example dangerfile through danger-runner - see travis' node 8.4

screen shot 2017-10-21 at 5 02 02 pm

@orta orta force-pushed the convert_danger_to_danger_process branch 4 times, most recently from 697c00c to 63d25df Compare October 21, 2017 21:35
@orta
Copy link
Member Author

orta commented Oct 21, 2017

Only the conversion of danger [args] to danger process 'danger runner [args]' to go

@orta orta force-pushed the convert_danger_to_danger_process branch from 63d25df to e735469 Compare October 21, 2017 21:42
@DangerCI
Copy link

DangerCI commented Oct 22, 2017

Warnings
⚠️

this worked

Generated by 🚫 dangerJS

@orta orta force-pushed the convert_danger_to_danger_process branch 5 times, most recently from d9ee88e to 66db387 Compare October 22, 2017 14:59
@orta orta force-pushed the convert_danger_to_danger_process branch 3 times, most recently from bbc2635 to b64e54a Compare October 22, 2017 17:04
@orta orta force-pushed the convert_danger_to_danger_process branch from b64e54a to 3634e93 Compare October 22, 2017 17:13
@orta orta changed the title Initial work on adding a danger-process style runner for JS Separate Danger Run into two processes Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants