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:
Marek Chrastina 2019-02-26 08:19:36 +01:00
commit d6468223c8

View File

@ -4,30 +4,28 @@ stages:
docs: docs:
stage: test stage: test
image: davidhrbac/docker-mdcheck:latest image: it4innovations/docker-mdcheck:latest
script: script:
- mdl -r ~MD013 *.md - mdl -r ~MD013 *.md
big_files: big_files:
stage: test stage: test
image: davidhrbac/docker-mdcheck:latest image: it4innovations/docker-mdcheck:latest
script: script:
- find . -type f -not -path "*.git*" -size +10M - find . -type f -not -path "*.git*" -size +10M
- find . -type f -not -path "*.git*" -size +10M -exec false {} + - find . -type f -not -path "*.git*" -size +10M -exec false {} +
other_files: other_files:
stage: test stage: test
image: davidhrbac/docker-mdcheck:latest image: it4innovations/docker-mdcheck:latest
script: 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"
- find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh" -exec false {} + - find . -type f -not -path "*.git*" ! -name "*.eb" ! -name "*.patch*" ! -name ".git*" ! -name "LICENSE" ! -name "*.md" ! -name "*.sh" -exec false {} +
python_formatter: python_formatter:
stage: beautifier stage: beautifier
image: davidhrbac/docker-pycheck:latest image: it4innovations/docker-pycheck:latest
script: 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 - 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: only:
- master - master