mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-06-14 13:40:51 +02:00
remove git fetch
This commit is contained in:
parent
cc6da552f1
commit
9ac29117c7
|
@ -9,7 +9,6 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/library/python:3.12
|
image: docker.io/library/python:3.12
|
||||||
commands:
|
commands:
|
||||||
- git fetch --depth=2147483647
|
|
||||||
- pip install poetry poetry-dynamic-versioning -qq
|
- pip install poetry poetry-dynamic-versioning -qq
|
||||||
- poetry build
|
- poetry build
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/library/python:3.12
|
image: docker.io/library/python:3.12
|
||||||
commands:
|
commands:
|
||||||
- git fetch --depth=2147483647
|
|
||||||
- pip install poetry poetry-dynamic-versioning -qq
|
- pip install poetry poetry-dynamic-versioning -qq
|
||||||
- poetry build
|
- poetry build
|
||||||
|
|
||||||
|
@ -21,7 +20,6 @@ steps:
|
||||||
- name: changelog
|
- name: changelog
|
||||||
image: quay.io/thegeeklab/git-sv
|
image: quay.io/thegeeklab/git-sv
|
||||||
commands:
|
commands:
|
||||||
- git fetch --depth=2147483647
|
|
||||||
- git sv current-version
|
- git sv current-version
|
||||||
- git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md
|
- git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md
|
||||||
- cat CHANGELOG.md
|
- cat CHANGELOG.md
|
||||||
|
@ -48,7 +46,6 @@ steps:
|
||||||
- source: pypi_username
|
- source: pypi_username
|
||||||
target: POETRY_HTTP_BASIC_PYPI_USERNAME
|
target: POETRY_HTTP_BASIC_PYPI_USERNAME
|
||||||
commands:
|
commands:
|
||||||
- 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:
|
||||||
|
|
|
@ -39,9 +39,6 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: quay.io/thegeeklab/hugo:0.115.2
|
image: quay.io/thegeeklab/hugo:0.115.2
|
||||||
commands:
|
commands:
|
||||||
# Fetch is used to get the full git history.
|
|
||||||
# Required for Hugos git metadata integration.
|
|
||||||
- git fetch --depth=2147483647
|
|
||||||
- hugo --panicOnWarning -s docs/
|
- hugo --panicOnWarning -s docs/
|
||||||
|
|
||||||
- name: beautify
|
- name: beautify
|
||||||
|
|
|
@ -9,7 +9,6 @@ steps:
|
||||||
- name: check-format
|
- name: check-format
|
||||||
image: docker.io/library/python:3.12
|
image: docker.io/library/python:3.12
|
||||||
commands:
|
commands:
|
||||||
- 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 format --check --diff ./${CI_REPO_NAME//-/}
|
- poetry run ruff format --check --diff ./${CI_REPO_NAME//-/}
|
||||||
|
@ -19,7 +18,6 @@ steps:
|
||||||
- name: check-coding
|
- name: check-coding
|
||||||
image: docker.io/library/python:3.12
|
image: docker.io/library/python:3.12
|
||||||
commands:
|
commands:
|
||||||
- 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//-/}
|
||||||
|
|
|
@ -17,7 +17,6 @@ steps:
|
||||||
- name: pytest
|
- name: pytest
|
||||||
image: docker.io/library/python:${PYTHON_VERSION}
|
image: docker.io/library/python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- git fetch --depth=2147483647
|
|
||||||
- pip install poetry poetry-dynamic-versioning -qq
|
- pip install poetry poetry-dynamic-versioning -qq
|
||||||
- poetry install
|
- poetry install
|
||||||
- poetry run pytest --cov-append
|
- poetry run pytest --cov-append
|
||||||
|
|
Loading…
Reference in New Issue
Block a user