This
This commit is contained in:
81
.drone.yml
81
.drone.yml
@@ -1,35 +1,52 @@
|
|||||||
pipeline:
|
kind: pipeline
|
||||||
report-tests:
|
type: docker
|
||||||
image: plugins/webhook
|
name: report-tests
|
||||||
settings:
|
|
||||||
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
|
workspace:
|
||||||
content_type: application/json
|
path: /drone/grow
|
||||||
template: |
|
|
||||||
{
|
steps:
|
||||||
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
|
- name: Report status
|
||||||
"text": "[{{ repo.name }}] Code Quality Checks {{ build.status }} :tada:{else}:facefalm:{/success}",
|
image: plugins/webhook
|
||||||
"username":"DroneBot"
|
settings:
|
||||||
}
|
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
|
||||||
depends_on:
|
content_type: application/json
|
||||||
- qa
|
template: |
|
||||||
- test
|
{
|
||||||
when:
|
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
|
||||||
status: [success, failure]
|
"text": "[{{ repo.name }}] Code Quality Checks {{ build.status }} :tada:{else}:facefalm:{/success}",
|
||||||
report-pushes:
|
"username":"DroneBot"
|
||||||
image: plugins/webhook
|
}
|
||||||
settings:
|
depends_on:
|
||||||
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
|
- qa
|
||||||
content_type: application/json
|
- test
|
||||||
template: |
|
when:
|
||||||
{
|
status: [success, failure]
|
||||||
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
|
|
||||||
"text": "[{{ repo.name }}] Build {{ build.status }} :tada:",
|
---
|
||||||
"username":"DroneBot"
|
kind: pipeline
|
||||||
}
|
type: docker
|
||||||
depends_on:
|
name: report-pushes
|
||||||
- build
|
|
||||||
when:
|
workspace:
|
||||||
status: [success, failure]
|
path: /drone/grow
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Report status
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
|
||||||
|
content_type: application/json
|
||||||
|
template: |
|
||||||
|
{
|
||||||
|
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
|
||||||
|
"text": "[{{ repo.name }}] Build {{ build.status }} :tada:",
|
||||||
|
"username":"DroneBot"
|
||||||
|
}
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
|
when:
|
||||||
|
status: [success, failure]
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|||||||
Reference in New Issue
Block a user