[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 Guohan Lu
parent 086bf7e73b
commit a867a014ef
3 changed files with 8 additions and 2 deletions

3
.gitmodules vendored
View File

@ -69,3 +69,6 @@
[submodule "Switch-SDK-drivers"]
path = platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers
url = https://github.com/Mellanox/Switch-SDK-drivers
[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
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/dialout/dialout_client_cli

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