aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorGravatar Ben Kochie <superq@gmail.com> 2020-03-26 10:00:46 +0100
committerGravatar GitHub <noreply@github.com> 2020-03-26 10:00:46 +0100
commit570bfba80eeb66498315f0a83fd665d72d20941c (patch)
tree634c5e20e5979d89fe4867382da526fa06d13d8c /.circleci
parent14ca4549818c00c31dbcc861d7b12de2929e014c (diff)
downloadcoredns-570bfba80eeb66498315f0a83fd665d72d20941c.tar.gz
coredns-570bfba80eeb66498315f0a83fd665d72d20941c.tar.zst
coredns-570bfba80eeb66498315f0a83fd665d72d20941c.zip
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>
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml9
1 files changed, 9 insertions, 0 deletions
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