This commit is contained in:
parent
0ed96f6c22
commit
0b2078c6c5
28
.drone.yml
28
.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,9 +25,8 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
refs:
|
refs:
|
||||||
include:
|
- refs/heads/master
|
||||||
- refs/heads/master
|
- refs/tags/v*
|
||||||
- refs/tags/v*
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build all binaries
|
- name: build all binaries
|
||||||
@ -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