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

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}
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:

View File

@ -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:

View File

@ -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

View File

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

View File

@ -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"

View File

@ -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