Skip to content

Commit

Permalink
chore(make): specify gnmi target version
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Nov 12, 2024
1 parent f956b42 commit fa474e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PROJECT_ROOT ?= gnmi/proto
PROTO_PACKAGE ?= github.com/openconfig/gnmi/proto
PROTOS ?= gnmi_ext/gnmi_ext gnmi/gnmi collector/collector \
target/target
GNMI_TARGET_VERSION ?= latest

include Makefile.in

Expand All @@ -11,7 +12,7 @@ include Makefile.in
tests/integration/deps:
$(call command_check,go)
@{ type gnmi_target > /dev/null 2>&1 \
|| go install -v github.com/google/gnxi/gnmi_target; \
|| go install -v github.com/google/gnxi/gnmi_target@$(GNMI_TARGET_VERSION); \
}

### tests
Expand Down

0 comments on commit fa474e8

Please sign in to comment.