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

Change broken installation instructions to just run the binary directly #2766

Merged
merged 1 commit into from
Jun 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions docs/howto/freeze_a_ct_log.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ config {

### Setup Environment

Build the `updatetree` command if this hasn't already been done and ensure
that it is on your `PATH`.

```
go install github.com/google/trillian/cmd/updatetree
export PATH=${GOPATH}/bin:$PATH
```

Set environment variables to the correct log_id and metrics HTTP endpoint.
For example:

Expand All @@ -65,7 +57,7 @@ METRICS_URI=http://signer-1:8091/metrics

Use `updatetree` to set the log tree to a `DRAINING` state.

`updatetree --admin_server=${LOG_SERVER_RPC} --tree_id=${LOG_ID} --tree_state=DRAINING`
`go run github.com/google/trillian/cmd/updatetree@latest --admin_server=${LOG_SERVER_RPC} --tree_id=${LOG_ID} --tree_state=DRAINING`

Make sure the above command succeeds. At this point the log will not
accept new entries but there may be some that have already been
Expand Down Expand Up @@ -147,6 +139,6 @@ exceeding its MMD.

Use `updatetree` to set the log tree to a `FROZEN` state.

`updatetree --admin_server=${LOG_SERVER_RPC} --tree_id=${LOG_ID} --tree_state=FROZEN`
`go run github.com/google/trillian/cmd/updatetree@latest --admin_server=${LOG_SERVER_RPC} --tree_id=${LOG_ID} --tree_state=FROZEN`

Make sure the above command succeeds. The log is now frozen.