Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Automation Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Automation Platform
Commits
8987e8b9
Verified
Commit
8987e8b9
authored
2 years ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
Make Vale warnings fail the pipeline
Signed-off-by:
Karel van Klink
<
karel.vanklink@geant.org
>
parent
5a288486
No related branches found
No related tags found
2 merge requests
!6
[2023-07-14] publish docs
,
!1
Convert docs from rsx to markdown
Pipeline
#79189
failed
2 years ago
Stage: documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/.gitlab-ci.yml
+3
-1
3 additions, 1 deletion
docs/.gitlab-ci.yml
with
3 additions
and
1 deletion
docs/.gitlab-ci.yml
+
3
−
1
View file @
8987e8b9
...
...
@@ -39,4 +39,6 @@ lint-documentation:
-
vale sync
script
:
-
vale $CI_PROJECT_DIR/docs/build/html/_sources
-
RESULT=$(vale $CI_PROJECT_DIR/docs/build/html/_sources)
-
echo "$RESULT"
-
if echo "$RESULT" | tail -n 1 | grep -q "✖" ; then echo "Please fix all Vale errors and warnings" && exit 1 ; else exit 0 ; fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment