only notify on failure for now

This commit is contained in:
Grant Limberg 2022-02-07 11:27:03 -08:00
parent 6dfecca91e
commit 720168f0a0
No known key found for this signature in database
GPG Key ID: 8F2F97D3BE8D7735

View File

@ -25,7 +25,6 @@ steps:
when:
status:
- failure
- success
image_pull_secrets:
- dockerconfigjson
@ -43,6 +42,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux amd64 $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
image_pull_secrets:
- dockerconfigjson
@ -60,6 +73,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux arm64 $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
platform:
os: linux
@ -81,6 +108,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux armv7 $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
platform:
os: linux
@ -102,6 +143,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux riscv64 $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
image_pull_secrets:
- dockerconfigjson
@ -119,6 +174,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux mips64le $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
image_pull_secrets:
- dockerconfigjson
@ -136,6 +205,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux ppc64le $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
image_pull_secrets:
- dockerconfigjson
@ -153,6 +236,20 @@ steps:
image: registry.sean.farm/honda-builder
commands:
- ./ci/scripts/build.sh linux s390x $${DRONE_COMMIT_SHA}
- name: notify-mattermost
image: registry.sean.farm/mattermost-notify
pull: always
environment:
token:
from_secret: mattermost-token
host:
from_secret: mattermost-host
channel:
from_secret: mattermost-channel
maxRetry: 3
when:
status:
- failure
image_pull_secrets:
- dockerconfigjson