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

Enable cleanup in E2E #639

Closed
wants to merge 25 commits into from
Closed

Enable cleanup in E2E #639

wants to merge 25 commits into from

Conversation

noobwei
Copy link
Contributor

@noobwei noobwei commented Jul 25, 2024

What type of PR is this?

/kind enhancement

What this PR does / why we need it:

Enable cleanup in E2E, include cleanup the kind cluster or docker registry or both

Which issue(s) this PR fixes:
Fixes #522

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@kmesh-bot kmesh-bot added the kind/enhancement New feature or request label Jul 25, 2024
@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hzxuzhonghu for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.37%. Comparing base (f5f92ac) to head (9af23e0).
Report is 31 commits behind head on main.

see 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06c2e03...9af23e0. Read the comment docs.

CLEANUP_REGISTRY=true
shift
;;
--cleanup-all)
Copy link
Member

Choose a reason for hiding this comment

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

I think cleanup both kind and dockerregistry is meaningful, not only one of them

}

function cleanup_docker_registry() {
local REG_NAME="${KIND_REGISTRY_NAME:-kind-registry}"
Copy link
Member

Choose a reason for hiding this comment

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

We could use KIND_REGISTRY_NAME directly, it couldn't be configured now.

@kmesh-bot kmesh-bot added size/S and removed size/M labels Jul 27, 2024
@YaoZengzeng
Copy link
Member

@noobwei should rebase first, as I've modified test/e2e/run_test.sh.

YaoZengzeng and others added 19 commits July 29, 2024 15:05
Signed-off-by: YaoZengzeng <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Bumps [github.com/containernetworking/cni](https://github.com/containernetworking/cni) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/containernetworking/cni/releases)
- [Commits](containernetworking/cni@v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/containernetworking/cni
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: YaoZengzeng <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
hzxuzhonghu and others added 6 commits July 29, 2024 15:05
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: Zhonghu Xu <[email protected]>
Signed-off-by: noobwei <[email protected]>
@YaoZengzeng
Copy link
Member

Actually you don't need to close this PR, just use "git push -f" to force overwrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[E2E Enchancement] define command line flags for different cleanup granularity
6 participants