Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Telegram Team
Commits
25a130ad
Commit
25a130ad
authored
Nov 03, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
5aa68b93
Pipeline
#12033
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
25a130ad
check-docker-versions
:
stages
:
image
:
docker:24
-lint
services
:
# -test
-
docker:24-dind
# -build
variables
:
# - deploy
DOCKER_HOST
:
"
tcp://docker:2375/"
DOCKER_TLS_CERTDIR
:
"
"
variables
:
PYTHONPATH
:
"
${CI_PROJECT_DIR}"
DOCKER_DRIVER
:
overlay2
DOCKER_REGISTRY
:
"
docker.io"
before_script
:
-echo "Running pipeline for commit
:
${CI_COMMIT_SHA}"
lint
:
stage
:
lint
image
:
python:3.10
before_script
:
-
pip install --upgrade pip
-pip install flake8
script
:
script
:
-
docker --version
-
echo "Linting Python code.."
-
docker-compose --version || echo "docker-compose not installed"
-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-
echo "Done running the Python Lint stage"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment