cleanup ci syntax
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/unit-test Pipeline was successful Details
ci/woodpecker/push/sanity-test Pipeline was successful Details
ci/woodpecker/push/build-package Pipeline was successful Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/notify Pipeline was successful Details

This commit is contained in:
Robert Kaussow 2024-01-16 14:30:08 +01:00
parent 1acc16352b
commit 1d7240fff6
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
6 changed files with 19 additions and 19 deletions

View File

@ -6,28 +6,28 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
build: - name: build
image: docker.io/library/python:3.12 image: docker.io/library/python:3.12
commands: 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' - 'sed -i ''s/version: 0.0.0/version: ''"$${GALAXY_VERSION:-0.0.0}"''/g'' galaxy.yml'
- pip install poetry -qq - pip install poetry -qq
- poetry install --all-extras --no-root - poetry install --all-extras --no-root
- poetry run ansible-galaxy collection build --output-path dist/ - poetry run ansible-galaxy collection build --output-path dist/
checksum: - name: checksum
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
commands: commands:
- cd dist/ && sha256sum * > ../sha256sum.txt - cd dist/ && sha256sum * > ../sha256sum.txt
changelog: - name: changelog
image: quay.io/thegeeklab/git-sv image: quay.io/thegeeklab/git-sv
commands: commands:
- 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
publish-gitea: - name: publish-gitea
image: docker.io/plugins/github-release image: docker.io/plugins/github-release
settings: settings:
api_key: api_key:

View File

@ -6,13 +6,13 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
markdownlint: - name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli image: quay.io/thegeeklab/markdownlint-cli
group: test group: test
commands: commands:
- markdownlint 'docs/**/*.md' 'README.md' - markdownlint 'docs/**/*.md' 'README.md'
spellcheck: - name: spellcheck
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
group: test group: test
commands: commands:
@ -20,13 +20,13 @@ steps:
environment: environment:
FORCE_COLOR: "true" FORCE_COLOR: "true"
link-validation: - name: link-validation
image: docker.io/lycheeverse/lychee image: docker.io/lycheeverse/lychee
group: test group: test
commands: commands:
- lychee --no-progress --format detailed docs/ README.md - lychee --no-progress --format detailed docs/ README.md
publish: - name: publish
image: quay.io/thegeeklab/wp-git-action image: quay.io/thegeeklab/wp-git-action
settings: settings:
action: action:

View File

@ -6,7 +6,7 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
check-format: - name: check-format
image: docker.io/library/python:3.12 image: docker.io/library/python:3.12
commands: commands:
- pip install poetry -qq - pip install poetry -qq
@ -15,7 +15,7 @@ steps:
environment: environment:
PY_COLORS: "1" PY_COLORS: "1"
check-coding: - name: check-coding
image: docker.io/library/python:3.12 image: docker.io/library/python:3.12
commands: commands:
- pip install poetry -qq - pip install poetry -qq

View File

@ -8,7 +8,7 @@ when:
runs_on: [success, failure] runs_on: [success, failure]
steps: steps:
matrix: - name: matrix
image: quay.io/thegeeklab/wp-matrix image: quay.io/thegeeklab/wp-matrix
settings: settings:
homeserver: homeserver:

View File

@ -23,19 +23,19 @@ workspace:
path: ansible_collections/${CI_REPO_NAME/./\/} path: ansible_collections/${CI_REPO_NAME/./\/}
steps: steps:
ansible-devel: - name: ansible-devel
<<: *ansible_base <<: *ansible_base
environment: environment:
ANSIBLE_VERSION: "devel" ANSIBLE_VERSION: "devel"
<<: *ansible_env <<: *ansible_env
ansible-216: - name: ansible-216
<<: *ansible_base <<: *ansible_base
environment: environment:
ANSIBLE_VERSION: "stable-2.16" ANSIBLE_VERSION: "stable-2.16"
<<: *ansible_env <<: *ansible_env
ansible-215: - name: ansible-215
<<: *ansible_base <<: *ansible_base
environment: environment:
ANSIBLE_VERSION: "stable-2.15" ANSIBLE_VERSION: "stable-2.15"

View File

@ -16,19 +16,19 @@ variables:
PY_COLORS: "1" PY_COLORS: "1"
steps: steps:
pyton-312: - name: pyton-312
image: docker.io/library/python:3.12 image: docker.io/library/python:3.12
<<: *pytest_base <<: *pytest_base
pyton-311: - name: pyton-311
image: docker.io/library/python:3.11 image: docker.io/library/python:3.11
<<: *pytest_base <<: *pytest_base
pyton-310: - name: pyton-310
image: docker.io/library/python:3.10 image: docker.io/library/python:3.10
<<: *pytest_base <<: *pytest_base
pyton-39: - name: pyton-39
image: docker.io/library/python:3.9 image: docker.io/library/python:3.9
<<: *pytest_base <<: *pytest_base