Conversation
6e3494a
to
3b49196
Compare
b1a1885
to
6f3e3fe
Compare
096ad10
to
2218cc1
Compare
Codecov Report
@@ Coverage Diff @@
## master #655 +/- ##
=======================================
Coverage 71.21% 71.21%
=======================================
Files 57 57
Lines 3088 3088
=======================================
Hits 2199 2199
Misses 599 599
Partials 290 290 Continue to review full report at Codecov.
|
3c708e3
to
b714187
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some code in test must be removed, I think it's due to some conflict resolution after a rebase
Code moved to packager Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
bake do offer utility functions to convert a compose file into Targets, then Targets into build.Options, but doing so it also implement compose environment variable replacement, which doesnt apply to docker app build Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
If we don't, parsing into cli/compose/types can be broken by parameters that we don't want replaced by env Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
otherwise we get a cryptic failure about 404 on grpc endpoint Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
so we don't depend on docker version installed on CI nodes Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Co-Authored-By: Yves Brissaud <yves.brissaud@gmail.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Also apply recommendations from code review Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
namedRef, err := reference.ParseNormalizedNamed(tag) | ||
if err != nil { | ||
return nil, err | ||
} | ||
ref, ok := reference.TagNameOnly(namedRef).(reference.NamedTagged) | ||
if !ok { | ||
return nil, fmt.Errorf("tag %q must be name with a tag in the 'name:tag' format", tag) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this can be replaced by reference.ParseDockerRef
. It does a little more but handle the ParseNormalizedNamed
+ TagNameOnly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code actually has been moved, not created (unfortunately GH doesn't mark the full file as "new" in the diff view.
This whole thing anyway has to be revisited once we start working on "ID" as we will rely on more abstract reference.Reference
an not just Named
.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
- What I did
Introduce support for "build" in docker app relying on buildx
- How I did it
Mostly by vendoring buildx
bake
command.bundle command has been removed as obsolete
push command has been updated
- How to verify it
includes a dedicated e2e test
- Description for the changelog
Introduce
docker app build
command- A picture of a cute animal (not mandatory but encouraged)