From 570bfba80eeb66498315f0a83fd665d72d20941c Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Thu, 26 Mar 2020 10:00:46 +0100 Subject: Add CI test for man page updates (#3729) Run make -f Makefile.doc in CircleCI to test that man pages are updated in PRs. Signed-off-by: Ben Kochie --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 6bfb2d013..3a1761a55 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,6 +40,14 @@ buildCoreDNSImage: &buildCoreDNSImage kind load docker-image coredns jobs: + doc-test: + docker: + - image: circleci/golang:1.13 + steps: + - checkout + - run: ./fixup_file_mtime.sh + - run: make -f Makefile.doc + - run: git diff --exit-code -- man/ kubernetes-tests: <<: *integrationDefaults steps: @@ -62,4 +70,5 @@ workflows: version: 2 integration-tests: jobs: + - doc-test - kubernetes-tests -- cgit v1.2.3