mirror of
https://git.dn42.dev/dn42/registry.git
synced 2026-05-17 04:33:38 +08:00
Merge pull request 'add woodpecker pipeline' (#6089) from burble/registry:migrate-to-woodpecker into master
Reviewed-on: https://git.dn42.dev/dn42/registry/pulls/6089 Reviewed-by: schema-checker <schema-checker@noreply.dn42.dev>
This commit is contained in:
commit
96652d9fc2
2 changed files with 30 additions and 23 deletions
23
.drone.yml
23
.drone.yml
|
|
@ -1,23 +0,0 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: pull-checks
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: squashbot
|
|
||||||
image: dn42/pipeline
|
|
||||||
environment:
|
|
||||||
SQUASHBOT_TOKEN:
|
|
||||||
from_secret: SQUASHBOT_TOKEN
|
|
||||||
commands:
|
|
||||||
- /scripts/wrapper
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: signature
|
|
||||||
hmac: a7844c78365f463971354b5650affed18c0ca3ffd05e9c96a7c3390558c84fb9
|
|
||||||
|
|
||||||
...
|
|
||||||
30
.woodpecker/pipeline.yml
Normal file
30
.woodpecker/pipeline.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: [ pull_request ]
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
recursive: false
|
||||||
|
lfs: false
|
||||||
|
partial: false
|
||||||
|
depth: 0
|
||||||
|
branch: 'pr'
|
||||||
|
fetch-target-branch: true
|
||||||
|
target-branch: master
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: 'SquashBot'
|
||||||
|
image: 'git.dn42/registry/pipeline-docker:latest'
|
||||||
|
environment:
|
||||||
|
SQUASHBOT_TOKEN:
|
||||||
|
from_secret: 'SQUASHBOT_TOKEN'
|
||||||
|
commands:
|
||||||
|
- /scripts/wrapper
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# end of file
|
||||||
Loading…
Add table
Add a link
Reference in a new issue