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

🐛 Fix Makefile clean target and add .kcp cleanup #2712

Merged
merged 2 commits into from
Feb 1, 2023

Conversation

hardys
Copy link

@hardys hardys commented Jan 31, 2023

Summary

The clean target was added in #2562 but doesn't currently work due to the wildcard in the GOBIN_DIR test.

Also following some discussion on slack about cleanup for the .kcp* directories I added cleanup so we can more easily switch between e.g shared/sharded e2e tests locally e.g make clean test-e2e-sharded-minimal

@hardys hardys removed the request for review from davidfestal January 31, 2023 13:47
@hardys
Copy link
Author

hardys commented Jan 31, 2023

/cc @p0lyn0mial

@ncdc
Copy link
Member

ncdc commented Jan 31, 2023

I would recommend also adding a new target to just clean the .kcp* directories - you probably don't want to clean the tools/bin dirs every time you stop/restart the server.

@hardys
Copy link
Author

hardys commented Jan 31, 2023

I would recommend also adding a new target to just clean the .kcp* directories - you probably don't want to clean the tools/bin dirs every time you stop/restart the server.

Thanks - I added a clean-workdir target

Makefile Outdated Show resolved Hide resolved
Steven Hardy added 2 commits February 1, 2023 09:56
The wildcard in the GOBIN_DIR test means this currently fails
This means it's easier to run e2e tests locally with a clean
starting point e.g make clean-workdir test-e2e-sharded-minimal
@hardys
Copy link
Author

hardys commented Feb 1, 2023

/test e2e-sharded

#2685

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 1, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ncdc

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2023
@openshift-merge-robot openshift-merge-robot merged commit e850191 into kcp-dev:main Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants