[extensions-web/wip/openshift] openshift: added Gitlab hooks
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/wip/openshift] openshift: added Gitlab hooks
- Date: Thu, 6 Dec 2018 19:23:06 +0000 (UTC)
commit bf466340c52c78b0b8ba2ff36b141466323cda8e
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Thu Dec 6 23:22:58 2018 +0400
openshift: added Gitlab hooks
openshift/templates/extensions-web-nginx.json | 32 +++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
---
diff --git a/openshift/templates/extensions-web-nginx.json b/openshift/templates/extensions-web-nginx.json
index c5eba3a..783e5ff 100644
--- a/openshift/templates/extensions-web-nginx.json
+++ b/openshift/templates/extensions-web-nginx.json
@@ -43,6 +43,16 @@
"secret-key": "${EGO_SECRET_KEY}"
}
},
+ {
+ "kind": "Secret",
+ "apiVersion": "v1",
+ "metadata": {
+ "name": "gnome-gitlab"
+ },
+ "stringData": {
+ "WebHookSecretKey": "${WEBHOOK_SECRET_KEY}"
+ }
+ },
{
"kind": "Service",
"apiVersion": "v1",
@@ -157,6 +167,14 @@
},
{
"type": "ConfigChange"
+ },
+ {
+ "type": "GitLab",
+ "gitlab": {
+ "secretReference": {
+ "name": "gnome-gitlab"
+ }
+ }
}
]
}
@@ -203,6 +221,14 @@
},
{
"type": "ConfigChange"
+ },
+ {
+ "type": "GitLab",
+ "gitlab": {
+ "secretReference": {
+ "name": "gnome-gitlab"
+ }
+ }
}
]
}
@@ -462,6 +488,12 @@
"displayName": "Xapian database path",
"description": "Path to Xapian database.",
"value": ""
+ },
+ {
+ "name": "WEBHOOK_SECRET_KEY",
+ "displayName": "WebHook secret key",
+ "description": "Secret key for GNOME Gitlab.",
+ "value": ""
}
]
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]