Migration to Drone CI #8
11
.drone.yml
11
.drone.yml
|
@ -9,10 +9,10 @@ environment:
|
|||
CRE_PORT: 9090
|
||||
|
||||
steps:
|
||||
# - name: test
|
||||
# image: gradle:7.1-jdk11
|
||||
# commands:
|
||||
# - gradle test
|
||||
- name: test
|
||||
image: gradle:7.1-jdk11
|
||||
commands:
|
||||
- gradle test
|
||||
|
||||
- name: build
|
||||
image: gradle:7.1-jdk11
|
||||
|
@ -23,6 +23,7 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- master
|
||||
events: [ push, tag ]
|
||||
|
||||
- name: containerize
|
||||
image: plugins/docker
|
||||
|
@ -36,6 +37,7 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- master
|
||||
events: [ push, tag ]
|
||||
|
||||
- name: deploy
|
||||
image: alpine:latest
|
||||
|
@ -68,5 +70,6 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- master
|
||||
events: [ push, tag ]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue