Skip to content

Commit 0beb669

Browse files
committed
Makefile: Remove references to the internal ART team
Remove the need to check if `SOURCE_GIT_COMMIT` exists, and instead rely on the output of `git rev-parse HEAD`. Signed-off-by: timflannagan <[email protected]>
1 parent 110cd60 commit 0beb669

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@ export KUBEBUILDER_ASSETS
2828
GO := GO111MODULE=on GOFLAGS="$(MOD_FLAGS)" go
2929
GINKGO := $(GO) run github.com/onsi/ginkgo/ginkgo
3030
BINDATA := $(GO) run github.com/go-bindata/go-bindata/v3/go-bindata
31-
32-
# ART builds are performed in dist-git, with content (but not commits) copied
33-
# from the source repo. Thus at build time if your code is inspecting the local
34-
# git repo it is getting unrelated commits and tags from the dist-git repo,
35-
# not the source repo.
36-
# For ART image builds, SOURCE_GIT_COMMIT, SOURCE_GIT_TAG, SOURCE_DATE_EPOCH
37-
# variables are inserted in Dockerfile to enable recovering the original git
38-
# metadata at build time.
39-
GIT_COMMIT := $(if $(SOURCE_GIT_COMMIT),$(SOURCE_GIT_COMMIT),$(shell git rev-parse HEAD))
31+
GIT_COMMIT := $(shell git rev-parse HEAD))
4032

4133
.PHONY: build test run clean vendor schema-check \
4234
vendor-update coverage coverage-html e2e \

0 commit comments

Comments
 (0)