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

E2e tests for K8sImagePuller validating webhook #840

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

dkwon17
Copy link
Contributor

@dkwon17 dkwon17 commented Nov 13, 2023

E2e tests for codeready-toolchain/member-operator#493

I've added a commit to temporarily disable validating webhook tests (just like in #809).

I plan to make a PR to enable the validating webhook tests after codeready-toolchain/member-operator#493 is merged

Copy link

openshift-ci bot commented Nov 13, 2023

Hi @dkwon17. Thanks for your PR.

I'm waiting for a codeready-toolchain member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@alexeykazakov
Copy link
Contributor

/ok-to-test

@alexeykazakov
Copy link
Contributor

/retest

infra

Copy link
Contributor

@alexeykazakov alexeykazakov left a comment

Choose a reason for hiding this comment

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

Looks good. However if #836 is merged first then you won't need to disable the test anymore.

Comment on lines 2317 to 2321
if val := os.Getenv("skip-webhook-checks-on-setup"); val == "true" {
// skipped temporarily only for setup migration test but applies for after migration test
// This should be removed after PR https://github.com/codeready-toolchain/member-operator/pull/493 is merged
return
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

#836 is already merged, you can just rebase your branch with the latest changes and drop this workaround

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done with latest push

@dkwon17
Copy link
Contributor Author

dkwon17 commented Nov 14, 2023

@MatousJobanek @alexeykazakov I rebased the PR (since it's a small PR) and dropped the workaround

@dkwon17
Copy link
Contributor Author

dkwon17 commented Nov 14, 2023

Sorry @alexeykazakov , maybe it was better to not rebase and force push the PR in this case, I've rerun the e2e tests to make sure it passes again: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/codeready-toolchain_member-operator/493/pull-ci-codeready-toolchain-member-operator-master-e2e/1724443025058304000

@alexeykazakov
Copy link
Contributor

You don't have to push with force to re-run the tests. You can do /test all to force all the test to re-run instead.

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

openshift-ci bot commented Nov 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, dkwon17

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alexeykazakov alexeykazakov merged commit d2e570a into codeready-toolchain:master Nov 15, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants