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
8a8f557b
Commit
8a8f557b
authored
Nov 08, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
596848e4
Pipeline
#12125
passed with stages
in 31 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8a8f557b
...
@@ -17,6 +17,9 @@ variables:
...
@@ -17,6 +17,9 @@ variables:
DOCKER_BUILDKIT
:
"
1"
DOCKER_BUILDKIT
:
"
1"
DOCKERHUB_REPO
:
"
$DOCKER_USERNAME/teledatastream"
# set repo name
DOCKERHUB_REPO
:
"
$DOCKER_USERNAME/teledatastream"
# set repo name
PREVIOUS_BUILD_TAG
:
"
8fc5fa08"
PREVIOUS_BUILD_TAG
:
"
8fc5fa08"
PIP_CACHE_DIR
:
"
.cache/pip"
DOCKER_BUILDKIT
:
1
DOCKER_CLI_EXPERIMENTAL
:
enabled
.build_template
:
.build_template
:
...
@@ -33,7 +36,7 @@ lint:
...
@@ -33,7 +36,7 @@ lint:
cache
:
cache
:
key
:
"
pip-cache-${CI_COMMIT_REF_SLUG}"
key
:
"
pip-cache-${CI_COMMIT_REF_SLUG}"
paths
:
paths
:
-
.cache/pip
-
$PIP_CACHE_DIR
before_script
:
before_script
:
-
mkdir -p .cache/pip
-
mkdir -p .cache/pip
-
pip install --cache-dir=.cache/pip flake8
-
pip install --cache-dir=.cache/pip flake8
...
@@ -45,3 +48,36 @@ lint:
...
@@ -45,3 +48,36 @@ lint:
rules
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_COMMIT_BRANCH
-
if
:
$CI_COMMIT_BRANCH
test
:
stage
:
test
image
:
python:3.10
extends
:
.build_template
cache
:
key
:
"
pip-cache-${CI_COMMIT_REF_SLUG}"
paths
:
-
$PIP_CACHE_DIR
before_script
:
-
mkdir -p $PIP_CACHE_DIR
-
pip install --cache-dir=$PIP_CACHE_DIR pytest
-
echo "Running Tests"
-
echo "PYTHONPATH:" ${PYTHONPATH}
-
echo "PWD=$(pwd)"
script
:
-
echo "Running PyTests"
after_script
:
-
echo "Tests completed succesfully"
diag
:
stage
:
diag
image
:
docker:24.0.9
tags
:
[
"
windows"
,
"
docker"
,
"
ws12"
]
script
:
-
echo "Check socket:"
-
ls -l /var/run ||
true
-
stat /var/run/docker.sock ||
true
-
echo "Docker info:"
-
docker version ||
true
-
docker info ||
true
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