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

Added entrypoint to imagespec and default builder #2553

Merged

Conversation

pryce-turner
Copy link
Contributor

Why are the changes needed?

Base image entrypoints will sometimes conflict with pyflyte-execute this option allows the user to either nullify or replace the entrypoint of the base image.

What changes were proposed in this pull request?

Adds entrypoint attr to ImageSpec

How was this patch tested?

unit tests

Check all the applicable boxes

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

Signed-off-by: pryce-turner <pryce.turner@gmail.com>
Signed-off-by: pryce-turner <pryce.turner@gmail.com>
Signed-off-by: pryce-turner <pryce.turner@gmail.com>
…optional str to avoid entrypoint reset behavior

Signed-off-by: pryce-turner <pryce.turner@gmail.com>
@pingsutw
Copy link
Member

pingsutw commented Jul 3, 2024

I'll update the envd builder in the follow-up PR.

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.28%. Comparing base (825a50e) to head (bd1a217).
Report is 3 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2553       +/-   ##
===========================================
+ Coverage   53.88%   77.28%   +23.40%     
===========================================
  Files         183      217       +34     
  Lines       18716    19873     +1157     
  Branches     3694     3695        +1     
===========================================
+ Hits        10085    15359     +5274     
+ Misses       8143     3880     -4263     
- Partials      488      634      +146     

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

@pryce-turner pryce-turner merged commit 3cd5876 into master Jul 3, 2024
48 checks passed
@pryce-turner pryce-turner deleted the pryce/dx-850-add-entrypoint-handling-to-imagespec branch July 3, 2024 23:43
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
* Added entrypoint to imagespec and default builder

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

* Added docstring

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

* Revert reqs.txt

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

* Fixed falsey behavior of empty list, moved ENTRYPOINT directive into optional str to avoid entrypoint reset behavior

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

---------

Signed-off-by: pryce-turner <pryce.turner@gmail.com>
Signed-off-by: Jan Fiedler <jan@union.ai>
mao3267 pushed a commit to mao3267/flytekit that referenced this pull request Jul 29, 2024
* Added entrypoint to imagespec and default builder

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

* Added docstring

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

* Revert reqs.txt

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

* Fixed falsey behavior of empty list, moved ENTRYPOINT directive into optional str to avoid entrypoint reset behavior

Signed-off-by: pryce-turner <pryce.turner@gmail.com>

---------

Signed-off-by: pryce-turner <pryce.turner@gmail.com>
Signed-off-by: mao3267 <chenvincent610@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants