Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step Specific Env #234

Closed
yottahmd opened this issue Aug 3, 2022 · 0 comments
Closed

Step Specific Env #234

yottahmd opened this issue Aug 3, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@yottahmd
Copy link
Collaborator

yottahmd commented Aug 3, 2022

By specifying environment variables on a per-step basis, the maintainability of workflows can be greatly improved. For instance, the following YAML snippet sets the FOO environment variable to "BAR" for task1:

env:
  - FOO: "BAR"
steps:
  - name: task1
    env:
      - FOO: "BAR-TASK1"
    command: echo $FOO # "BAR-TASK1" will be printed in the log
@yottahmd yottahmd changed the title Allow environment variables ‘env‘ to be set on a ‘step‘ Allow environment variables env to be set on a step Aug 4, 2022
@yottahmd yottahmd changed the title Allow environment variables env to be set on a step Add env field to step in DAG spec Aug 10, 2022
@yottahmd yottahmd modified the milestones: v1.7.0, v1.7.x Aug 11, 2022
@yottahmd yottahmd added the good first issue Good for newcomers label Aug 13, 2022
@yottahmd yottahmd modified the milestones: v1.7.x, v1.7.7 Aug 19, 2022
@yottahmd yottahmd removed enhancement good first issue Good for newcomers labels Feb 23, 2023
@yottahmd yottahmd changed the title Add env field to step in DAG spec [Feature Request] Step Specific Env Mar 25, 2023
@yottahmd yottahmd changed the title [Feature Request] Step Specific Env Step Specific Env Apr 24, 2023
@yottahmd yottahmd added enhancement good first issue Good for newcomers help wanted Extra attention is needed labels Dec 9, 2023
@yottahmd yottahmd removed the help wanted Extra attention is needed label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant