mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-24 07:21:31 +01:00
Merge branch 'docker' into 'master'
Replace davidhrbac/docker-mdcheck with it4innovations/docker-mdcheck See merge request sccs/easyconfigs-it4i!29
This commit is contained in:
commit
d6468223c8
@ -4,30 +4,28 @@ stages:
|
||||
|
||||
docs:
|
||||
stage: test
|
||||
image: davidhrbac/docker-mdcheck:latest
|
||||
image: it4innovations/docker-mdcheck:latest
|
||||
script:
|
||||
- mdl -r ~MD013 *.md
|
||||
|
||||
big_files:
|
||||
stage: test
|
||||
image: davidhrbac/docker-mdcheck:latest
|
||||
image: it4innovations/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
|
||||
image: it4innovations/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 {} +
|
||||
|
||||
python_formatter:
|
||||
stage: beautifier
|
||||
image: davidhrbac/docker-pycheck:latest
|
||||
image: it4innovations/docker-pycheck:latest
|
||||
script:
|
||||
- which autopep8 || pip install autopep8
|
||||
- which git || apt update && apt install -y git
|
||||
- for i in `git whatchanged -4 | egrep "new|modified" | grep ".eb" | cut -d ":" -f 2 | cut -d " " -f 4`; do echo $i; autopep8 --aggressive --aggressive "$i"; done
|
||||
only:
|
||||
- master
|
||||
|
Loading…
x
Reference in New Issue
Block a user