Closed eunomie closed 4 years ago
Merging #748 into master will decrease coverage by
0.01%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #748 +/- ##
==========================================
- Coverage 69.58% 69.56% -0.02%
==========================================
Files 64 64
Lines 3567 3568 +1
==========================================
Hits 2482 2482
- Misses 757 758 +1
Partials 328 328
Impacted Files | Coverage Δ | |
---|---|---|
internal/commands/push.go | 34.09% <100%> (+0.5%) |
:arrow_up: |
types/parameters/parameters.go | 92.06% <0%> (-1.59%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9a49da4...4746133. Read the comment docs.
Is this still WIP?
Is this still WIP?
It's waiting for approval on https://github.com/docker/cnab-to-oci/pull/82 (and I will rebase it)
- What I did
When we are doing the
fixup
of a bundle, apply relocation map when necessary.Previous behaviour:
The goal of this commit is to add one more condition, to copy/mount images that has been previously pushed from the local docker image store and so that can be resolved using the relocation map.
So the behaviour looks like:
- How I did it
Use new
cnab-to-oci
, see https://github.com/docker/cnab-to-oci/pull/82- How to verify it
The affected workflow is the following:
docker app build
Image: web
Image: web
associated to an entry in the relocation map:web: registry/user/repo:tag@sha256...
web
is not resolved in the registry (but the corresponding image has already been pushed)- Description for the changelog
Use relocation map to copy images already present on the registry when pushing a pulled bundled without to have locally all the images.