Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
xuu 2023-05-29 10:31:09 -06:00
parent dc0752153b
commit 42b10fab54

View File

@ -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