This repository has been archived on 2024-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
Files
flucky/.drone.yml
CSRBot 8b826622d5
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
chore(deps): update git.cryptic.systems/volker.raschek/git docker tag to v1.4.0
2024-11-25 23:14:50 +00:00

129 lines
1.9 KiB
YAML

---
kind: pipeline
type: kubernetes
name: linter
clone:
disable: true
platform:
os: linux
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.41.0
resources:
limits:
cpu: 50
memory: 50M
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.5
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
event:
include:
- pull_request
- push
exclude:
- tag
---
kind: pipeline
type: kubernetes
name: unit-test-amd64
clone:
disable: true
depends_on:
- linter
platform:
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.22.4
services:
- name: postgres
image: docker.io/library/postgres:16.2-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
trigger:
event:
exclude:
- tag
---
kind: pipeline
type: kubernetes
name: unit-test-arm64
clone:
disable: true
depends_on:
- linter
platform:
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: unit-test
commands:
- go test -v ./...
image: docker.io/library/golang:1.22.4
services:
- name: postgres
image: docker.io/library/postgres:16.2-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
trigger:
event:
include:
- pull_request
- push
exclude:
- tag