mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-15 19:14:52 +01:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,7 +1,17 @@
|
|||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
|
- lint
|
||||||
- build
|
- build
|
||||||
- clean
|
- clean
|
||||||
|
|
||||||
|
lint:
|
||||||
|
stage: lint
|
||||||
|
image: python:3.12
|
||||||
|
script:
|
||||||
|
- pip install flake8 black pylint
|
||||||
|
- flake8 .
|
||||||
|
- black --check .
|
||||||
|
- pylint portainer.py
|
||||||
|
|
||||||
build-job: # This job runs in the build stage, which runs first.
|
build-job: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user