-
Notifications
You must be signed in to change notification settings - Fork 150
Updated instructions for local deployment #1582
Conversation
List of changes: 1) Created a new script from "docker-compose_test.sh" that allows users to deploy, and later cleanup, the KeyTransparency service locally; 2) Updated the README's related section with the new script's usage; 3) Substituted the instruction `go get github.com/google/keytransparency/...` which fails due to missing (autogenerated ?) files, with the equivalent `git clone` version; 4) Fixed the key file existance check in script "docker-compose_test.sh";
| - Docker Compose 1.11.0+ `docker-compose --version` | ||
|
|
||
| ```sh | ||
| go get github.com/google/keytransparency/... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This failed with the below error message:
$ go get github.com/google/keytransparency/...
# github.com/google/keytransparency/impl/authorization/authz_go_proto
../google/keytransparency/impl/authorization/authz_go_proto/authz.pb.go:40:11: undefined: "github.com/golang/protobuf/proto".ProtoPackageIsVersion4
# github.com/google/keytransparency/core/sequencer/sequencer_go_proto
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:50:11: undefined: "github.com/golang/protobuf/proto".ProtoPackageIsVersion4
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1205:7: undefined: grpc.ClientConnInterface
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1209:11: undefined: grpc.SupportPackageIsVersion6
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1234:5: undefined: grpc.ClientConnInterface
../google/keytransparency/core/sequencer/sequencer_go_proto/sequencer_api.pb.go:1237:43: undefined: grpc.ClientConnInterfaceIt seems to be related to some autogenerated file not committed in the repo.
Codecov Report
@@ Coverage Diff @@
## master #1582 +/- ##
==========================================
- Coverage 69.66% 69.55% -0.12%
==========================================
Files 59 59
Lines 4385 4385
==========================================
- Hits 3055 3050 -5
- Misses 898 901 +3
- Partials 432 434 +2
Continue to review full report at Codecov.
|
NatalieDoduc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for making the changes and updating the README.
Let me find and add a current OWNER from keytransparency for Approval.
List of changes:
users to deploy, and later cleanup, the KeyTransparency service
locally;
go get github.com/google/keytransparency/...which fails due to missing (autogenerated ?) files, with the
equivalent
git cloneversion;Fixes #1581