mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-16 06:30:39 +00:00
use full depth for git fetch
This commit is contained in:
parent
53a2adf38f
commit
1c4c12549a
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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//-/}
|
||||
|
Loading…
Reference in New Issue
Block a user