From 64484cc254925eb43035a7c9d44f78c761797187 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 9 Apr 2018 20:27:26 +0200 Subject: [PATCH 1/2] Add codespell to circleci. Signed-off-by: Ben Kochie --- .circleci/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f2f3ceed..11382749 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,15 @@ jobs: - run: make - run: rm -v node_exporter + codespell: + docker: + - image: circleci/python + + steps: + - checkout + - run: sudo pip install codespell + - run: codespell --skip=".git,./vendor" + build: machine: true working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/node_exporter @@ -134,6 +143,10 @@ workflows: filters: tags: only: /.*/ + - codespell: + filters: + tags: + only: /.*/ - docker_hub_master: requires: - test From ec6421e595b12e6206ac8c75add38c0c252c3b40 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 9 Apr 2018 20:36:11 +0200 Subject: [PATCH 2/2] Skip vendor'd ttar. Signed-off-by: Ben Kochie --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 11382749..48c4cc7a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,7 +20,7 @@ jobs: steps: - checkout - run: sudo pip install codespell - - run: codespell --skip=".git,./vendor" + - run: codespell --skip=".git,./vendor,ttar" build: machine: true