Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Added support for EnvironmentVariables on ExecutionConfig #558

Merged
merged 3 commits into from
May 3, 2023

Conversation

hamersaw
Copy link
Contributor

@hamersaw hamersaw commented May 2, 2023

TL;DR

This PR adds an EnvironmentVariables field to the ExecutionConfig which propagates through to the taskExecutionMetadata so that variables defined here may be applied to all tasks Flyte starts.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

^^^

Tracking Issue

flyteorg/flyte#2447

Follow-up issue

NA

hamersaw added 2 commits May 2, 2023 18:33
Signed-off-by: Daniel Rammer <[email protected]>
@hamersaw hamersaw marked this pull request as ready for review May 3, 2023 18:54
@hamersaw hamersaw requested review from kumare3 and EngHabu as code owners May 3, 2023 18:54
@hamersaw hamersaw requested a review from pingsutw May 3, 2023 18:54
@codecov
Copy link

codecov bot commented May 3, 2023

Codecov Report

Merging #558 (7ce7209) into master (0025cbe) will increase coverage by 0.42%.
The diff coverage is 33.33%.

❗ Current head 7ce7209 differs from pull request most recent head d4998b1. Consider uploading reports for the commit d4998b1 to get more accurate results

Signed-off-by: Daniel Rammer <[email protected]>
Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @hamersaw. I'm going to make the changes to flytekit and UI

@hamersaw hamersaw merged commit 5b50d88 into master May 3, 2023
@hamersaw hamersaw deleted the feature/environment-variables branch May 3, 2023 20:23
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
* added environment variables to ExecutionConfig and propagated to taskExecutionMetadata

Signed-off-by: Daniel Rammer <[email protected]>

* fixed unit tests

Signed-off-by: Daniel Rammer <[email protected]>

* updated flyteplugins

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants