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 Drone 0.5 #19

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Support Drone 0.5 #19

merged 1 commit into from
Nov 16, 2017

Conversation

k0nserv
Copy link
Contributor

@k0nserv k0nserv commented Nov 16, 2017

The previous support for Drone 0.5 did not actually work. This
was because the drone-node plugin was being instatniated regardless
of node version which fails since it tries to parse the input JSON.

The previous support for Drone 0.5 did not actually work. This
was because the `drone-node`  plugin was being instatniated regardless
of node version which fails since it tries to parse the input JSON.
@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

cc @athieriot

@athieriot
Copy link
Owner

Excellent thanks !

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

Build fails, not entirely sure what's happening there

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

Fails on master for me as well

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

I think some of the mocking by nock might be failing

@athieriot
Copy link
Owner

athieriot commented Nov 16, 2017 via email

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

Right so could we merge anyway then? It'd be great if this could be released as it blocks me with what I'm currently trying to do

@athieriot
Copy link
Owner

Sorry if it's rude but I need to ask: Did you try it on your Drone instance? (I might require a digital blood signature)

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

This fix? No I didn't, but I debugged it and found that the error I saw was related to the invocation of const plugin = Drone.Plugin() which causes the JSON parsing to kick in and subsequently fail

@athieriot
Copy link
Owner

Don't hesitate to come back with another PR if you're blocked again.

@athieriot athieriot merged commit 640f626 into athieriot:master Nov 16, 2017
@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

Thanks, I guess there's a risk that it will not publish due to the tests failing however

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

Yes that is indeed what happens. I'll have a look and see if I can't resolve that.

@k0nserv
Copy link
Contributor Author

k0nserv commented Nov 16, 2017

Resolved in #20

@k0nserv k0nserv mentioned this pull request Nov 16, 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