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