Skip to content
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
Remove broken installation instructions and run binary directly
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 committed Jun 24, 2022
commit 24c26d5b5ea21d998510ac4dd062f93e08643241
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.