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

SERVERLESS-2296 | Support private dependencies in Go functions by supporting vendoring #30

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

mattwelke
Copy link

@mattwelke mattwelke commented Nov 14, 2022

This is the implementation described in https://docs.google.com/document/d/1sxNQvzDhinB4KkjHM_GWEjL_zj3B1dGBYu3pxhn1AjA/edit, done only for Go 1.17 so far.

If this is reviewed and nothing looks off, we'd do the same for every Go version we support at DO. So probably just 1.17.

@mattwelke mattwelke changed the title Change Go 1.17 compile script, skip go mod download and init if vendor detected. SERVERLESS-2296 | Change Go 1.17 compile script, skip go mod download and init if vendor detected. Nov 14, 2022
@mattwelke mattwelke changed the title SERVERLESS-2296 | Change Go 1.17 compile script, skip go mod download and init if vendor detected. SERVERLESS-2296 | Support private dependencies in Go functions by supporting vendoring Nov 14, 2022
@mattwelke mattwelke marked this pull request as ready for review November 15, 2022 21:45
@mattwelke
Copy link
Author

Copy link

@rabbah rabbah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

golang1.17/bin/compile Outdated Show resolved Hide resolved
Co-authored-by: rodric rabbah <[email protected]>
@markusthoemmes
Copy link

We should be able to add a test to the Scala tests in this repo, that do test the runtime in isolation. Let's sit together on a meeting for that.

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.

3 participants