Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
comment
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
cubicweb
cubes
comment
Commits
910d4076dd06
Commit
910d4076dd06
authored
4 years ago
by
Laurent Peuch
Browse files
Options
Downloads
Patches
Plain Diff
chore(yamllint): add and integrate yamllint
parent
38f2f672e541
No related branches found
Branches containing commit
Tags
1.14.1
Tags containing commit
1 merge request
!8
chore(yamllint): add and integrate yamllint
Pipeline
#35283
passed
4 years ago
Stage: test
Changes
4
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+10
-0
10 additions, 0 deletions
.gitlab-ci.yml
.yamllint
+7
-0
7 additions, 0 deletions
.yamllint
MANIFEST.in
+1
-0
1 addition, 0 deletions
MANIFEST.in
tox.ini
+7
-1
7 additions, 1 deletion
tox.ini
with
25 additions
and
1 deletion
.gitlab-ci.yml
+
10
−
0
View file @
910d4076
...
...
@@ -11,3 +11,13 @@
artifacts
:
paths
:
-
py3-deprecated-warnings.json
yamllint
:
rules
:
-
changes
:
-
"
**/*.yaml"
-
"
*.yaml"
-
"
**/*.yml"
-
"
*.yml"
script
:
-
tox -e yamllint
This diff is collapsed.
Click to expand it.
.yamllint
0 → 100644
+
7
−
0
View file @
910d4076
extends: default
rules:
document-start: disable
line-length: disable
indentation:
spaces: 2
This diff is collapsed.
Click to expand it.
MANIFEST.in
+
1
−
0
View file @
910d4076
...
...
@@ -9,3 +9,4 @@
recursive-include debian changelog compat control copyright rules
include cubicweb-comment.spec
exclude .gitlab-ci.yml
exclude .yamllint
This diff is collapsed.
Click to expand it.
tox.ini
+
7
−
1
View file @
910d4076
[tox]
envlist
=
py27, py3, flake8
envlist
=
py27, py3, flake8
, yamllint
[testenv]
deps
=
...
...
@@ -56,3 +56,9 @@
sh
-c
"
PACKAGE_NAME
=
$(python3 setup.py --name) && VERSION=$(python3 setup.py --version) && cd dist && tar xf $PACKAGE_NAME-$VERSION.tar.gz && cd $PACKAGE_NAME-$VERSION && cp -a {toxinidir}/debian . && mk-origtargz --rename ../$PACKAGE_NAME-$VERSION.tar.gz && dpkg-buildpackage -us -uc --no-check-builddeps --build=source "
sh
-c
"cd
dist
&&
dcmd
zip
latest.zip
*.changes"
http
-f
POST
https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters
DIST
=
buster source.zip@dist/latest.zip REPO=buster PUBLISH=true
[testenv:yamllint]
skip_install
=
true
deps
=
yamllint
commands
=
yamllint
.
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