drone pipeline

This commit is contained in:
Janic Voser 2023-03-10 22:24:23 +01:00
parent ecdfe35415
commit 0ac20a6b0f

33
.drone.yml Normal file
View File

@ -0,0 +1,33 @@
kind: pipeline
type: kubernetes
name: default
trigger:
branch:
- master
steps:
- name: Go Tests
image: golang
volumes:
- name: deps
path: /go
commands:
- cd src
- go test
- name: build
image: golang
volumes:
- name: deps
path: /go
- name: bin
path: /binaries
commands:
- cd src
- go build -o /binaries/app
volumes:
- name: deps
temp: {}
- name: bin
temp: {}