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

unpin envd and add extra_path to imagespec #2063

Merged
merged 9 commits into from
Dec 21, 2023
Merged

unpin envd and add extra_path to imagespec #2063

merged 9 commits into from
Dec 21, 2023

Conversation

samhita-alla
Copy link
Contributor

@samhita-alla samhita-alla commented Dec 21, 2023

Tracking issue

fixes flyteorg/flyte#4625

Why are the changes needed?

the working directory of the base image needs to be propagated to the image being built with imagespec.

What changes were proposed in this pull request?

this PR adds extra_path to imagespec. all the paths provided in extra_path will be appended to PATH in the image. also, not pinning the envd dependency.

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (a41bd1f) 86.00% compared to head (8a1b82a) 85.70%.
Report is 5 commits behind head on master.

Files Patch % Lines
...lytekit-envd/flytekitplugins/envd/image_builder.py 58.33% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2063      +/-   ##
==========================================
- Coverage   86.00%   85.70%   -0.31%     
==========================================
  Files         309      313       +4     
  Lines       23060    23359     +299     
  Branches     3489     3489              
==========================================
+ Hits        19832    20019     +187     
- Misses       2617     2733     +116     
+ Partials      611      607       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
@samhita-alla samhita-alla changed the title unpin envd version unpin envd and add extra_path to imagespec Dec 21, 2023
@samhita-alla samhita-alla marked this pull request as ready for review December 21, 2023 09:23
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
pingsutw
pingsutw previously approved these changes Dec 21, 2023
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.

LGTM, thank you @samhita-alla

Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw merged commit 1087356 into master Dec 21, 2023
81 of 84 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants