[WIP] first implementation stubs
This commit is contained in:
25
.woodpecker/pr.yaml
Normal file
25
.woodpecker/pr.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: golang:1.21
|
||||
commands:
|
||||
- go test ./...
|
||||
pr-build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
repo: lerentis/woodpecker-autoscaler
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA}
|
||||
dry-run: true
|
||||
notify:
|
||||
image: appleboy/drone-telegram
|
||||
settings:
|
||||
message: "Commit {{ commit.message }} ({{ commit.link }}) ran with build {{ build.number }} and finished with status {{ build.status }}."
|
||||
to:
|
||||
from_secret: telegram_userid
|
||||
token:
|
||||
from_secret: telegram_secret
|
Reference in New Issue
Block a user