forked from flensrocker/yavdr-python-buildserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
28 lines (26 loc) · 798 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Install signing key
-------------------
sudo su -
export GNUPGHOME=/var/lib/gh2lp/.gnupg
mkdir ${GNUPGHOME}
chmod 700 ${GNUPGHOME}
gpg --keyserver keyserver.ubuntu.com --recv-keys 138A2351
gpg --import yavdr-release-private.asc
chown -R gh2lp.gh2lp ${GNUPGHOME}
exit
Configure
---------
edit /etc/gh2lp/yavdr.conf, adjust smtp-settings
edit /etc/init/gh2lp.conf, adjust HOOK_SECRET_KEY
"start gh2lp"
Install Webhook
---------------
visit repository: https://github.com/yavdr/yavdr-base
select "Settings" on the right side
select "Webhooks & Services" on the left side
add new Webhook (or edit old hook)
Payload URL: http://your.server:8180/
Content type: application/json
Secret: enter the same secret as in the upstart job in HOOK_SECRET_KEY
select "just the push event"
select "Update webhook"