Skip to content

Commit

Permalink
fix: Relax the cytopia/yamllint test for user-defined images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmd committed Dec 8, 2020
1 parent 21acc69 commit 15b0362
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ lint-template:
image:
name: cytopia/yamllint
entrypoint: ["/bin/ash", "-c"]
script:
- yamllint -f colored gitlab-ci-template.yml
script: |
yamllint -f colored -d '{extends: default, rules: {line-length: {level: warning}}}' gitlab-ci-template.yml
test-python:
stage: test
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.16
0.8.17
7 changes: 4 additions & 3 deletions gitlab-ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ stages:
image:
name: cytopia/yamllint
entrypoint: ["/bin/ash", "-c"]
script:
- echo "$FILENAME"
- yamllint -f colored "$FILENAME"
# cf. https://yamllint.readthedocs.io/en/stable/configuration.html
script: |
echo "$FILENAME"
yamllint -f colored -d '{extends: default, rules: {line-length: {level: warning}}}' "$FILENAME"
.python:
dependencies: [] # optional
Expand Down

0 comments on commit 15b0362

Please sign in to comment.