Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Ci Files
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
digicon-webxr-store
Ci Files
Commits
e49e11eb
Commit
e49e11eb
authored
4 years ago
by
Saralegui Vallejo, Unai
Browse files
Options
Downloads
Patches
Plain Diff
add pylint badges description
parent
f710af1c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python-packages/README.md
+25
-5
25 additions, 5 deletions
python-packages/README.md
with
25 additions
and
5 deletions
python-packages/README.md
+
25
−
5
View file @
e49e11eb
...
@@ -4,17 +4,20 @@ You can include the jobs in this repository's YAML files as follows:
...
@@ -4,17 +4,20 @@ You can include the jobs in this repository's YAML files as follows:
```
yml
```
yml
include
:
include
:
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/virtualenv.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/base.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/pylint.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/install_dependencies.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/test.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/test.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/pages.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/pages.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/artifactory.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/artifactory.yml
```
You can include the execution order in yout .gitlab-ci.yml file as follows
:
You can include the execution order in yout .gitlab-ci.yml file as follows
:
```
yml
```
yml
stages:
stages:
-
virtualenv
-
base
-
code_analysis
-
install_dependencies
-
test
-
test
-
deploy # pages and artifactory upload
-
deploy # pages and artifactory upload
```
```
...
@@ -25,14 +28,31 @@ An example of a valid .gitlab-ci.yml can be:
...
@@ -25,14 +28,31 @@ An example of a valid .gitlab-ci.yml can be:
```
yml
```
yml
include:
include:
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/virtualenv.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/base.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/pylint.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/install_dependencies.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/test.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/test.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/pages.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/pages.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/artifactory.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/python-packages/artifactory.yml
stages:
stages:
-
virtualenv
-
base
-
code_analysis
-
install_dependencies
-
test
-
test
-
deploy
-
deploy
variables:
MODULE_FOLDER: "folder_name" # name of the folder with the python module that will be checked by code_analysis:pylint job
```
```
## Gitlab badges
The [code_analysis:pylint](pylint.yml) job included in this repository checks the code and generates the log and the badge with the overall score
that can be added to the gitlab repository.
For doing so go to Settings > General > Badges and add a new badge with the following values:
Link: https://git.code.tecnalia.com/%{project_path}/-/jobs/artifacts/%{default_branch}/raw/pylint/pylint.log?job=pylint
Badge image URL: https://git.code.tecnalia.com/%{project_path}/-/jobs/artifacts/%{default_branch}/raw/pylint/pylint.svg?job=pylint
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