Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: e2e framework #493

Merged
merged 24 commits into from
Jan 11, 2023
Merged

Conversation

JeyJeyGao
Copy link
Contributor

@JeyJeyGao JeyJeyGao commented Dec 22, 2022

Please follow this order to review: this PR -> #494

  • Added Notaton E2E integration test framework in ./test/e2e directory
  • Added Github Action E2E test
  • Added multi-registry support: zot, dockerhub

Signed-off-by: Junjie Gao junjiegao@microsoft.com
Signed-off-by: zaihaoyin zaihaoyin@microsoft.com

zaihaoyin and others added 8 commits December 22, 2022 13:08
Signed-off-by: zaihaoyin <zaihaoyin@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2022

Codecov Report

Merging #493 (bc50cd7) into main (f83a48b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #493   +/-   ##
=======================================
  Coverage   29.57%   29.57%           
=======================================
  Files          26       26           
  Lines        1515     1515           
=======================================
  Hits          448      448           
  Misses       1050     1050           
  Partials       17       17           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JeyJeyGao JeyJeyGao force-pushed the feat/e2e_framework branch 2 times, most recently from 1c873e1 to 77f6b7a Compare December 22, 2022 07:37
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
@JeyJeyGao JeyJeyGao changed the title feat: e2e framework test: e2e framework Dec 22, 2022
.gitignore Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
test/e2e/Readme.md Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/trustpolicy.go Outdated Show resolved Hide resolved
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
.github/workflows/build.yml Outdated Show resolved Hide resolved
test/e2e/internal/notation/key.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Show resolved Hide resolved
test/e2e/run.sh Outdated Show resolved Hide resolved
@JeyJeyGao JeyJeyGao force-pushed the feat/e2e_framework branch 6 times, most recently from 5b295b4 to 38872f6 Compare January 4, 2023 14:56
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
test/e2e/internal/notation/file.go Show resolved Hide resolved
test/e2e/internal/notation/file.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/file.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/key.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/registry.go Show resolved Hide resolved
test/e2e/internal/utils/host.go Outdated Show resolved Hide resolved
test/e2e/suite/command/sign.go Show resolved Hide resolved
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Copy link
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

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

LGTM

test/e2e/internal/notation/file.go Outdated Show resolved Hide resolved
test/e2e/internal/notation/file.go Show resolved Hide resolved
test/e2e/internal/notation/registry.go Outdated Show resolved Hide resolved
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

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

LGTM with some feedback

test/e2e/suite/command/sign.go Show resolved Hide resolved
test/e2e/run.sh Show resolved Hide resolved
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit 573b17f into notaryproject:main Jan 11, 2023
priteshbandi pushed a commit to priteshbandi/notation that referenced this pull request Feb 1, 2023
- Added Notaton E2E integration test framework in ./test/e2e directory
- Added Github Action E2E test
- Added multi-registry support: zot, dockerhub

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Co-authored-by: zaihaoyin <zaihaoyin@microsoft.com>
@yizha1 yizha1 linked an issue Feb 17, 2023 that may be closed by this pull request
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.

E2E Automation Testing for CLI commands
8 participants