woodpecker/docs/docs
velsinki dda4998261
Change healtcheck port into address format, redo #1197 (#1423)
As discussed in the comments in PR #1197. Also add documenation
accordingly.

One thing I'm not sure about is the simple check in health.go if the
address is usable in the GET request or not. From reading
https://pkg.go.dev/net#Dial it seems that the only non-standard address
format that would work in the `net` package but not in a GET url would
likely only be `:port`, as the others listed here are actually also
valid urls:

`For TCP, UDP and IP networks, if the host is empty or a literal
unspecified IP address, as in ":80", "0.0.0.0:80" or "[::]:80" for TCP
and UDP, "", "0.0.0.0" or "::" for IP, the local system is assumed.`

One additional thing I noticed is that while `WOODPECKER_SERVER_ADDR`
and `WOODPECKER_SERVER_ADDR` use the default value format of `:PORT`,
`WOODPECKER_SERVER` actually uses `localhost:9000`. I guess it makes a
bit of sense, considering the server might not be local to the agent,
but it looks a bit inconsistent this way. I don't think it would hurt to
make the `WOODPECKER_HEALTHCHECK_ADDR` in this format too, but then it's
different from the server flags again... :-)
2022-11-19 13:06:51 +02:00
..
20-usage Add option to ignore failures on steps (#1219) 2022-11-15 19:47:27 +01:00
30-administration Change healtcheck port into address format, redo #1197 (#1423) 2022-11-19 13:06:51 +02:00
92-development Spelling (#1405) 2022-11-09 08:12:17 +01:00
10-intro.md Fix CLI format and plugin settings in docs (#1390) 2022-11-02 18:02:41 +01:00
80-downloads.md Fix broken link in documentation (#1057) 2022-07-31 20:42:35 +02:00
91-migrations.md Spelling (#1405) 2022-11-09 08:12:17 +01:00
92-awesome.md Spelling (#1405) 2022-11-09 08:12:17 +01:00
woodpecker.png Update README (#560) 2021-12-03 15:36:22 +01:00