2020-09-22 20:55:47 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
|
|
|
image: gradle:6.6
|
|
|
|
commands:
|
|
|
|
- gradle build
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: release
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
2020-09-22 21:31:14 +00:00
|
|
|
- push
|
2020-09-22 20:55:47 +00:00
|
|
|
|
|
|
|
steps:
|
2020-09-22 21:39:59 +00:00
|
|
|
- name: build
|
|
|
|
pull: always
|
|
|
|
image: gradle:6.6
|
|
|
|
commands:
|
2020-10-03 16:34:26 +00:00
|
|
|
- gradle shadowjar
|
2020-09-22 20:55:47 +00:00
|
|
|
- name: gitea-release
|
|
|
|
pull: always
|
2020-09-22 21:28:33 +00:00
|
|
|
image: jolheiser/drone-gitea-main:latest
|
|
|
|
settings:
|
|
|
|
token:
|
2020-09-22 20:55:47 +00:00
|
|
|
from_secret: gitea_token
|
2020-09-22 21:28:33 +00:00
|
|
|
base: https://git.etztech.xyz
|
2020-09-22 20:55:47 +00:00
|
|
|
files:
|
2020-09-22 21:39:59 +00:00
|
|
|
- "build/libs/*.jar"
|