Skip to content

Update BUILDING.md after moving to Go modules and various other small docs update#4866

Merged
estesp merged 5 commits intocontainerd:masterfrom
zhsj:doc-fix
Dec 23, 2020
Merged

Update BUILDING.md after moving to Go modules and various other small docs update#4866
estesp merged 5 commits intocontainerd:masterfrom
zhsj:doc-fix

Conversation

@zhsj
Copy link
Copy Markdown
Contributor

@zhsj zhsj commented Dec 20, 2020

No description provided.

@k8s-ci-robot
Copy link
Copy Markdown

Hi @zhsj. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Dec 20, 2020

Build succeeded.

Copy link
Copy Markdown
Contributor

@Zyqsempai Zyqsempai left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread BUILDING.md Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

GOPATH is removed intentionally. For newcomers of Go, they don't need to be aware of GOPATH. So the runc source is cloned via git, not go get.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Needs docker volume create somewhere, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Missing the absolute path... I was thinking about passing the source dir cloned in previous step.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed.

Comment thread BUILDING.md Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why remove this part?

Copy link
Copy Markdown
Contributor Author

@zhsj zhsj Dec 21, 2020

Choose a reason for hiding this comment

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

Using go get to install things is confused. It will accidentally touch your go.mod. After go1.16, it will be improved, but the command is not right then, it needs to be go install github.com/opencontainers/runc@version.

So currently keeping the old things from GOPATH doesn't feel beneficial.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Dec 22, 2020

Build succeeded.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 178e9a1 into containerd:master Dec 23, 2020
@zhsj zhsj deleted the doc-fix branch December 23, 2020 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants