From 93cc8119b25da9c0da159b6ddd3365f7f1f44512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= <lukas.krupcik@vsb.cz> Date: Wed, 27 Jun 2018 08:12:18 +0200 Subject: [PATCH] fix --- .gitlab-ci.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de9f8999..4516e444 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- GitLab