Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmtime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Show more breadcrumbs
icon-libraries
libmtime
Commits
5fdcc71f
Commit
5fdcc71f
authored
1 month ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
ci: homogenize job messages
parent
39b62d16
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!82
CI: generate style artifact
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
5fdcc71f
...
...
@@ -85,8 +85,6 @@ Check style:
-
|
# pre-commit run --all-files
pre-commit run --color=always --all-files || {
printf "${RED}The source code does not meet the style requirements:\n
${CI_PROJECT_URL}/-/blob/${CI_DEFAULT_BRANCH}/CONTRIBUTING.md#coding-style.\n${DEFAULT}"
git diff --ignore-submodules --patch-with-raw > "${STYLE_PATCH}"
test -s "${STYLE_PATCH}" && {
printf "${RED}At least some of the issues can be resolved with the patch (see artifacts):\n
...
...
@@ -95,6 +93,8 @@ Check style:
printf "${RED}The issues cannot be resolved with a patch.\n${DEFAULT}"
rm -rf "${STYLE_PATCH}"
}
printf "${RED}You can reproduce this check locally with \`pre-commit run --all-files\`.
See also ${CI_PROJECT_URL}/-/blob/${CI_DEFAULT_BRANCH}/CONTRIBUTING.md#coding-style.\n${DEFAULT}"
exit 1
}
artifacts
:
...
...
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