update order?
This commit is contained in:
102
.drone.yml
102
.drone.yml
@@ -1,56 +1,5 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: report-tests
|
|
||||||
|
|
||||||
workspace:
|
|
||||||
path: /drone/grow
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Report status
|
|
||||||
image: plugins/webhook
|
|
||||||
settings:
|
|
||||||
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
|
|
||||||
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 }}] Code Quality Checks {{ build.status }} :tada:",
|
|
||||||
"username":"DroneBot"
|
|
||||||
}
|
|
||||||
depends_on:
|
|
||||||
- qa
|
|
||||||
- test
|
|
||||||
when:
|
|
||||||
status: [success, failure]
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: report-pushes
|
|
||||||
|
|
||||||
workspace:
|
|
||||||
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
|
|
||||||
type: docker
|
|
||||||
name: qa
|
name: qa
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
@@ -121,3 +70,54 @@ trigger:
|
|||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: report-tests
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/grow
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Report status
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
|
||||||
|
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 }}] Code Quality Checks {{ build.status }} :tada:",
|
||||||
|
"username":"DroneBot"
|
||||||
|
}
|
||||||
|
depends_on:
|
||||||
|
- qa
|
||||||
|
- test
|
||||||
|
when:
|
||||||
|
status: [success, failure]
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: report-pushes
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
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]
|
||||||
|
|||||||
Reference in New Issue
Block a user