This commit is contained in:
parent
111b24435d
commit
be08f900a1
11
.drone.yml
11
.drone.yml
|
@ -7,3 +7,14 @@ steps:
|
||||||
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