diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 724361383541e1117f1d98bda58d7563b6ffcd34..3a8a4f8d78cc6733d9af5f4f9a3885f6b7b6ef1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ docs: image: it4innovations/docker-mdcheck:latest allow_failure: true script: - - mdl -r ~MD007,~MD013,~MD010,~MD014,~MD024,~MD026,~MD029,~MD033,~MD036,~MD037,~MD046 *.md docs.it4i # BUGS + - mdl -r ~MD007,~MD013,~MD010,~MD014,~MD024,~MD026,~MD029,~MD033,~MD036,~MD037,~MD046 *.mdx content/docs pylint: stage: test @@ -22,15 +22,6 @@ pylint: script: - pylint $(find . -name "*.py" -not -name "feslicescript.py") -#pysafety: -# stage: test -# image: it4innovations/docker-pycheck:latest -# allow_failure: true -# before_script: -# - source /opt/.venv3/bin/activate -# script: -# - cat requirements.txt | safety check --stdin --full-report - capitalize: stage: test image: it4innovations/docker-mkdocscheck:latest @@ -40,7 +31,7 @@ capitalize: - python -V # debug - pip list | grep titlecase script: - - find mkdocs.yml docs.it4i/ \( -name '*.md' -o -name '*.yml' \) -print0 | xargs -0 -n1 scripts/titlemd.py --test + - find content/docs/ \( -name '*.mdx' -o -name '*.yml' \) -print0 | xargs -0 -n1 scripts/titlemd.py --test ext_links: stage: after_test @@ -50,7 +41,7 @@ ext_links: # remove JSON results - rm *.json script: - - find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect + - find content/docs -name '*.mdx' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect only: - master