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

Add the docker app version in the bundle #692

Merged
merged 1 commit into from Oct 15, 2019

Conversation

rumpl
Copy link
Member

@rumpl rumpl commented Oct 14, 2019

- What I did
Added the docker app version in the generated bundle. This will help us track what we can or not do with the bundle we are dealing with.

- How to verify it

  • Build an application
  • Look at the generated bundle (in the bundle store), it should containe the verison of docker app in custom["com.docker.app.version"].

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

"testing"

"github.com/docker/app/internal"
Copy link
Contributor

Choose a reason for hiding this comment

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

Import order is weird 🤔

@rumpl rumpl force-pushed the feat-docker-app-version-custom branch from 02f5645 to 4509275 Compare October 14, 2019 15:57
@codecov
Copy link

codecov bot commented Oct 14, 2019

Codecov Report

Merging #692 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #692      +/-   ##
==========================================
+ Coverage   71.74%   71.82%   +0.08%     
==========================================
  Files          56       56              
  Lines        2884     2889       +5     
==========================================
+ Hits         2069     2075       +6     
+ Misses        551      550       -1     
  Partials      264      264
Impacted Files Coverage Δ
internal/names.go 100% <ø> (ø) ⬆️
internal/packager/cnab.go 97.72% <100%> (+0.06%) ⬆️
types/parameters/parameters.go 93.65% <0%> (+1.58%) ⬆️

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 3e97bfd...37b6193. Read the comment docs.

This will help us track what we can or not do with the bundle we are
dealing with.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl force-pushed the feat-docker-app-version-custom branch from 4509275 to 37b6193 Compare October 14, 2019 16:24
Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM + tests 👌

@glours glours merged commit 8539c06 into docker:master Oct 15, 2019
@rumpl rumpl deleted the feat-docker-app-version-custom branch October 18, 2019 08:35
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.

None yet

4 participants