Store agent ID in config file (#1888)

This commit is contained in:
Timo Tomasini
2023-07-02 17:22:05 +02:00
committed by GitHub
parent 0e25d6d35a
commit eb5c48a85f
8 changed files with 145 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ A shared secret used by server and agents to authenticate communication. A secre
### `WOODPECKER_AGENT_SECRET_FILE`
> Default: empty
Read the value for `WOODPECKER_AGENT_SECRET` from the specified filepath
Read the value for `WOODPECKER_AGENT_SECRET` from the specified filepath, e.g. `/etc/woodpecker/agent-secret.conf`
### `WOODPECKER_LOG_LEVEL`
> Default: empty
@@ -80,6 +80,11 @@ Disable colored debug output.
Configures the agent hostname.
### `WOODPECKER_AGENT_ID_FILE`
> Default: `/etc/woodpecker/agent-id.conf`
Configures the path of the agent-id.conf file.
### `WOODPECKER_MAX_WORKFLOWS`
> Default: `1`