Skip to content

Comments

test: add e2e test cases for flag --insecure-registry#679

Merged
shizhMSFT merged 12 commits intonotaryproject:mainfrom
JeyJeyGao:feat/e2e_tls_support
May 25, 2023
Merged

test: add e2e test cases for flag --insecure-registry#679
shizhMSFT merged 12 commits intonotaryproject:mainfrom
JeyJeyGao:feat/e2e_tls_support

Conversation

@JeyJeyGao
Copy link
Contributor

@JeyJeyGao JeyJeyGao commented May 23, 2023

Feature:

  • add E2E testing TLS support for Github Action environment

Test:

  • added --insecure-registry test for sign, verify, inspect, list

Note login command E2E test cases are not included in the PR because it needs to setup credential store in Github Action and should be done in another PR. Added an issue to track it #680

Resolves #633
Signed-off-by: Junjie Gao junjiegao@microsoft.com

JeyJeyGao added 3 commits May 23, 2023 11:32
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 May 23, 2023

Codecov Report

Merging #679 (88c9231) into main (5fdefed) will increase coverage by 3.55%.
The diff coverage is n/a.

❗ 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     #679      +/-   ##
==========================================
+ Coverage   61.35%   64.91%   +3.55%     
==========================================
  Files          42       40       -2     
  Lines        2280     2183      -97     
==========================================
+ Hits         1399     1417      +18     
+ Misses        782      651     -131     
- Partials       99      115      +16     

see 10 files with indirect coverage changes

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

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
@JeyJeyGao JeyJeyGao changed the title feat: add TLS support for E2E testing test: add e2e test cases for flag --plain-http May 23, 2023
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
@JeyJeyGao JeyJeyGao changed the title test: add e2e test cases for flag --plain-http test: add e2e test cases for flag --insecure-registry May 23, 2023
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
@JeyJeyGao JeyJeyGao requested a review from a user May 24, 2023 01:51
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
shizhMSFT
shizhMSFT previously approved these changes May 24, 2023
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

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
JeyJeyGao added 2 commits May 25, 2023 09:41
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Copy link

@ghost ghost 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

@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

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 98f5290 into notaryproject:main May 25, 2023
7h3-3mp7y-m4n pushed a commit to 7h3-3mp7y-m4n/notation that referenced this pull request Mar 29, 2025
…t#679)

Feature:
- add E2E testing TLS support for Github Action environment

Test:
- added `--insecure-registry` test for sign, verify, inspect, list

> **Note** `login` command E2E test cases are not included in the PR
because it needs to setup credential store in Github Action and should
be done in another PR. Added an issue to track it notaryproject#680

Resolves notaryproject#633 
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>

---------

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
FeynmanZhou pushed a commit to FeynmanZhou/notation that referenced this pull request May 15, 2025
…t#679)

Feature:
- add E2E testing TLS support for Github Action environment

Test:
- added `--insecure-registry` test for sign, verify, inspect, list

> **Note** `login` command E2E test cases are not included in the PR
because it needs to setup credential store in Github Action and should
be done in another PR. Added an issue to track it notaryproject#680

Resolves notaryproject#633 
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>

---------

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
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.

Missing e2e test cases for flag --plain-http

4 participants