Persist Environmental Variables across steps in a stage
long-term
G
Gold Macaw
Developer experience would be improved if there was a simple way for environmental variables to persist across steps in a stage. Right now we frequently have to set the same variables for each step which are outputs from a first step. This is very repetitive and can be prone to mistakes if you start involving expressions.
as a specific example, we assume a AWS role and have to add the AWS environmental credential variables to each subsequent step that uses it. this is inconvenient and repetitive when setting up pipelines. It's also not fun to have to deal with those output expressions. Some more user-friendly way to persist these or set once would improve dev experience. especially if it can be set from within a template so that it's just plug and play
Log In
Canny AI
Merged in a post:
Reference output variables without needing a step ID
T
Tight Swordfish
Today we have to reference a Step/Stage ID to be able to use output variables. It would be great if those output variables were rendered as part of the regular stage/pipeline variables after these steps have executed. It would be great if the scope was configurable where on the step where the outputs are created, ie. pipeline level, stage level, etc.
Harness Engineering
long-term
Canny AI
Merged in a post:
support aliases (published variable names scope) in all steps which support output variable
N
Novel Cod
RFE to support published variables in other steps . Currently only shell script step support published variables aliases. This is a very convenient feature to have a short convenient variable name . Pls support in other steps which have an output variable or the least support this in http step
Canny AI
Merged in a post:
<+stepGroup.variables.VAR_ID> should be able to reference variables in nested step groups
H
Hollow Carp
If I have a nested stepGroup and want to reference a variable in the parent step group, I should be able to do it with <+stepGroup.variables.VAR_ID> without having to provide the stepGroupID, StageID, or pipelineID.
Canny AI
Merged in a post:
Enhancement for resolving step-group variables in the initialize step
Y
Yellow green Deer
Enhancement for resolving step-group variables in the initialize step