14 Commits

Author SHA1 Message Date
6ceed77fd0 add target 2025-10-29 10:06:00 +01:00
60a1d545ed fix event 2025-10-29 09:22:51 +01:00
3a72204915 +comment 2025-10-29 09:06:12 +01:00
0516534526 fix token 2025-10-29 09:03:30 +01:00
d260f5299f add when clause 2025-10-29 09:03:09 +01:00
1f93d2d37d fix indend 2025-10-29 08:57:58 +01:00
55addf2a77 add release pipeline 2025-10-29 08:46:57 +01:00
06dec42e83 add branch (test only) 2025-10-28 23:04:25 +01:00
fceee7bc04 badges to codeberg 2025-10-28 22:58:04 +01:00
8edca6d367 use lint binary 2025-10-28 22:47:05 +01:00
1ab65e69a0 try with freebsd 2025-10-28 22:43:32 +01:00
7a62b2d19d add linter 2025-10-28 22:38:13 +01:00
030c1ba495 use matrix 2025-10-28 22:21:06 +01:00
9b6f062c65 CB ci test 2025-10-28 21:33:46 +01:00
3 changed files with 54 additions and 1 deletions

28
.woodpecker/build.yaml Normal file
View File

@@ -0,0 +1,28 @@
matrix:
platform:
- linux/amd64
goversion:
- 1.24
labels:
platform: ${platform}
steps:
build:
when:
event: [push]
image: golang:${goversion}
commands:
- go get
- go build
- go test
linter:
when:
event: [push]
image: golang:${goversion}
commands:
#- go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
- golangci-lint --version
- golangci-lint run ./...

25
.woodpecker/release.yaml Normal file
View File

@@ -0,0 +1,25 @@
# build release
labels:
platform: linux/amd64
steps:
build:
when:
event: [tag]
image: golang:1.24
commands:
- go get
- ./mkrel.sh epuppy v1-${CI_COMMIT_SHA:0:8}
#- ./mkrel.sh epuppy ${CI_COMMIT_TAG}
publish:
when:
event: [tag]
image: woodpeckerci/plugin-release
settings:
files:
- 'releases/epuppy-*-v1-${CI_COMMIT_SHA:0:8}'
api_key:
from_secret: DEPLOY_TOKEN
target: woodpecker

View File

@@ -1,4 +1,4 @@
[![Actions](https://github.com/tlinden/epuppy/actions/workflows/ci.yaml/badge.svg)](https://github.com/tlinden/epuppy/actions)
[![status-badge](https://ci.codeberg.org/api/badges/15473/status.svg?branch=woodpecker)](https://ci.codeberg.org/repos/15473)
[![License](https://img.shields.io/badge/license-GPL-blue.svg)](https://github.com/tlinden/epuppy/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/tlinden/epuppy)](https://goreportcard.com/report/github.com/tlinden/epuppy)