From 400ca8efdbe838793ecc4579d72f3c48179824ed Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 23 Dec 2023 15:02:45 +0100 Subject: [PATCH] remove git fetch --- .woodpecker/build-container.yml | 1 - .woodpecker/build-package.yml | 3 --- .woodpecker/docs.yml | 3 --- .woodpecker/lint.yml | 2 -- .woodpecker/test.yml | 1 - 5 files changed, 10 deletions(-) diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml index b33e0f7..1f27eb8 100644 --- a/.woodpecker/build-container.yml +++ b/.woodpecker/build-container.yml @@ -9,7 +9,6 @@ steps: - name: build image: docker.io/library/python:3.12 commands: - - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry build diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 18c1d74..4b75817 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -9,7 +9,6 @@ steps: - name: build image: docker.io/library/python:3.12 commands: - - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -21,7 +20,6 @@ steps: - name: changelog image: quay.io/thegeeklab/git-sv commands: - - git fetch --depth=2147483647 - git sv current-version - git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md - cat CHANGELOG.md @@ -48,7 +46,6 @@ steps: - source: pypi_username target: POETRY_HTTP_BASIC_PYPI_USERNAME commands: - - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry publish -n when: diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 3cbd28f..0714fd2 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -39,9 +39,6 @@ steps: - name: build image: quay.io/thegeeklab/hugo:0.115.2 commands: - # Fetch is used to get the full git history. - # Required for Hugos git metadata integration. - - git fetch --depth=2147483647 - hugo --panicOnWarning -s docs/ - name: beautify diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 3214058..25870bd 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -9,7 +9,6 @@ steps: - name: check-format image: docker.io/library/python:3.12 commands: - - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry install - poetry run ruff format --check --diff ./${CI_REPO_NAME//-/} @@ -19,7 +18,6 @@ steps: - name: check-coding image: docker.io/library/python:3.12 commands: - - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry install -E ansible-core - poetry run ruff ./${CI_REPO_NAME//-/} diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 2377a8e..6294ebd 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -16,7 +16,6 @@ steps: - name: pytest image: docker.io/library/python:${PYTHON_VERSION} commands: - - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry install -E ansible-core - poetry run pytest --cov-append