This commit is contained in:
2023-05-02 18:43:12 -04:00
parent 136c7acb47
commit 5a53f486f6

View File

@@ -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]
--- ---