Skip to content
Snippets Groups Projects
Commit 1468a3f6 authored by David Hrbáč's avatar David Hrbáč
Browse files

Disable CI external links check on hot_fix merge

parent 92081af8
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!112Hot fix
Pipeline #
......@@ -37,14 +37,23 @@ spell check:
ext_links:
stage: test
image: davidhrbac/docker-mdcheck:latest
amagg: davidhrbac/docker-mdcheck:latest
allow_failure: true
after_script:
- 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
- find docs.it4i/ -name '*.md' ! -name 'modules-*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect
- >
# get commit message
COMMIT_MESSAGE=$(git log -1 --pretty=%B | grep "Merge branch 'hot_fix' into 'master'" )
# see if commit message contains "[skip ci]" string
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
......
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