From 8d8194dea86f70e84c4626b50c2a3fd7059d38ad Mon Sep 17 00:00:00 2001 From: fengzixu Date: Fri, 6 Dec 2019 15:49:56 +0900 Subject: [PATCH] feature: add the yamllint tool to check yaml files Signed-off-by: fengzixu --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 44a7fbfd0..3f192f863 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: docker: # this image is built from Dockerfile # https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile - - image: pouchcontainer/pouchlinter:v0.2.4 + - image: pouchcontainer/pouchlinter:v0.2.6 working_directory: /go/src/github.com/dragonflyoss/Dragonfly steps: - checkout @@ -37,6 +37,10 @@ jobs: name: use opensource tool client9/misspell to correct commonly misspelled English words command: | find ./* -name "*" | xargs misspell -error + - run: + name: use yamllint tool to check the format of all yaml files + command: | + find ./* -name "*" | xargs yamllint -f colored - run: name: use ShellCheck (https://github.com/koalaman/shellcheck) to check the validateness of shell scripts in pouch repo command: |