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:
|
2023-11-04 23:40:32 +00:00
|
|
|
repo: gitea.va.reichard.io/evan/antholume
|
2023-10-24 11:39:37 +00:00
|
|
|
registry: gitea.va.reichard.io
|
|
|
|
tags:
|
|
|
|
- dev
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|