Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit 6b66931

Browse files
authored
Merge pull request #1454 from mikebrow/project-dco-integration-for-make
use project dco test locally
2 parents a45f57b + 0049d4f commit 6b66931

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Makefile

+5-8
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ifeq ($(GOOS),windows)
2121
WHALE = "+"
2222
ONI = "-"
2323
endif
24-
EPOCH_TEST_COMMIT := f9e02affccd51702191e5312665a16045ffef8ab
24+
EPOCH_TEST_COMMIT := 67de3e4ccf2b2a69b8398798af7cfca01abf7a7e
2525
PROJECT := github.com/containerd/cri
2626
BINDIR := ${DESTDIR}/usr/local/bin
2727
BUILD_DIR := _output
@@ -175,15 +175,12 @@ endif
175175
@./hack/install/windows/install-deps.sh
176176

177177
.PHONY: .gitvalidation
178-
# When this is running in travis, it will only check the travis commit range.
179-
# When running outside travis, it will check from $(EPOCH_TEST_COMMIT)..HEAD.
178+
# make .gitvalidation is only used localy for manual testing
179+
# requires a clone of github.com/containerd/project
180+
# containerd/project DCO validation runs automatically with github actions in ci.yml for each pull
180181
.gitvalidation:
181182
@echo "$(WHALE) $@"
182-
ifeq ($(TRAVIS),true)
183-
git-validation -q -run DCO,short-subject
184-
else
185-
git-validation -v -run DCO,short-subject -range $(EPOCH_TEST_COMMIT)..HEAD
186-
endif
183+
DCO_VERBOSITY=-v DCO_RANGE=$(EPOCH_TEST_COMMIT)..HEAD ../project/script/validate/dco
187184

188185
.PHONY: install.tools .install.gitvalidation .install.golangci-lint .install.vndr
189186

0 commit comments

Comments
 (0)