Make CI use woodpecker instead of drone
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
f0554bcd97
commit
2bdc40258b
43
.drone.yml
43
.drone.yml
|
@ -1,43 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: "Build"
|
||||
image: "eclipse-temurin:16-jdk"
|
||||
commands:
|
||||
- "./gradlew assemble"
|
||||
- name: "Test"
|
||||
image: "eclipse-temurin:16-jdk"
|
||||
commands:
|
||||
- "./gradlew test"
|
||||
- name: "Create Release"
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: "gitea_api_key"
|
||||
base_url:
|
||||
from_secret: "gitea_base_url"
|
||||
files: build/libs/CSharpCommentChecker-*.jar
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- name: "Push docker image"
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: "docker_username"
|
||||
password:
|
||||
from_secret: "docker_password"
|
||||
registry:
|
||||
from_secret: "docker_registry"
|
||||
repo:
|
||||
from_secret: "docker_repo"
|
||||
tags: latest
|
||||
auto_tag: true
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: "eclipse-temurin:16-jdk"
|
||||
commands:
|
||||
- "./gradlew assemble"
|
||||
test:
|
||||
image: "eclipse-temurin:16-jdk"
|
||||
commands:
|
||||
- "./gradlew test"
|
||||
release:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: "gitea_api_key"
|
||||
base_url:
|
||||
from_secret: "gitea_base_url"
|
||||
files: build/libs/CSharpCommentChecker-*.jar
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
docker:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: "docker_username"
|
||||
password:
|
||||
from_secret: "docker_password"
|
||||
registry:
|
||||
from_secret: "docker_registry"
|
||||
repo:
|
||||
from_secret: "docker_repo"
|
||||
tags: latest
|
||||
auto_tag: true
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
|
Loading…
Reference in New Issue