Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
73c51f7f
Unverified
Commit
73c51f7f
authored
Dec 04, 2020
by
Stas Bekman
Committed by
GitHub
Dec 04, 2020
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.circleci/config.yml
.circleci/config.yml
+3
-1
No files found.
.circleci/config.yml
View file @
73c51f7f
...
@@ -14,12 +14,14 @@ commands:
...
@@ -14,12 +14,14 @@ commands:
# pipeline.git.base_revision is not always defined, so only proceed if all external vars are defined
# 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 >>)"
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
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)$'
if git diff --name-only << pipeline.git.base_revision >>...<< pipeline.git.revision >> | egrep -qv '\.(md|rst)$'
then
then
echo "Non-docs were modified in this PR, proceeding normally"
echo "Non-docs were modified in this PR, proceeding normally"
else
else
echo "Only docs were modified in this PR, quitting this job"
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
fi
else
else
echo "Can't perform skipping check w/o base_revision defined, continuing the job"
echo "Can't perform skipping check w/o base_revision defined, continuing the job"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment