"deploy/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "ea52f47a9549857c5284f9af905ef3c35714dc6b"
Unverified Commit 73c51f7f authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

[ci] skip doc jobs - circleCI is not reliable - disable skip for now (#8926)

* disable skipping, but leave logging for the future
parent 71688a88
......@@ -14,12 +14,14 @@ commands:
# pipeline.git.base_revision is not always defined, so only proceed if all external vars are defined
if test -n "<< pipeline.git.base_revision >>" && test -n "<< pipeline.git.revision >>" && test -n "$(git diff --name-only << pipeline.git.base_revision >>...<< pipeline.git.revision >>)"
then
git diff --name-only << pipeline.git.base_revision >>...<< pipeline.git.revision >>
if git diff --name-only << pipeline.git.base_revision >>...<< pipeline.git.revision >> | egrep -qv '\.(md|rst)$'
then
echo "Non-docs were modified in this PR, proceeding normally"
else
echo "Only docs were modified in this PR, quitting this job"
circleci step halt
# disable skipping for now, as circleCI's base_revision is inconsistent leading to invalid ranges
# circleci step halt
fi
else
echo "Can't perform skipping check w/o base_revision defined, continuing the job"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment