summaryrefslogtreecommitdiff
path: root/doc/forge.skb
diff options
context:
space:
mode:
authorArun Isaac2022-10-17 16:51:53 +0530
committerArun Isaac2022-10-17 16:51:53 +0530
commite30651ac8d3efb13cc23b843273d780f4da75708 (patch)
tree566492d9df0cf55861ab293333632fe074772933 /doc/forge.skb
parent78fab4cf716278000eae0884c98ee81b5c2c06c5 (diff)
downloadguix-forge-e30651ac8d3efb13cc23b843273d780f4da75708.tar.gz
guix-forge-e30651ac8d3efb13cc23b843273d780f4da75708.tar.lz
guix-forge-e30651ac8d3efb13cc23b843273d780f4da75708.zip
webhook: Use <forge-*-socket> to configure socket.
* doc/forge.skb (Reference)[<webhook-configuration>]: Replace ip and port fields with the socket field. * guix/forge/webhook.scm: Import (forge socket). (<webhook-configuration>): Replace ip and port fields with the socket field. (webhook-shepherd-service): Reference the socket field instead of the ip and port fields.
Diffstat (limited to 'doc/forge.skb')
-rw-r--r--doc/forge.skb7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/forge.skb b/doc/forge.skb
index 5c46412..16089b5 100644
--- a/doc/forge.skb
+++ b/doc/forge.skb
@@ -254,10 +254,9 @@ respectively. The any address is ,(code ["0.0.0.0"]) and ,(code
(record-documentation "guix/forge/webhook.scm" '<webhook-configuration>
(record-field "package"
[,(code [webhook]) package to use])
- (record-field "ip"
- [IP address to listen on])
- (record-field "port"
- [Port to listen on])
+ (record-field "socket"
+ [Socket, a ,(ref :mark "<forge-ip-socket>" :text (code
+[<forge-ip-socket>])) object, to listen on.])
(record-field "log-directory"
[Directory to write log files to])
(record-field "hooks"