Open 6543 opened 1 week ago
https://github.com/woodpecker-ci/woodpecker/blob/1c7728fae3b5f2f6ce99580066bed6b2f98167d2/pipeline/frontend/yaml/compiler/convert.go#L101 https://github.com/woodpecker-ci/woodpecker/blob/1c7728fae3b5f2f6ce99580066bed6b2f98167d2/pipeline/frontend/yaml/compiler/compiler.go#L97
instead of definding on the fly func and passing al secrets onto the compiler, we can inject an function that can directly query the database ... and for cli the args etc...
NOTE: if #3723 merged should als be done for it
-> https://github.com/woodpecker-ci/woodpecker/pull/4384 well a simple function wont do ... we should adjust and add a SecretService
https://github.com/woodpecker-ci/woodpecker/blob/1c7728fae3b5f2f6ce99580066bed6b2f98167d2/pipeline/frontend/yaml/compiler/convert.go#L101 https://github.com/woodpecker-ci/woodpecker/blob/1c7728fae3b5f2f6ce99580066bed6b2f98167d2/pipeline/frontend/yaml/compiler/compiler.go#L97
instead of definding on the fly func and passing al secrets onto the compiler, we can inject an function that can directly query the database ... and for cli the args etc...