Skip to content

Commit

Permalink
[telemetry] add submodule for telemetry avoiding breaking in previous…
Browse files Browse the repository at this point in the history
… release (#3995)
  • Loading branch information
dzhangalibaba authored and lguohan committed Jan 9, 2020
1 parent 086bf7e commit a867a01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions src/telemetry/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/telemetry/sonic-telemetry
Submodule sonic-telemetry added at d8e5ad

0 comments on commit a867a01

Please sign in to comment.