Open marshall007 opened 1 month ago
@zachariahmiller Appreciate the feedback @marshall007. In the interest of our immediate priorities though have to agree with @Racer159. Good tech debt issue or target of that elusive 2.0 we discussed previously that is more fully featured.
It would be nice if we tracked variables in a
context.Context
object and had an API for evaluating (potentially) templated string values like so:I think this interface could work for task/action inputs, environment variables, and eventually outputs.
This is basically what I was trying to do in #117 (see
runner.Resolve(taskName)
) but it's a very difficult refactor._Originally posted by @marshall007 in https://github.com/defenseunicorns/maru-runner/pull/139#discussion_r1765594139_