Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Only push applications from the local store #732

Merged
merged 2 commits into from
Nov 12, 2019

Conversation

rumpl
Copy link
Member

@rumpl rumpl commented Nov 8, 2019

- What I did

cnab.ResolveBundle would try the local store first and pull if the app
is not found. This is not what we want when we push. We only want to
push local applications.

- A picture of a cute animal (not mandatory)
image

@codecov
Copy link

codecov bot commented Nov 8, 2019

Codecov Report

Merging #732 into master will decrease coverage by 0.07%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #732      +/-   ##
==========================================
- Coverage    70.1%   70.02%   -0.08%     
==========================================
  Files          62       62              
  Lines        3318     3213     -105     
==========================================
- Hits         2326     2250      -76     
+ Misses        682      660      -22     
+ Partials      310      303       -7
Impacted Files Coverage Δ
internal/commands/push.go 33.08% <50%> (-7.71%) ⬇️
internal/cnab/cnab.go 32.3% <0%> (-18.47%) ⬇️
internal/packager/init.go 61.68% <0%> (-1.59%) ⬇️

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 c7927e1...1fd4785. Read the comment docs.

Copy link
Member

@eunomie eunomie left a comment

Choose a reason for hiding this comment

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

LGTM

`cnab.ResolveBundle` would try the local store first and pull if the app
is not found. This is not what we want when we push. We only want to
push local applications.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Making sure that the errors are well defined.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Copy link
Contributor

@jcsirot jcsirot left a comment

Choose a reason for hiding this comment

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

LGTM

@rumpl rumpl merged commit cab6001 into docker:master Nov 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants