crds-catalog/.drone.yml

81 lines
1.5 KiB
YAML
Raw Normal View History

2023-03-08 11:54:34 +00:00
---
kind: pipeline
name: build
platform:
os: linux
arch: amd64
steps:
- name: generate
image: thegeeklab/alpine-tools
commands:
- make
2023-03-08 12:19:30 +00:00
- name: publish
image: thegeeklab/drone-git-action
settings:
action:
- pages
author_email: shipper@rknet.org
author_name: shipper
branch: catalog
message: auto-update crds catalog
netrc_machine: gitea.rknet.org
netrc_password:
from_secret: gitea_token
pages_directory: dist/
remote_url: https://gitea.rknet.org/infra/${DRONE_REPO_NAME}
when:
ref:
- refs/heads/main
2023-03-08 11:54:34 +00:00
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
---
kind: pipeline
name: notifications
platform:
os: linux
arch: amd64
steps:
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
- refs/heads/main
- refs/tags/**
status:
- success
- failure
depends_on:
- build
---
kind: signature
2023-03-08 12:19:30 +00:00
hmac: f93aa1c27fdb75892ba6c5d0574d37332da585254a2af407a209efa244f4ef83
2023-03-08 11:54:34 +00:00
...