[telemetry] add submodule for telemetry avoiding breaking in previous release (#3995)

This commit is contained in:
Dong Zhang 2020-01-09 09:24:45 -08:00 committed by lguohan
parent 0eab6a4c25
commit 29ddee53d5
3 changed files with 8 additions and 2 deletions

3
.gitmodules vendored
View File

@ -67,3 +67,6 @@
[submodule "src/redis-dump-load"] [submodule "src/redis-dump-load"]
path = src/redis-dump-load path = src/redis-dump-load
url = https://github.com/p/redis-dump-load.git url = https://github.com/p/redis-dump-load.git
[submodule "src/telemetry/sonic-telemetry"]
path = src/telemetry/sonic-telemetry
url = https://github.com/Azure/sonic-telemetry.git

View File

@ -2,9 +2,11 @@ export GOPATH=/tmp/go
INSTALL := /usr/bin/install INSTALL := /usr/bin/install
all: sonic-telemetry all: telemetry
sonic-telemetry: telemetry:
mkdir -p ${GOPATH}/src/github.com/Azure/
cp -a sonic-telemetry ${GOPATH}/src/github.com/Azure/
/usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/telemetry /usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/telemetry
/usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/dialout/dialout_client_cli /usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/dialout/dialout_client_cli

@ -0,0 +1 @@
Subproject commit d8e5adf8cb9f810624f61daf6d343dfe8b3fa4b0