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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix bentoml containerize command help message #2957

Merged
merged 5 commits into from Aug 31, 2022

Conversation

aarnphm
Copy link
Member

@aarnphm aarnphm commented Aug 30, 2022

update docstring to address #2956

This PR also fix a tiny messaging format when user did custom tag. I forgot to push the change for the message fixing multiple tags 馃槃

Screenshot 2022-08-30 at 13 21 24

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
@aarnphm aarnphm requested a review from a team as a code owner August 30, 2022 20:10
@aarnphm aarnphm requested review from sauyon and removed request for a team August 30, 2022 20:10
@parano parano changed the title docs: update docstring docs: fix bentoml containerize command help message Aug 30, 2022
bentoml_cli/containerize.py Outdated Show resolved Hide resolved
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #2957 (6e84997) into main (9e05c51) will decrease coverage by 0.89%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2957      +/-   ##
==========================================
- Coverage   70.60%   69.71%   -0.90%     
==========================================
  Files         104      104              
  Lines        9538     9538              
==========================================
- Hits         6734     6649      -85     
- Misses       2804     2889      +85     
Impacted Files Coverage 螖
bentoml/_internal/utils/buildx.py 0.00% <0.00%> (-48.30%) 猬囷笍
bentoml/_internal/utils/docker.py 34.48% <0.00%> (-34.49%) 猬囷笍
bentoml/_internal/runner/runner_handle/remote.py 85.41% <0.00%> (-3.13%) 猬囷笍
bentoml/_internal/utils/__init__.py 76.77% <0.00%> (-0.48%) 猬囷笍

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
bentoml/bentos.py Outdated Show resolved Hide resolved
f'To run your newly built Bento container, use: "docker run -it --rm -p 3000:3000 {docker_image_tag}"'
'Successfully built docker image for "%s" with tags "%s"',
str(bento.tag),
docker_image_tag if not custom_tags else ",".join(docker_image_tag),
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems to me like we should make this variable always an array.

Copy link
Member Author

Choose a reason for hiding this comment

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

I remember we have this discussion before, let me do that.

ssheng
ssheng previously approved these changes Aug 30, 2022
Co-authored-by: Sauyon Lee <2347889+sauyon@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
@aarnphm aarnphm requested review from ssheng and sauyon August 31, 2022 20:35
Copy link
Contributor

@sauyon sauyon left a comment

Choose a reason for hiding this comment

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

馃憤

@aarnphm aarnphm merged commit f0e0bf0 into bentoml:main Aug 31, 2022
@aarnphm aarnphm deleted the docs/docker branch August 31, 2022 22:37
@sauyon
Copy link
Contributor

sauyon commented Sep 1, 2022

Er, these test failures look new, do you know what's going on?

@aarnphm
Copy link
Member Author

aarnphm commented Sep 1, 2022

Er, these test failures look new, do you know what's going on?

no clue, from 37beaf8 out of nowhere.

jiewpeng pushed a commit to jiewpeng/BentoML that referenced this pull request Sep 1, 2022
Co-authored-by: Sauyon Lee <2347889+sauyon@users.noreply.github.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.

None yet

3 participants