fix(drone): use volkerraschek/drone-email

This commit is contained in:
Markus Pesch 2022-09-13 17:34:32 +02:00
parent fd5aa6793b
commit 0dbe303c15
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 119 additions and 109 deletions

View File

@ -18,15 +18,17 @@ steps:
- name: email-notification - name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -64,17 +66,19 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
@ -116,20 +120,19 @@ steps:
repo: volkerraschek/db-wait repo: volkerraschek/db-wait
no_cache: true no_cache: true
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
@ -171,20 +174,19 @@ steps:
repo: volkerraschek/db-wait repo: volkerraschek/db-wait
no_cache: true no_cache: true
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
@ -232,17 +234,19 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
@ -288,20 +292,19 @@ steps:
from_secret: container_image_registry_password from_secret: container_image_registry_password
no_cache: true no_cache: true
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
@ -347,20 +350,19 @@ steps:
from_secret: container_image_registry_password from_secret: container_image_registry_password
no_cache: true no_cache: true
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
@ -400,21 +402,19 @@ steps:
password: password:
from_secret: container_image_registry_password from_secret: container_image_registry_password
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
resources:
limits:
cpu: 50
memory: 25M
when: when:
status: status:
- changed - changed
@ -462,17 +462,19 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
@ -517,17 +519,19 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
@ -572,17 +576,19 @@ steps:
- name: docker_socket - name: docker_socket
path: /var/run/docker.sock path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
@ -616,21 +622,23 @@ steps:
password: password:
from_secret: container_image_registry_password from_secret: container_image_registry_password
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@ -672,19 +680,21 @@ steps:
- name: email-notification - name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed