use full depth for git fetch

This commit is contained in:
Robert Kaussow 2023-10-16 15:01:34 +02:00
parent 53a2adf38f
commit 1c4c12549a
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 5 additions and 5 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//-/}