Evan Reichard
890ce9a7fe
Some checks reported errors
continuous-integration/drone/push Build was killed
36 lines
698 B
YAML
36 lines
698 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: default
|
|
|
|
steps:
|
|
# Unit Tests
|
|
- name: unit test
|
|
image: golang
|
|
commands:
|
|
- make tests_unit
|
|
|
|
# Integration Tests (Every Month)
|
|
- name: integration test
|
|
image: golang
|
|
commands:
|
|
- make tests_integration
|
|
when:
|
|
event:
|
|
- cron
|
|
cron:
|
|
- integration-test
|
|
|
|
# Publish Dev Docker Image
|
|
- name: publish_docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: gitea.va.reichard.io/evan/bookmanager
|
|
registry: gitea.va.reichard.io
|
|
dockerfile: Dockerfile-amd64
|
|
tags:
|
|
- dev
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|