Compare commits

...

2 Commits

Author SHA1 Message Date
d59516d120
fix(drone): remove docker socket volume
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-13 17:37:00 +02:00
0dbe303c15
fix(drone): use volkerraschek/drone-email 2022-09-13 17:34:32 +02:00

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
@ -60,31 +62,25 @@ steps:
tags: latest-amd64 tags: latest-amd64
repo: volkerraschek/db-wait repo: volkerraschek/db-wait
no_cache: true no_cache: true
volumes:
- name: docker_socket
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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on: depends_on:
- linter - linter
@ -116,30 +112,24 @@ 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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on: depends_on:
- linter - linter
@ -171,30 +161,24 @@ 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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on: depends_on:
- linter - linter
@ -228,31 +212,25 @@ steps:
password: password:
from_secret: container_image_registry_password from_secret: container_image_registry_password
no_cache: true no_cache: true
volumes:
- name: docker_socket
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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on: depends_on:
- linter - linter
@ -288,30 +266,24 @@ 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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on: depends_on:
- linter - linter
@ -347,30 +319,24 @@ 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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on: depends_on:
- linter - linter
@ -400,21 +366,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
@ -458,31 +422,25 @@ steps:
build_args: build_args:
- VERSION=${DRONE_TAG} - VERSION=${DRONE_TAG}
no_cache: true no_cache: true
volumes:
- name: docker_socket
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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@ -513,31 +471,25 @@ steps:
build_args: build_args:
- VERSION=${DRONE_TAG} - VERSION=${DRONE_TAG}
no_cache: true no_cache: true
volumes:
- name: docker_socket
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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@ -568,31 +520,25 @@ steps:
build_args: build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG} - MARKDOWNLINT_VERSION=${DRONE_TAG}
no_cache: true no_cache: true
volumes:
- name: docker_socket
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
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@ -616,21 +562,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 +620,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