wip
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Markus Pesch 2021-08-31 20:13:26 +02:00
commit 1203e1e7e6
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 72 additions and 0 deletions

71
.drone.yml Normal file
View File

@ -0,0 +1,71 @@
---
kind: pipeline
type: kubernetes
name: build_a
platform:
os: linux
arch: amd64
steps:
- name: test_a
commands:
- echo "hello"
image: docker.io/library/alpine:latest
resources:
limits:
cpu: 50
memory: 50M
---
kind: pipeline
type: kubernetes
name: build_b
platform:
os: linux
arch: amd64
steps:
- name: test_b
commands:
- exit 1
image: docker.io/library/alpine:latest
resources:
limits:
cpu: 50
memory: 50M
---
kind: pipeline
type: kubernetes
name: notification
platform:
os: linux
arch: amd64
depends_on:
- build_a
- build_b
steps:
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure

1
README.md Normal file
View File

@ -0,0 +1 @@
# pipeline test