You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We added some backend options like WOODPECKER_BACKEND_SSH_ADDRESS in #893 and #861 which are accessed by os.Getenv directly. As the backend can be executed by the agent and by the cli exec command those settings need to be available for both and should be listed in the documentations of both systems.
To properly use them with urfave cli we should think about placing a flags.go file into each backend package and include this in the cli exec and agent options. This would allow us to see those options in the help of both tools and auto document them.
The text was updated successfully, but these errors were encountered:
- backends: move to cli flags instead of os.Getenv
- ssh: support 2fa with key and password
- allow to set grpc jwt secret (solves todo)
- allow to set default and max timeout (solves todo)
Closes#896Closes#1131
We added some backend options like
WOODPECKER_BACKEND_SSH_ADDRESS
in #893 and #861 which are accessed byos.Getenv
directly. As the backend can be executed by the agent and by the cli exec command those settings need to be available for both and should be listed in the documentations of both systems.To properly use them with urfave cli we should think about placing a flags.go file into each backend package and include this in the cli exec and agent options. This would allow us to see those options in the help of both tools and auto document them.
The text was updated successfully, but these errors were encountered: