Skip to content

Commit

Permalink
Change broken installation instructions to just run the binary direct…
Browse files Browse the repository at this point in the history
…ly (#2766)

The  command given didn't work. We could change this to specify the install with  as a suffic, but skipping installation and path setup seems even easier and more direct.

This fixes another case of #2763.
  • Loading branch information
mhutchinson authored Jun 24, 2022
1 parent 3d6672f commit aa39f5a
Showing 1 changed file with 2 additions and 10 deletions.
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.

0 comments on commit aa39f5a

Please sign in to comment.