Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaw-jan <saw.jan.grg3e@gmail.com>2022-03-23 12:21:18 +0300
committerSawjan Gurung <saw.jan.grg3e@gmail.com>2022-03-24 12:38:22 +0300
commit0a78f713ca14f8ac702f513694c3f1cdd3c463c8 (patch)
tree86b9c93eab6e3e53edde5242230a0f35cd37be2b /.drone.star
parent2dc0817747f5b1b001eb3de0bfb39914786ae874 (diff)
notify with logs whenever there is nightly fail
add template script
Diffstat (limited to '.drone.star')
-rw-r--r--.drone.star22
1 files changed, 19 insertions, 3 deletions
diff --git a/.drone.star b/.drone.star
index 88919b627..2853e9f68 100644
--- a/.drone.star
+++ b/.drone.star
@@ -7,6 +7,8 @@
OC_TESTING_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.4.0"
GUI_TEST_REPORT_DIR = "/drone/src/test/guiReportUpload"
+GUI_TEST_DIR = "/drone/src/test/gui"
+NOTIFICATION_TEMPLATE_DIR = "/drone/src"
dir = {
"base": "/drone",
@@ -414,18 +416,32 @@ def notification(name, depends_on = [], trigger = {}):
"os": "linux",
"arch": "amd64",
},
- "clone": {
- "disable": True,
- },
"steps": [
{
+ "name": "create-template",
+ "image": "owncloudci/alpine:latest",
+ "environment": {
+ "CACHE_ENDPOINT": {
+ "from_secret": "cache_public_s3_server",
+ },
+ "CACHE_BUCKET": {
+ "from_secret": "cache_public_s3_bucket",
+ },
+ },
+ "commands": [
+ "bash %s/drone/notification_template.sh %s" % (GUI_TEST_DIR, NOTIFICATION_TEMPLATE_DIR),
+ ],
+ },
+ {
"name": "notification",
"image": "plugins/slack",
"pull": "always",
"settings": {
"webhook": from_secret("private_rocketchat"),
"channel": "desktop-internal",
+ "template": "file:%s/template.md" % NOTIFICATION_TEMPLATE_DIR,
},
+ "depends_on": ["create-template"],
},
],
"trigger": trigger,