Skip to content

Commit

Permalink
feat(ci): added yamllint check (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff authored Jun 8, 2020
1 parent a916b18 commit 2542402
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- checkout
- run: docker-compose -f docker/docker-compose.yml -f docker/docker-compose.dev.yml build --no-cache oms-events
lint:
eslint:
machine:
image: ubuntu-1604:201903-01
steps:
Expand All @@ -50,6 +50,13 @@ jobs:
path: ~/reports
- store_artifacts:
path: ~/reports
yamllint:
machine:
image: ubuntu-1604:201903-01
steps:
- checkout
- run: pip install yamllint
- run: yamllint -d .yamllint.yml .
docker-build-and-push:
machine:
image: ubuntu-1604:201903-01
Expand Down Expand Up @@ -77,9 +84,12 @@ workflows:
test:
jobs:
- test
lint:
eslint:
jobs:
- eslint
yamllint:
jobs:
- lint
- yamllint
build:
jobs:
- build:
Expand Down
12 changes: 12 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Disabling some rules for yamllint

extends: default

ignore: |
**/node_modules/**
rules:
document-start: disable
line-length: disable
truthy: disable
comments-indentation: disable

0 comments on commit 2542402

Please sign in to comment.