mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
ee969979c6
Closes https://github.com/woodpecker-ci/woodpecker/issues/1617 The `woodpecker exec` auto-detects the backend by iterating over a map of backends. However, since Go 1 the runtime randomizes map iteration order, so a random backend might be chosen during each execution. PR changes to auto-detection to iterate over the backends list with predefined priority: `docker`, `local`, `ssh`, `kubernetes`. --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> |
||
---|---|---|
.. | ||
backend | ||
frontend | ||
multipart | ||
rpc | ||
samples | ||
schema | ||
shared | ||
drone_compatibility.go | ||
error.go | ||
error_test.go | ||
logger.go | ||
option.go | ||
option_test.go | ||
pipeline.go | ||
stepBuilder.go | ||
stepBuilder_test.go | ||
tracer.go |