This
This commit is contained in:
31
.drone.yml
31
.drone.yml
@@ -1,5 +1,12 @@
|
|||||||
pipeline:
|
kind: pipeline
|
||||||
report-tests:
|
type: docker
|
||||||
|
name: report-tests
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/grow
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Report status
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
|
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
|
||||||
@@ -10,12 +17,22 @@ pipeline:
|
|||||||
"text": "[{{ repo.name }}] Code Quality Checks {{ build.status }} :tada:{else}:facefalm:{/success}",
|
"text": "[{{ repo.name }}] Code Quality Checks {{ build.status }} :tada:{else}:facefalm:{/success}",
|
||||||
"username":"DroneBot"
|
"username":"DroneBot"
|
||||||
}
|
}
|
||||||
depends_on:
|
depends_on:
|
||||||
- qa
|
- qa
|
||||||
- test
|
- test
|
||||||
when:
|
when:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
report-pushes:
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: report-pushes
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/grow
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Report status
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
|
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
|
||||||
@@ -26,9 +43,9 @@ pipeline:
|
|||||||
"text": "[{{ repo.name }}] Build {{ build.status }} :tada:",
|
"text": "[{{ repo.name }}] Build {{ build.status }} :tada:",
|
||||||
"username":"DroneBot"
|
"username":"DroneBot"
|
||||||
}
|
}
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
||||||
when:
|
when:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user