This commit is contained in:
parent
dc0752153b
commit
42b10fab54
24
.drone.yml
24
.drone.yml
|
@ -8,6 +8,17 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go test -v -race -skip '^TestE2E|TestMain' ./...
|
- go test -v -race -skip '^TestE2E|TestMain' ./...
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: deploy
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.20
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
|
@ -21,17 +32,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- upx --best --lzma -o ev build/ev
|
- upx --best --lzma -o ev build/ev
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: deploy
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: plugins/ansible:3
|
image: plugins/ansible:3
|
||||||
settings:
|
settings:
|
||||||
|
@ -47,4 +47,4 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- promote
|
- promote
|
||||||
target:
|
target:
|
||||||
- lavana
|
- production
|
||||||
|
|
Loading…
Reference in New Issue
Block a user