Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

vendor: update vsock package version#551

Merged
bergwolf merged 1 commit intokata-containers:masterfrom
marcov:golang-version
May 17, 2019
Merged

vendor: update vsock package version#551
bergwolf merged 1 commit intokata-containers:masterfrom
marcov:golang-version

Conversation

@marcov
Copy link
Copy Markdown
Contributor

@marcov marcov commented May 7, 2019

The vsock package needs go >= 1.11. The latest version of the package adds a
compile time check on the go version.

Fixes: #542

Signed-off-by: Marco Vedovati mvedovati@suse.com

@marcov
Copy link
Copy Markdown
Contributor Author

marcov commented May 7, 2019

/test

Copy link
Copy Markdown

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Thanks for raising @marcov.

Please could you list the new commits this revendor pulls in using the git-log command here:

The vsock package needs go >= 1.11. The latest version of the package adds a
compile time check on the go version.

Shortlog since last vendoring of github.com/mdlayher/vsock:
    7b7533a vsock: break compilation on unsupported versions of Go
    75a9d2a go.mod: bump dependencies
    7746c14 *: switch from Travis to builds.sr.ht exclusivel

Fixes: kata-containers#542

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
@marcov marcov force-pushed the golang-version branch from e6c6896 to 560dc87 Compare May 7, 2019 11:24
@marcov
Copy link
Copy Markdown
Contributor Author

marcov commented May 7, 2019

done, thanks @jodh-intel

Copy link
Copy Markdown

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Thanks @marcov!

lgtm

@jodh-intel
Copy link
Copy Markdown

/retest

@marcov
Copy link
Copy Markdown
Contributor Author

marcov commented May 13, 2019

/retest

@jcvenegas
Copy link
Copy Markdown
Member

/test

@bergwolf
Copy link
Copy Markdown
Member

@marcov We only require at least 1.10.4 (https://github.com/kata-containers/runtime/blob/master/versions.yaml#L267). Please update the runtime repo for the least required version.

@bergwolf
Copy link
Copy Markdown
Member

tag dnm until versions.yaml is updated in the runtime repo.

@marcov
Copy link
Copy Markdown
Contributor Author

marcov commented May 16, 2019

@bergwolf sure I can do that

When building the rootfs, the agent's Go version is read from a file in osbuilder, so that should also be updated to use versions.yaml in the runtime repo. Actually I am not sure if the switch may break something.

@jodh-intel
Copy link
Copy Markdown

@marcov - which switch do you mean - changing osbuilder to look at the runtime's versions.yaml?

/cc @jcvenegas.

@marcov
Copy link
Copy Markdown
Contributor Author

marcov commented May 16, 2019

@jodh-intel correct, it would require checking the versions.yaml file from the runtime repo instead of a local file in osbuilder. And I am not sure if having osbuilder depend on runtime repo (or on something in that repo), may pose a problem.

@jodh-intel
Copy link
Copy Markdown

I don't think it will cause problems, but then if not why did we create the separate versions.txt? Since osbuilder only needs that single file, we can probably do what the packaging repo does:

@marcov
Copy link
Copy Markdown
Contributor Author

marcov commented May 16, 2019

In effect the golang binary is downloaded using curl, so that means that both curl and network access should be available.

@bergwolf
Copy link
Copy Markdown
Member

kata-containers/runtime#1693 is merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

go >= 1.11 required for proper vsock support

6 participants