use full depth for git fetch

This commit is contained in:
Robert Kaussow 2023-10-16 15:01:32 +02:00
parent 5bcd768fb0
commit 81d2c09c49
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ steps:
build:
image: docker.io/library/python:3.12
commands:
- git fetch -tq
- git fetch --depth=2147483647
- pip install poetry poetry-dynamic-versioning -qq
- poetry build

View File

@ -9,7 +9,7 @@ steps:
build:
image: docker.io/library/python:3.12
commands:
- git fetch -tq
- git fetch --depth=2147483647
- pip install poetry poetry-dynamic-versioning -qq
- poetry build
@ -48,7 +48,7 @@ steps:
- source: pypi_username
target: POETRY_HTTP_BASIC_PYPI_USERNAME
commands:
- git fetch -tq
- git fetch --depth=2147483647
- pip install poetry poetry-dynamic-versioning -qq
- poetry publish -n
when:

View File

@ -9,7 +9,7 @@ steps:
check-format:
image: docker.io/library/python:3.12
commands:
- git fetch -tq
- git fetch --depth=2147483647
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run yapf -dr ./${CI_REPO_NAME//-/}
@ -19,7 +19,7 @@ steps:
check-coding:
image: docker.io/library/python:3.12
commands:
- git fetch -tq
- git fetch --depth=2147483647
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run ruff ./${CI_REPO_NAME//-/}

View File

@ -17,7 +17,7 @@ steps:
fetch:
image: docker.io/library/python:3.12
commands:
- git fetch -tq
- git fetch --depth=2147483647
pytest:
image: ${PYTHON_VERSION}