Skip to content

Installation page for etcd / etcdctl (update from dl-build)#288

Closed
nate-double-u wants to merge 1 commit intomainfrom
276-installation
Closed

Installation page for etcd / etcdctl (update from dl-build)#288
nate-double-u wants to merge 1 commit intomainfrom
276-installation

Conversation

@nate-double-u
Copy link
Copy Markdown
Contributor

@nate-double-u nate-double-u commented May 18, 2021

#267, #278 (comment)

Note, merge #278 first.

First pass at refactoring dl-build into an installation page.

Currently, the only relevant file is content/en/docs/next/install.md

Deploy preview: https://deploy-preview-288--etcd.netlify.app/docs/next/install/

@nate-double-u nate-double-u added this to the 21Q2-site-reorg milestone May 18, 2021
Comment on lines +48 to +51
```sh
$ go get -v go.etcd.io/etcd/v3
$ go get -v go.etcd.io/etcd/v3/etcdctl
```
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.

@spzala, @ptabor, are these still the correct instructions for the most recent version of go?

I've setup go with a GOPATH, and when I do the go get only the ~/go/pkg directory is created.

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.

this is currently what is on the site:

# GOPATH should be set
$ echo $GOPATH
/Users/example/go
$ go get -v go.etcd.io/etcd
$ go get -v go.etcd.io/etcd/etcdctl

But this doesn't generate the bin folder either.

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.

some env info:

➜  ~ go version
go version go1.16.4 linux/amd64
➜  ~ echo $GOPATH
/home/natew-cncf/go
➜  ~ ls ~/go
pkg

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ptabor Should we add etcdutil as well? (newly introduced in 3.5)

@nate-double-u nate-double-u mentioned this pull request May 18, 2021
42 tasks
@nate-double-u nate-double-u force-pushed the 276-installation branch 2 times, most recently from e0c9083 to 4681dc9 Compare May 18, 2021 17:15
Copy link
Copy Markdown
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

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

  1. AFAICT the changes that you're proposing here to the dl-build.md page (which you've renamed to install.md) don't depend on the Quickstart PR. If so, could you resubmit this PR w/o the Quickstart additions/changes?
  2. Also, if you're reworking dl-build.md, it'll be easier to review if (1) you make the updates to dl-build.md, and once those are approved, (2) rename the file and add redirect rule(s)
  3. You'll want to rebase following #274 (or simply pickup the changes).

@nate-double-u
Copy link
Copy Markdown
Contributor Author

1. AFAICT the changes that you're proposing here to the `dl-build.md` page (which you've renamed to `install.md`) don't depend on the Quickstart PR. If so, could you resubmit this PR w/o the Quickstart additions/changes?

There's a link I had initially planned to make to the new quickstart page, but I agree, this should be rebased onto main.

2. Also, if you're reworking `dl-build.md`, it'll be easier to review if (1) you make the updates to `dl-build.md`, and once those are approved, (2) rename the file and add redirect rule(s)

Good suggestion

3. You'll want to rebase following #274 (or simply pickup the changes).

Thanks for the feedback, I agree with all this. I opened this PR earlier than I normally would (and as a draft) because I was a little blocked with the Go environment issues. I'll see about cleaning it up.

@nate-double-u nate-double-u force-pushed the 276-installation branch 3 times, most recently from 08c93e5 to 5213ff0 Compare May 18, 2021 23:39
@nate-double-u
Copy link
Copy Markdown
Contributor Author

Updated as per @chalin's suggestions.

Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
@chalin
Copy link
Copy Markdown
Contributor

chalin commented May 20, 2021

All: please see #294 for a suggested rework of the docs/next download page -- i.e., as an alternative to this PR.

@nate-double-u
Copy link
Copy Markdown
Contributor Author

Closing in favour of #294

@nate-double-u nate-double-u deleted the 276-installation branch May 20, 2021 21:25
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