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

introduce support for custom build outputs #10642

Closed
wants to merge 1 commit into from

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Jun 1, 2023

What I did
introduce --output flag on build command to export built artifact with alternate exporter.
AFAICT having this as part of the compose.yaml service definition doesn't make much sense as compose up scenario require image to be exported to container runtime local store. On the other hand, maybe there's room for new use-cases?

Related issue
fixes #9586

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@codecov
Copy link

codecov bot commented Jun 1, 2023

Codecov Report

Patch coverage: 55.17% and project coverage change: -8.20 ⚠️

Comparison is base (d2aa15c) 59.07% compared to head (a221edb) 50.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10642      +/-   ##
==========================================
- Coverage   59.07%   50.88%   -8.20%     
==========================================
  Files         107      107              
  Lines        9469     9494      +25     
==========================================
- Hits         5594     4831     -763     
- Misses       3291     4125     +834     
+ Partials      584      538      -46     
Impacted Files Coverage Δ
pkg/api/api.go 43.39% <ø> (ø)
pkg/compose/build_buildkit.go 28.84% <0.00%> (ø)
cmd/compose/build.go 69.87% <40.00%> (-4.45%) ⬇️
pkg/compose/build.go 69.90% <43.33%> (-3.16%) ⬇️
cmd/compose/compose.go 72.96% <88.23%> (ø)

... and 27 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ndeloof ndeloof closed this Dec 20, 2023
@ndeloof ndeloof deleted the build_output branch December 20, 2023 13:37
@Ryanf55
Copy link

Ryanf55 commented Feb 7, 2024

What was the reason this was closed? I use build outputs to take unit tests results and report them back to CI. Without this support, looks like I cannot use compose in CI for build/test. I like the proposal.

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.

"Custom build outputs" support
2 participants