commit | f105c10ad9750a0e894238d41ee4a5e47dec3cec | [log] [tgz] |
---|---|---|
author | ukode <ukode@google.com> | Fri Sep 30 10:29:28 2016 -0700 |
committer | Sean Klein <smklein@google.com> | Thu Nov 03 15:26:48 2016 -0700 |
tree | 263a9996d65374b9ecc5138d14683d2249183290 | |
parent | 40d3fc9eafe6d7bb0a278226a024a8afe5488bac [diff] |
Initial skeleton code for Shuffler receiver service with an end to end local test added for grpc testing. The proto added is an initial version and will get updated once the proto syntax on encoder side is finalized. On the build infrastructure for shuffler, grpc and protobuf3 compilers are required along with their corresponding golang plugins. Grpc and protobuf3 dependencies are already added through setup.sh script, and the corresponding go plugins are checked in to the thirdparty/go folder as part of this cl. Also added the submodule initialization for protobuf GO and grpc-go. Change-Id: If067cf0d909fdf6d7c0b9e966ec74ea94d35f4da
An extensible, privacy-preserving, user-data analysis pipeline.
Prerequisites
One-time setup:
git submodule init
git submodule update
The script cobaltb.py orchestrates building and testing Cobalt.
cobaltb.py build
cobaltb.py test
cobaltb.py -h
for helpSee the prototype subdirectory for the Cobalt prototype demo
Troubleshooting:
The cobaltb.py tool is also a helper to interact with GCE. The following commands are supported:
gce_build - Build the docker images for use on GCE.
gce_push - Publish the built docker images to the GCE repository.
gce_start - Start the cobalt components. To see the external IP of services run, for example: kubectl get service analyzer
gce_stop - Stops the cobalt components.
sudo apt-get install docker-engine
sudo usermod -aG docker
Install gcloud: https://cloud.google.com/sdk/
gcloud init
gcloud components install kubectl
Tasks like gce_start, gce_stop or running the Analyzer outside of GCE require setting the environment variable GOOGLE_APPLICATION_CREDENTIALS to point to the JSON file containing credentials. Follow the instructions of step “1.” of “How the Application Default Credentials work” from:
https://developers.google.com/identity/protocols/application-default-credentials