Skip to content

test(e2e): re-bake test data#1094

Merged
qweeah merged 7 commits into
oras-project:mainfrom
qweeah:zot-testdata
Sep 1, 2023
Merged

test(e2e): re-bake test data#1094
qweeah merged 7 commits into
oras-project:mainfrom
qweeah:zot-testdata

Conversation

@qweeah

@qweeah qweeah commented Aug 31, 2023

Copy link
Copy Markdown
Contributor

This PR re-bakes test data to make it testable in ZOT.

The old tests data contains mediaType that cannot be copied to ZOT and it affects oras cp tests when copying between v1.1-compliant and v1.0-compliant registries.

qweeah added 4 commits August 30, 2023 12:13
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@codecov-commenter

codecov-commenter commented Aug 31, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1094 (aff1f3f) into main (2d6d36e) will increase coverage by 0.08%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #1094      +/-   ##
==========================================
+ Coverage   79.99%   80.08%   +0.08%     
==========================================
  Files          56       57       +1     
  Lines        2914     2927      +13     
==========================================
+ Hits         2331     2344      +13     
  Misses        405      405              
  Partials      178      178              
Files Changed Coverage Δ
cmd/oras/root/attach.go 82.64% <100.00%> (+0.74%) ⬆️
cmd/oras/root/push.go 75.70% <100.00%> (+0.70%) ⬆️
internal/registryutil/auth.go 100.00% <100.00%> (ø)

Comment thread test/e2e/internal/testdata/foobar/const.go Outdated
qweeah added 3 commits August 31, 2023 16:52
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@qweeah qweeah merged commit 018ca95 into oras-project:main Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants