This commit is contained in:
parent
0ed96f6c22
commit
0b2078c6c5
24
.drone.yml
24
.drone.yml
@ -3,21 +3,15 @@ kind: pipeline
|
|||||||
name: test
|
name: test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: test
|
||||||
- name: skip
|
image: golang:1.12
|
||||||
image: busybox
|
environment:
|
||||||
|
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
|
||||||
commands:
|
commands:
|
||||||
- echo ok
|
- make test
|
||||||
|
|
||||||
# - name: test
|
- name: check
|
||||||
# image: golang:1.12
|
image: iamthefij/drone-pre-commit:personal
|
||||||
# environment:
|
|
||||||
# VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
|
|
||||||
# commands:
|
|
||||||
# - make test
|
|
||||||
#
|
|
||||||
# - name: check
|
|
||||||
# image: iamthefij/drone-pre-commit:personal
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -31,7 +25,6 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
refs:
|
refs:
|
||||||
include:
|
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/v*
|
- refs/tags/v*
|
||||||
|
|
||||||
@ -41,8 +34,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
|
VERSION: ${DRONE_TAG:-${DRONE_COMMIT}}
|
||||||
commands:
|
commands:
|
||||||
# - make all
|
- make all
|
||||||
- make dist/minitor-linux-amd64
|
|
||||||
|
|
||||||
- name: compress binaries for release
|
- name: compress binaries for release
|
||||||
image: ubuntu
|
image: ubuntu
|
||||||
|
Loading…
Reference in New Issue
Block a user