Skip to content
Snippets Groups Projects
Commit 93cc8119 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

fix

parent 50709aa9
No related branches found
No related tags found
No related merge requests found
......@@ -9,17 +9,6 @@ docs:
script:
- mdl -r ~MD013,~MD033,~MD014,~MD026,~MD037,~MD036,~MD010,~MD029 *.md docs.it4i # BUGS
# nefunkcni, zbytecne, bere to i vypisy konzole
#two spaces:
# stage: test
# image: davidhrbac/docker-mdcheck:latest
# allow_failure: true
# before_script:
# - echo "== Files having more than one space betwee two characters =="
# - find docs.it4i/ -name '*.md' ! -path "docs.it4i/software*" -exec grep -nr "[[:alpha:]] [[:alpha:]]" -l {} +
# script:
# - find docs.it4i/ -name '*.md' ! -path "docs.it4i/software*" -exec grep -nr "[[:alpha:]] [[:alpha:]]" -l {} +
capitalize:
stage: test
image: davidhrbac/docker-mkdocscheck:latest
......@@ -43,16 +32,7 @@ ext_links:
# remove JSON results
- rm *.json
script:
#- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10
- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect
#- |
# COMMIT_MESSAGE=$(git log -1 --pretty=%B | grep "Merge branch 'hot_fix' into 'master'" )
# if [[ ${COMMIT_MESSAGE} == *hot_fix* ]]; then
# echo "Skipping ci build"
# exit 0
# else
# find docs.it4i/ -name '*.md' ! -name 'modules-*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect
# fi
only:
- master
......@@ -61,8 +41,6 @@ mkdocs:
image: davidhrbac/docker-mkdocscheck:latest
script:
- mkdocs -V
#- apt-get update
#- apt-get -y install git
# add version to footer
- bash scripts/add_version.sh
# get modules list from clusters
......@@ -86,15 +64,6 @@ mkdocs:
- site
expire_in: 1 week
## zbytecnost v dokumentaci
#shellcheck:
# stage: test
# image: davidhrbac/docker-shellcheck:latest
# allow_failure: true
# script:
# - which shellcheck || apt-get update && apt-get install -y shellcheck
# - find . -name *.sh -not -path "./docs.it4i/*" -not -path "./site/*" -exec shellcheck {} +
deploy to stage:
environment: stage
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment