mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
30 lines
897 B
YAML
30 lines
897 B
YAML
stages:
|
|
- test
|
|
|
|
docs:
|
|
stage: test
|
|
image: davidhrbac/docker-mdcheck:latest
|
|
script:
|
|
- mdl -r ~MD013 *.md
|
|
|
|
big_files:
|
|
stage: test
|
|
image: davidhrbac/docker-mdcheck:latest
|
|
script:
|
|
- find . -type f -not -path "*.git*" -size +10M
|
|
- find . -type f -not -path "*.git*" -size +10M -exec false {} +
|
|
|
|
other_files:
|
|
stage: test
|
|
image: davidhrbac/docker-mdcheck:latest
|
|
script:
|
|
- find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh"
|
|
- find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh" -exec false {} +
|
|
|
|
shellcheck:
|
|
stage: test
|
|
image: davidhrbac/docker-shellcheck:latest
|
|
script:
|
|
- which shellcheck || apt-get update && apt-get install -y shellcheck
|
|
- find . -name *.sh -not -path "*.git*" -exec shellcheck {} +
|