This commit is contained in:
parent
111b24435d
commit
be08f900a1
13
.drone.yml
13
.drone.yml
|
@ -6,4 +6,15 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.20
|
image: golang:1.20
|
||||||
commands:
|
commands:
|
||||||
- go test -v -race -skip '^TestE2E' ./...
|
- go test -v -race -skip '^TestE2E' ./...
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: plugins/ansible:3
|
||||||
|
settings:
|
||||||
|
playbook: .ansible/playbook.yml
|
||||||
|
inventory: .ansible/inventory
|
||||||
|
become: true
|
||||||
|
become_method: sudo
|
||||||
|
user: deploy
|
||||||
|
private_key:
|
||||||
|
from_secret: drone_ssh
|
Loading…
Reference in New Issue
Block a user