Add build number to container name per Artem's request.

This commit is contained in:
Vladimir Domnich 2022-07-15 09:53:07 +04:00
parent 5a4ea4daad
commit dbf679bfbc
2 changed files with 3 additions and 2 deletions

View file

@ -116,11 +116,11 @@ setup-for-sbercloud:
.PHONY: pytest-docker .PHONY: pytest-docker
pytest-docker: pytest-docker:
-docker ps -docker ps
-docker rm neofs_tests_py -docker rm neofs_tests_py$(BUILD_NUMBER)
-docker pull $(DEV_IMAGE_PY) -docker pull $(DEV_IMAGE_PY)
docker run -t --rm \ docker run -t --rm \
-w /tests \ -w /tests \
--name neofs_tests_py \ --name neofs_tests_py$(BUILD_NUMBER) \
-e PYTHONPATH="/tests/neofs-keywords/lib:/tests/neofs-keywords/robot:/tests/robot/resources/lib:/tests/robot/resources/lib/python_keywords:/tests/robot/variables:/tests/pytest_tests/helpers" \ -e PYTHONPATH="/tests/neofs-keywords/lib:/tests/neofs-keywords/robot:/tests/robot/resources/lib:/tests/robot/resources/lib/python_keywords:/tests/robot/variables:/tests/pytest_tests/helpers" \
-v $(CURDIR):/tests \ -v $(CURDIR):/tests \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \

View file

@ -10,6 +10,7 @@ markers =
sanity: small tests subset sanity: small tests subset
staging: test to be excluded from run in verifier/pr-validation/sanity jobs and run test in staging job staging: test to be excluded from run in verifier/pr-validation/sanity jobs and run test in staging job
# functional markers # functional markers
container: tests for container creation
grpc_api: standard gRPC API tests grpc_api: standard gRPC API tests
http_gate: HTTP gate contract http_gate: HTTP gate contract
s3_gate: S3 gate tests s3_gate: S3 gate tests