mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-14 18:44:53 +01:00
Merge branch 'main' of gitlab.sectorq.eu:jaydee/portainer
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- lint
|
||||
- build
|
||||
- clean
|
||||
|
||||
lint:
|
||||
stage: lint
|
||||
image: python:3.12
|
||||
before_script:
|
||||
- python3 -m pip install --user flake8 black pylint
|
||||
- export PATH="$PATH:/home/gitlab-runner/.local/bin"
|
||||
# - echo "PATH is now: $PATH"
|
||||
script:
|
||||
- flake8 .
|
||||
- black --check .
|
||||
- pylint portainer.py
|
||||
|
||||
build-job: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user