cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [1/2] cordova-medic git commit: CB-9011 Adding support for GitHub web hooks and adding an authentication file and accompanying docs.
Date Wed, 20 May 2015 19:02:49 GMT
Repository: cordova-medic
Updated Branches:
  refs/heads/master 4d70349e5 -> 199d39056


CB-9011 Adding support for GitHub web hooks and adding an authentication file and accompanying
docs.


Project: http://git-wip-us.apache.org/repos/asf/cordova-medic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-medic/commit/6bc3d568
Tree: http://git-wip-us.apache.org/repos/asf/cordova-medic/tree/6bc3d568
Diff: http://git-wip-us.apache.org/repos/asf/cordova-medic/diff/6bc3d568

Branch: refs/heads/master
Commit: 6bc3d568712d573ecd8d6d141d9ee3efbe53a5b5
Parents: 4d70349
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Mon May 18 22:59:24 2015 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Mon May 18 22:59:24 2015 -0700

----------------------------------------------------------------------
 .gitignore                         | 3 ---
 README.md                          | 7 +++++--
 buildbot-conf/.gitignore           | 4 ++++
 buildbot-conf/github.passwd.sample | 1 +
 buildbot-conf/master.cfg           | 7 ++++++-
 5 files changed, 16 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/6bc3d568/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3ae9089..3c3629e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
 node_modules
-cordova-config.json
-private.py
-cordova-extra.conf

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/6bc3d568/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 9e75b99..c03ee75 100644
--- a/README.md
+++ b/README.md
@@ -97,12 +97,13 @@ Then, install the Medic master configuration by copying the following
files into
 - master.cfg
 - projects.conf
 - cordova.conf
-- cordova-extra.conf
 - cordova-repos.json
 - *cordova-config.json*<sup>[1]</sup>
+- *cordova-exta.conf*<sup>[1]</sup>
 - *private.py*<sup>[1]</sup>
+- *github.passwd*<sup>[1]</sup>
 
-<sup>[1]</sup> These two files do not exist in the repository and must be created
for each installation of Medic. Create them from their respective `.sample` files.
+<sup>[1]</sup> These files do not exist in the repository and must be created
for each installation of Medic. Create them from their respective `.sample` files.
 
 ## Slaves
 
@@ -162,6 +163,8 @@ In general, when any of the files in the master directory are changed,
a restart
 
 **private.py**: Python file containing sensitive configuration. *Only a sample of this file
is provided in the repo, with a `.sample` extension.*
 
+**github.passwd**: File containing one line: a username and password for authenticating GitHub
hooks. *Only a sample of this file is provided in the repo, with a `.sample` extension.*
+
 [couchdb]:          http://couchdb.apache.org/
 [python]:           https://www.python.org/downloads/
 [pywin32]:          http://sourceforge.net/projects/pywin32/files/

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/6bc3d568/buildbot-conf/.gitignore
----------------------------------------------------------------------
diff --git a/buildbot-conf/.gitignore b/buildbot-conf/.gitignore
new file mode 100644
index 0000000..296aa71
--- /dev/null
+++ b/buildbot-conf/.gitignore
@@ -0,0 +1,4 @@
+cordova-config.json
+private.py
+cordova-extra.conf
+github.passwd

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/6bc3d568/buildbot-conf/github.passwd.sample
----------------------------------------------------------------------
diff --git a/buildbot-conf/github.passwd.sample b/buildbot-conf/github.passwd.sample
new file mode 100644
index 0000000..28b9bb2
--- /dev/null
+++ b/buildbot-conf/github.passwd.sample
@@ -0,0 +1 @@
+user:password

http://git-wip-us.apache.org/repos/asf/cordova-medic/blob/6bc3d568/buildbot-conf/master.cfg
----------------------------------------------------------------------
diff --git a/buildbot-conf/master.cfg b/buildbot-conf/master.cfg
index 229cd86..83b2a3a 100644
--- a/buildbot-conf/master.cfg
+++ b/buildbot-conf/master.cfg
@@ -277,7 +277,12 @@ mn1 = MailNotifier(
     smtpPassword          = mail_pw,
 )
 
-c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))
+c['status'].append(html.WebStatus(
+    http_port            = 8010,
+    authz                = authz_cfg,
+    change_hook_dialects = {'github': True},
+    change_hook_auth     = ['file:github.passwd'],
+))
 c['status'].append(mn1)
 
 # Include any global imports here that more than one project needs.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message