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: build:
image: docker.io/library/python:3.12 image: docker.io/library/python:3.12
commands: commands:
- git fetch -tq - git fetch --depth=2147483647
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
- poetry build - poetry build

View File

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

View File

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

View File

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