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 <superq@gmail.com>
This commit is contained in:
Ben Kochie
2020-03-26 10:00:46 +01:00
committed by GitHub
parent 14ca454981
commit 570bfba80e
3 changed files with 47 additions and 8 deletions

View File

@@ -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