AnthoLume/.drone.yml

36 lines
698 B
YAML
Raw Normal View History

2023-10-24 00:33:56 +00:00
kind: pipeline
type: kubernetes
name: default
steps:
2023-10-24 11:39:37 +00:00
# Unit Tests
2023-10-24 00:33:56 +00:00
- name: unit test
image: golang
commands:
- make tests_unit
2023-10-24 11:39:37 +00:00
# Integration Tests (Every Month)
2023-10-24 00:33:56 +00:00
- name: integration test
image: golang
commands:
- make tests_integration
when:
event:
- cron
cron:
- integration-test
2023-10-24 11:39:37 +00:00
# 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