Skip to content

Commit

Permalink
tetragon-metrics-docs: use a dummy version
Browse files Browse the repository at this point in the history
Use a dummy version so that we don't include the SHA in the version
string. Otherwise, the CI check will not pass (well, unless we find a
proper sha collision).

Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Oct 23, 2024
1 parent 2228f92 commit 5394da8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ endif

GO_BUILD = CGO_ENABLED=0 GOARCH=$(GOARCH) $(GO) build $(GO_BUILD_FLAGS)
GO_BUILD_HOOK = CGO_ENABLED=0 GOARCH=$(GOARCH) $(GO) -C contrib/tetragon-rthooks build $(GO_BUILD_FLAGS)
GO_BUILD_NOVERSION = $(GO_BUILD) -ldflags "-X 'github.com/cilium/tetragon/pkg/version.Version=v1.2.0'"


.PHONY: all
all: tetragon-bpf tetragon tetra generate-flags test-compile tester-progs protoc-gen-go-tetragon tetragon-bench
Expand Down Expand Up @@ -435,7 +437,7 @@ METRICS_DOCS_PATH := docs/content/en/docs/reference/metrics.md

.PHONY: tetragon-metrics-docs
tetragon-metrics-docs:
$(GO_BUILD) ./cmd/tetragon-metrics-docs/
$(GO_BUILD_NOVERSION) ./cmd/tetragon-metrics-docs/

.PHONY: metrics-docs
metrics-docs: tetragon-metrics-docs ## Generate metrics reference documentation page.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs/reference/metrics.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5394da8

Please sign in to comment.