[add] drone config
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Evan Reichard 2023-10-23 20:33:56 -04:00
parent b5d5e4bd64
commit a11514913a
2 changed files with 13 additions and 1 deletions

13
.drone.yml Normal file
View File

@ -0,0 +1,13 @@
kind: pipeline
type: kubernetes
name: default
steps:
- name: generate_tags
image: node
commands:
- echo -n "${DRONE_BRANCH}-$(date +'%Y%m%d%H%M%S')-${DRONE_COMMIT:0:10}, latest" > .tags
- name: unit test
image: golang
commands:
- make tests_unit

View File

@ -29,6 +29,5 @@ docker_build_release_latest:
tests_integration:
go test -v -tags=integration -coverpkg=./... ./metadata
tests_unit:
SET_TEST=set_val go test -v -coverpkg=./... ./...