2022-05-01 20:51:15 +02:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
tags: true
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
test-pylint:
|
|
|
|
group: test
|
|
|
|
image: pipelinecomponents/pylint
|
|
|
|
commands:
|
|
|
|
- pylint check_slapdd_crc32
|
|
|
|
|
|
|
|
test-flake8:
|
|
|
|
group: test
|
|
|
|
image: pipelinecomponents/flake8
|
|
|
|
commands:
|
|
|
|
- flake8 check_slapdd_crc32
|
|
|
|
|
|
|
|
build:
|
|
|
|
image: brenard/debian-python-deb
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
commands:
|
|
|
|
- echo "$GPG_KEY"|base64 -d|gpg --import
|
|
|
|
- ./build.sh --quiet
|
2024-03-13 23:37:29 +01:00
|
|
|
secrets: [maintainer_name, maintainer_email, gpg_key, debian_codename]
|
2022-05-01 20:51:15 +02:00
|
|
|
|
|
|
|
publish-dryrun:
|
|
|
|
group: publish
|
|
|
|
image: alpine
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
commands:
|
|
|
|
- ls dist/* dist/check-slapdd-crc32-*/check_slapdd_crc32
|
|
|
|
|
|
|
|
publish-gitea:
|
|
|
|
group: publish
|
|
|
|
image: plugins/gitea-release
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
|
|
|
base_url: https://gitea.zionetrix.net
|
2022-08-01 20:58:14 +02:00
|
|
|
note: dist/release_notes.md
|
2022-05-01 20:51:15 +02:00
|
|
|
files:
|
|
|
|
- dist/check-slapdd-crc32-*/check_slapdd_crc32
|
|
|
|
- dist/*.deb
|
|
|
|
checksum:
|
|
|
|
- md5
|
|
|
|
- sha512
|
|
|
|
|
|
|
|
publish-apt:
|
|
|
|
group: publish
|
2022-05-01 23:57:28 +02:00
|
|
|
image: brenard/aptly-publish
|
2022-05-01 20:51:15 +02:00
|
|
|
when:
|
|
|
|
event: tag
|
2022-05-01 23:57:28 +02:00
|
|
|
settings:
|
|
|
|
api_url:
|
|
|
|
from_secret: apt_api_url
|
|
|
|
api_username:
|
|
|
|
from_secret: apt_api_username
|
|
|
|
api_password:
|
|
|
|
from_secret: apt_api_password
|
|
|
|
repo_name:
|
|
|
|
from_secret: apt_repo_name
|
|
|
|
path: dist
|
|
|
|
source_name: check-slapdd-crc32
|