Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Robert Kaussow | 1c62ad049e | |
Robert Kaussow | 32a0d83997 | |
Robert Kaussow | 05592c3dd1 | |
Robert Kaussow | d65b4d90ae | |
Robert Kaussow | 85cd1071ca | |
Robert Kaussow | d941eb9150 |
|
@ -6,13 +6,9 @@
|
|||
{{ range .CommitGroups -}}
|
||||
### {{ .Title }}
|
||||
|
||||
{{ $subjects := list }}
|
||||
{{ range .Commits -}}
|
||||
{{ if not (has .Subject $subjects) -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
{{ $subjects = append $subjects .Subject -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") | trim }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{- if .NoteGroups -}}
|
||||
|
|
|
@ -168,11 +168,11 @@ local PipelineNotifications = {
|
|||
steps: [
|
||||
{
|
||||
name: 'matrix',
|
||||
image: 'plugins/matrix',
|
||||
image: 'thegeeklab/drone-matrix',
|
||||
settings: {
|
||||
homeserver: { from_secret: 'matrix_homeserver' },
|
||||
roomid: { from_secret: 'matrix_roomid' },
|
||||
template: 'Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}',
|
||||
template: 'Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}<br/> Message: {{ commit.Message.Title }}',
|
||||
username: { from_secret: 'matrix_username' },
|
||||
password: { from_secret: 'matrix_password' },
|
||||
},
|
||||
|
|
|
@ -181,7 +181,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: matrix
|
||||
image: plugins/matrix
|
||||
image: thegeeklab/drone-matrix
|
||||
settings:
|
||||
homeserver:
|
||||
from_secret: matrix_homeserver
|
||||
|
@ -189,7 +189,7 @@ steps:
|
|||
from_secret: matrix_password
|
||||
roomid:
|
||||
from_secret: matrix_roomid
|
||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
||||
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}<br/> Message: {{ commit.Message.Title }}"
|
||||
username:
|
||||
from_secret: matrix_username
|
||||
|
||||
|
@ -206,6 +206,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: afaebf7248604450f06f77948cddd98029bc16f6435bcd29a37f132367659069
|
||||
hmac: caf424e7fa2ffcf45e2eebf15a840d2c8a256e4032d3cf8fb2a6f1cef59b42a4
|
||||
|
||||
...
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
|||
ansible-base
|
||||
ansible-core
|
||||
pyopenssl
|
||||
proxmoxer
|
||||
hcloud
|
||||
|
|
|
@ -9,6 +9,3 @@ corenetworks
|
|||
|
||||
# requirement for the openssl_pkcs12 module
|
||||
pyOpenSSL
|
||||
|
||||
# requirement for the docker_compose module
|
||||
docker-compose
|
||||
|
|
Loading…
Reference in New Issue