Adding initial CI config
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-08-16 16:49:52 -05:00
parent ef9aa29a99
commit dbb4986c2d
2 changed files with 35 additions and 0 deletions

33
.drone.yml Normal file
View File

@ -0,0 +1,33 @@
kind: pipeline
type: docker
name: default
node:
lan: internal
steps:
- name: Build
image: gitea.watsonlabs.net/watsonb8/golang-protoc-docker
commands:
- go install goa.design/goa/v3/cmd/goa@v3
- go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
- go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
- chmod u+x gen build
- ./gen
- ./build
- name: Email Notify
image: drillster/drone-email
settings:
host: 10.44.1.13
username: srvGitea
password:
from_secret: smtp_password
from: drone@watsonlabs.net
skip_verify: true
depends_on:
- Build
when:
status:
- failure
image_pull_secrets:
- dockerCreds