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

chore(docs): earlier check for buildx #2940

Merged
merged 2 commits into from
Aug 26, 2022
Merged

Conversation

aarnphm
Copy link
Member

@aarnphm aarnphm commented Aug 25, 2022

This PR address to check for buildx earlier

This PR also remove cache stored for buildx to ensure we run that check everytime before
bentoml containerize

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
@aarnphm aarnphm requested review from ssheng, parano and a team as code owners August 25, 2022 20:58
@aarnphm aarnphm requested review from jjmachan and removed request for a team August 25, 2022 20:58
@codecov
Copy link

codecov bot commented Aug 25, 2022

Codecov Report

Merging #2940 (5cd5d1b) into main (1efcca6) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2940      +/-   ##
==========================================
- Coverage   70.79%   70.78%   -0.01%     
==========================================
  Files         104      104              
  Lines        9470     9468       -2     
==========================================
- Hits         6704     6702       -2     
  Misses       2766     2766              
Impacted Files Coverage Δ
bentoml/_internal/utils/buildx.py 48.29% <100.00%> (-0.70%) ⬇️

output = subprocess.check_output(cmds, stderr=subprocess.STDOUT)
assert "--builder string" in output.decode("utf-8")
output = subprocess.check_output(cmds)
print(output)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

oh let me remove the print.

@aarnphm aarnphm changed the title chore(docs): early check for buildx chore(docs): earlier check for buildx Aug 26, 2022
@ssheng ssheng merged commit ddcb764 into bentoml:main Aug 26, 2022
@aarnphm aarnphm deleted the chore/buildx-cmd branch August 26, 2022 05:01
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

2 participants