bright-policeman-43626
05/15/2024, 7:04 AMsources
to bring modules from external repositories; I have to repeat all the variables (copy and paste all the vars from one module into the module I'm invoking it from),
is it possible to set some sort of inheritance so I don't have to do that?
Main problem is that If I'm bringing 3+ services to a parent application I have to add HUNDREDS of variables and keep them in sync between different repos, kind of a nightmare it would be great if I could just inherit all the variables and do overrides only in case I need to.
Thanks y'all!freezing-pharmacist-34446
05/21/2024, 12:22 PMkind: Run
name: myvars
description: Helper action for storing variables that are used by other API related actions.
type: exec
include: []
# This is required but we're only using it to store variables
# Replace this with `kind: Config` when we support that.
spec:
command: []
variables:
env:
FOO: BAR
BAZ: FOO
---
...
env:
$forEach: ${actions.run.myvars.var.env}
$return:
name: ${item.key}
value: ${item.value}
bright-policeman-43626
05/21/2024, 2:31 PMfreezing-pharmacist-34446
05/23/2024, 12:19 PMbright-policeman-43626
05/24/2024, 3:16 PM