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

Specify builder for docker build #5002

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Specify builder for docker build #5002

merged 2 commits into from
Mar 5, 2024

Conversation

pingsutw
Copy link
Member

@pingsutw pingsutw commented Mar 5, 2024

Why are the changes needed?

Failed to build the sandbox-bundled

(flytekit-3.10) ➜  make flyte
docker buildx build --build-arg FLYTECONSOLE_VERSION=latest --platform linux/amd64 --tag flyte-binary:sandbox --output type=docker,dest=images/tar/amd64/flyte-binary.tar ../..
[+] Building 0.0s (0/0)                                                                                                                                                                                       docker:desktop-linux
ERROR: Docker exporter is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https:/docs.docker.com/go/build-exporters/
make: *** [flyte] Error 1

What changes were proposed in this pull request?

Specify builder for docker build

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

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.95%. Comparing base (4a95abf) to head (376034d).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5002      +/-   ##
==========================================
- Coverage   58.97%   58.95%   -0.03%     
==========================================
  Files         645      645              
  Lines       55562    55562              
==========================================
- Hits        32767    32754      -13     
- Misses      20200    20212      +12     
- Partials     2595     2596       +1     
Flag Coverage Δ
unittests 58.95% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pingsutw pingsutw self-assigned this Mar 5, 2024
--driver docker-container --driver-opt image=moby/buildkit:master \
--buildkitd-flags '--allow-insecure-entitlement security.insecure' \
--platform linux/arm64,linux/amd64
build: create_builder flyte dep_update manifests
Copy link
Member

Choose a reason for hiding this comment

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

Need some tiny change, cause create_builder will be called in flyte

Copy link
Member

Choose a reason for hiding this comment

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

Should we remove repetitive called?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Signed-off-by: Kevin Su <[email protected]>
Copy link
Member

@Future-Outlier Future-Outlier 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

@Future-Outlier Future-Outlier enabled auto-merge (squash) March 5, 2024 10:04
@Future-Outlier Future-Outlier merged commit 2adaf61 into master Mar 5, 2024
49 of 51 checks passed
@Future-Outlier Future-Outlier deleted the specify-builder branch March 5, 2024 10:19
@dosubot dosubot bot added lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Mar 5, 2024
yubofredwang pushed a commit to yubofredwang/flyte that referenced this pull request Mar 26, 2024
* Specify builder for docker build

Signed-off-by: Kevin Su <[email protected]>

* nit

Signed-off-by: Kevin Su <[email protected]>

---------

Signed-off-by: Kevin Su <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants