Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scitas-software-stacks
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
Package registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCITAS
Software stack
scitas-software-stacks
Merge requests
!34
Correcting all the linting errors to help with future reviews
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Correcting all the linting errors to help with future reviews
linting-the-stacks
into
release/pinot-noir/rhel9.4
Overview
10
Commits
13
Pipelines
17
Changes
1
Open
Nicolas Richart
requested to merge
linting-the-stacks
into
release/pinot-noir/rhel9.4
3 months ago
Overview
5
Commits
13
Pipelines
17
Changes
1
Expand
0
0
Merge request reports
Viewing commit
12c4db36
Show latest version
1 file
+
16
−
4
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
12c4db36
Changing linter for readability
· 12c4db36
Nicolas Richart
authored
3 months ago
.gitlab-ci.yml
+
16
−
4
Options
@@ -281,19 +281,31 @@ post_cleaning:
@@ -281,19 +281,31 @@ post_cleaning:
cq:hadolint
:
cq:hadolint
:
<<
:
*code-climate
<<
:
*code-climate
script
:
script
:
-
hadolint --format codeclimate dockerfiles/**/Dockerfile | tee gl-codequality.json | jq -C .
# for gitlab
-
hadolint --format codeclimate dockerfiles/**/Dockerfile > gl-codequality.json
# for the users
-
hadolint --format tty dockerfiles/**/Dockerfile
cq:shellcheck
:
cq:shellcheck
:
<<
:
*code-climate
<<
:
*code-climate
script
:
script
:
# for gitlab
-
|
-
|
git ls-files . \
git ls-files . \
| xargs -r -n1 file \
| xargs -r -n1 file \
| awk -F: '/shell script/{print $1}' \
| awk -F: '/shell script/{print $1}' \
| xargs -r -n1 shellcheck -f json \
| xargs -r -n1 shellcheck -f json > gl-codequality.json
| tee -a gl-codequality.json | jq -C .
# for the users
-
|
git ls-files . \
| xargs -r -n1 file \
| awk -F: '/shell script/{print $1}' \
| xargs -r -n1 shellcheck -f tty
cq:yamllint
:
cq:yamllint
:
<<
:
*code-climate
<<
:
*code-climate
script
:
script
:
-
yamllint_codeclimate --standalone | tee gl-codequality.json | jq -C .
# for gitlab
-
yamllint_codeclimate --standalone > gl-codequality.json
# for the users
-
yamllint -f colored .
Loading