diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 27e31cc..fd7852d 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -6,28 +6,28 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - build: + - name: build image: docker.io/library/python:3.12 commands: - - GALAXY_VERSION=${DRONE_TAG##v} + - GALAXY_VERSION=${CI_COMMIT_TAG##v} - 'sed -i ''s/version: 0.0.0/version: ''"$${GALAXY_VERSION:-0.0.0}"''/g'' galaxy.yml' - pip install poetry -qq - poetry install --all-extras --no-root - poetry run ansible-galaxy collection build --output-path dist/ - checksum: + - name: checksum image: quay.io/thegeeklab/alpine-tools commands: - cd dist/ && sha256sum * > ../sha256sum.txt - changelog: + - name: changelog image: quay.io/thegeeklab/git-sv commands: - git sv current-version - git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md - cat CHANGELOG.md - publish-gitea: + - name: publish-gitea image: docker.io/plugins/github-release settings: api_key: diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 7bc147e..3aff35b 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -6,13 +6,13 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - markdownlint: + - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli group: test commands: - markdownlint 'docs/**/*.md' 'README.md' - spellcheck: + - name: spellcheck image: quay.io/thegeeklab/alpine-tools group: test commands: @@ -20,13 +20,13 @@ steps: environment: FORCE_COLOR: "true" - link-validation: + - name: link-validation image: docker.io/lycheeverse/lychee group: test commands: - lychee --no-progress --format detailed docs/ README.md - publish: + - name: publish image: quay.io/thegeeklab/wp-git-action settings: action: diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 1cc3d05..ab9b98f 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -6,7 +6,7 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - check-format: + - name: check-format image: docker.io/library/python:3.12 commands: - pip install poetry -qq @@ -15,7 +15,7 @@ steps: environment: PY_COLORS: "1" - check-coding: + - name: check-coding image: docker.io/library/python:3.12 commands: - pip install poetry -qq diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index a851904..9957125 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -8,7 +8,7 @@ when: runs_on: [success, failure] steps: - matrix: + - name: matrix image: quay.io/thegeeklab/wp-matrix settings: homeserver: diff --git a/.woodpecker/sanity-test.yml b/.woodpecker/sanity-test.yml index f1a4d9d..ddc9323 100644 --- a/.woodpecker/sanity-test.yml +++ b/.woodpecker/sanity-test.yml @@ -23,19 +23,19 @@ workspace: path: ansible_collections/${CI_REPO_NAME/./\/} steps: - ansible-devel: + - name: ansible-devel <<: *ansible_base environment: ANSIBLE_VERSION: "devel" <<: *ansible_env - ansible-216: + - name: ansible-216 <<: *ansible_base environment: ANSIBLE_VERSION: "stable-2.16" <<: *ansible_env - ansible-215: + - name: ansible-215 <<: *ansible_base environment: ANSIBLE_VERSION: "stable-2.15" diff --git a/.woodpecker/unit-test.yml b/.woodpecker/unit-test.yml index cccb0f9..af169f2 100644 --- a/.woodpecker/unit-test.yml +++ b/.woodpecker/unit-test.yml @@ -16,19 +16,19 @@ variables: PY_COLORS: "1" steps: - pyton-312: + - name: pyton-312 image: docker.io/library/python:3.12 <<: *pytest_base - pyton-311: + - name: pyton-311 image: docker.io/library/python:3.11 <<: *pytest_base - pyton-310: + - name: pyton-310 image: docker.io/library/python:3.10 <<: *pytest_base - pyton-39: + - name: pyton-39 image: docker.io/library/python:3.9 <<: *pytest_base