-
Notifications
You must be signed in to change notification settings - Fork 177
[APP-257] Add integration tests to check CNAB bundle API #755
[APP-257] Add integration tests to check CNAB bundle API #755
Conversation
Please sign your commits following these rules: $ git clone -b "app-257_cnab_api_tests" git@github.com:aiordache/app.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354111120
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f Amending updates the existing PR. You DO NOT need to open a new one. |
a4d8af5
to
d20c5c8
Compare
7277e85
to
f6e4aec
Compare
bf747a1
to
78a0f26
Compare
Codecov Report
@@ Coverage Diff @@
## master #755 +/- ##
==========================================
+ Coverage 70.17% 70.26% +0.08%
==========================================
Files 64 64
Lines 3568 3598 +30
==========================================
+ Hits 2504 2528 +24
- Misses 732 735 +3
- Partials 332 335 +3
Continue to review full report at Codecov.
|
bb5a553
to
92a76c7
Compare
f08376e
to
8d96f98
Compare
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
8d96f98
to
f1e3cee
Compare
59bcaf1
to
d3918d8
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.
Looks good as a first version if @silvin-lubecki is ok with the answers to his comments.
e2e/compatibility_test.go
Outdated
) | ||
|
||
func loadAndTagImage(info dindSwarmAndRegistryInfo, tmpDir *fs.Dir, tag string, url string) error { | ||
|
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.
nit: empty line
assert.NilError(t, os.MkdirAll(bundleDir, os.FileMode(0777))) | ||
assert.NilError(t, ioutil.WriteFile(filepath.Join(bundleDir, "bundle.json"), data, os.FileMode(0644))) | ||
|
||
// load images build with an old Docker App version |
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.
// load images build with an old Docker App version | |
// load images built with an old Docker App version |
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 with @eunomie nits
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
APP-257
- What I did
Check mandatory fields in the CNAB bundle for v1.
Added E2E test for running an app generated with an old docker app version.
- Description for the changelog
E2E test for backwards compatibility
- A picture of a cute animal (not mandatory)