mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
only notify on failure for now
This commit is contained in:
parent
6dfecca91e
commit
720168f0a0
1 changed files with 98 additions and 1 deletions
99
.drone.yml
99
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue