-
Notifications
You must be signed in to change notification settings - Fork 89
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR @thspinto! It's looking good so far :)
So, regarding how to handle the breaking change, ideally I would maintain support for the old runtimes (go1.12
, go1.11
...) and use go dep
with those but it's true that is not currently supported by Kubeless core.
Since we are not actively adding new features to Kubeless core I think it's better to just replace the current go runtimes with go1.13 and go1.14 to avoid confusion and use go.mod instead. When releasing a new version of Kubeless we can notify people of the breaking change in go and add some instructions to use the latest version of Kubeless with the old version of the runtimes in case is necessary.
Regarding the image registry, once the PR is ready, I will build the golang images and update the jsonnet manifest to point to kubeless/go....
.
Hope that makes sense to you!
It does. I'm going to fix the tests and add the instructions to run the legacy version then. Thanks @andresmgot. |
Done. Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late response @thspinto! (I've been out of the office for a while). It seems that you copied the same jsonnet
file twice :) Apart from that, the rest looks good to me, I will build the images once that is ready.
@@ -0,0 +1,37 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file should contain the runtimes for go1.10
, go1.11
and go1.12
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol. Missed that, thanks =).
Thanks for the changes! Do you mind updating the kubeless docs with the new changes here: https://github.com/kubeless/kubeless/blob/master/docs/runtimes.md#go? |
Sure, I'll send a PR over there! Thanks! |
☕ Purpose
Implement Go runtime with go mod as dependency manager.
❓ Questions
🧐 Checklist
🍩 Further details
Let me know what you think of this PR, I'll finish de CI integration after discussing the questions.