Skip to content
Snippets Groups Projects
Verified Commit 3c049e49 authored by Adrián Rošinec's avatar Adrián Rošinec
Browse files

Remove pipeline fixes

parent 4e5af558
No related branches found
No related tags found
1 merge request!8Git submodules
Pipeline #174388 passed
......@@ -20,50 +20,50 @@ docs:
script:
- mdl -r ~MD013,~MD010,~MD014,~MD024,~MD026,~MD029,~MD033,~MD036,~MD037,~MD046 *.md docs.it4i # BUGS
pylint:
stage: test
image: it4innovations/docker-pycheck:latest
before_script:
- source /opt/.venv3/bin/activate
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
# pylint:
# stage: test
# image: it4innovations/docker-pycheck:latest
# before_script:
# - source /opt/.venv3/bin/activate
# script:
# - pylint $(find . -name "*.py" -not -name "feslicescript.py")
capitalize:
stage: test
image: it4innovations/docker-mkdocscheck:latest
script:
- find mkdocs.yml docs.it4i/ \( -name '*.md' -o -name '*.yml' \) -print0 | xargs -0 -n1 scripts/titlemd.py --test
# 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
ext_links:
stage: after_test
image: it4innovations/docker-mdcheck:latest
allow_failure: true
after_script:
# 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
only:
- master
# capitalize:
# stage: test
# image: it4innovations/docker-mkdocscheck:latest
# script:
# - find mkdocs.yml docs/ \( -name '*.md' -o -name '*.yml' \) -print0 | xargs -0 -n1 scripts/titlemd.py --test
# ext_links:
# stage: after_test
# image: it4innovations/docker-mdcheck:latest
# allow_failure: true
# after_script:
# # 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
# only:
# - master
404s:
stage: after_test
image: it4innovations/docker-mkdocscheck:latest
before_script:
- wget -V
- echo https://${HOSTING_HOST}/review/$CI_BUILD_REF_NAME/
- wget --spider -e robots=off -o wget.log -r -p https://${HOSTING_HOST}/review/$CI_BUILD_REF_NAME/ || true
script:
- cat wget.log | awk '/^Found [0-9]+ broken link[s]?.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }'
# 404s:
# stage: after_test
# image: it4innovations/docker-mkdocscheck:latest
# before_script:
# - wget -V
# - echo https://${HOSTING_HOST}/review/$CI_BUILD_REF_NAME/
# - wget --spider -e robots=off -o wget.log -r -p https://${HOSTING_HOST}/review/$CI_BUILD_REF_NAME/ || true
# script:
# - cat wget.log | awk '/^Found [0-9]+ broken link[s]?.$/,/FINISHED/ { rc=-1; print $0 }; END { exit rc }'
# mkdocs:
# stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment