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

Add cleanup rules to Makefile #221

Merged
merged 1 commit into from Oct 6, 2022
Merged

Add cleanup rules to Makefile #221

merged 1 commit into from Oct 6, 2022

Conversation

gkurz
Copy link
Member

@gkurz gkurz commented Sep 23, 2022

This provides a finer grained way to prune generated files from the current tree over calling git clean. Each target that generates files gets an associated ${target}-clean : this provides a clear view of which target generates what. Only exceptions are downloaded binaries which all get pruned by a single bin-clean target for the sake of simplicity.

Signed-off-by: Greg Kurz groug@kaod.org

- Description of the problem which is fixed/What is the use case

- What I did

- How to verify it

- Description for the changelog

@@ -12,5 +12,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newTag: latest
newName: quay.io/rhgkurz/openshift-sandboxed-containers-operator
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is unrelated to this PR ?

Copy link
Member Author

@gkurz gkurz Sep 27, 2022

Choose a reason for hiding this comment

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

I think this is unrelated to this PR ?

My bad, I forgot to undo the build changes again before pushing... I hate go for this. :-\

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed @littlejawa .

This provides a finer grained way to prune generated files from the
current tree over calling `git clean`. Each target that generates
files gets an associated `${target}-clean` : this provides a clear
view of which target generates what. Only exceptions are downloaded
binaries which all get pruned by a single `bin-clean` target for
the sake of simplicity.

Signed-off-by: Greg Kurz <groug@kaod.org>
Copy link
Contributor

@littlejawa littlejawa left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks !

Copy link
Contributor

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks @gkurz

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 28, 2022
Copy link
Contributor

@cpmeadors cpmeadors left a comment

Choose a reason for hiding this comment

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

Sweet changes! I love make clean. I was manually doing this. Looks good.

@cpmeadors
Copy link
Contributor

Prow checks will not pass currently. use {slash}override to overcome this.

@gkurz
Copy link
Member Author

gkurz commented Oct 5, 2022

/override

@openshift-ci
Copy link

openshift-ci bot commented Oct 5, 2022

@gkurz: /override requires failed status contexts to operate on, but none was given

In response to this:

/override

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.

@gkurz
Copy link
Member Author

gkurz commented Oct 5, 2022

/override ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle ci/prow/4.9-images ci/prow/4.9-sandboxed-containers-operator-e2e ci/prow/ci-index-sandboxed-containers-operator-bundle ci/prow/images ci/prow/sandboxed-containers-operator-e2e pull-ci-openshift-sandboxed-containers-operator-master-4.9-ci-index-sandboxed-containers-operator-bundle

@openshift-ci
Copy link

openshift-ci bot commented Oct 5, 2022

@gkurz: gkurz unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:openshift: openshift-release-oversight.

In response to this:

/override ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle ci/prow/4.9-images ci/prow/4.9-sandboxed-containers-operator-e2e ci/prow/ci-index-sandboxed-containers-operator-bundle ci/prow/images ci/prow/sandboxed-containers-operator-e2e pull-ci-openshift-sandboxed-containers-operator-master-4.9-ci-index-sandboxed-containers-operator-bundle

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.

Copy link
Contributor

@jensfr jensfr left a comment

Choose a reason for hiding this comment

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

lgtm, thank you @bpradipt

@jensfr
Copy link
Contributor

jensfr commented Oct 6, 2022

/override ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle ci/prow/4.9-images ci/prow/4.9-sandboxed-containers-operator-e2e ci/prow/ci-index-sandboxed-containers-operator-bundle ci/prow/images ci/prow/sandboxed-containers-operator-e2e pull-ci-openshift-sandboxed-containers-operator-master-4.9-ci-index-sandboxed-containers-operator-bundle

@openshift-ci
Copy link

openshift-ci bot commented Oct 6, 2022

@jensfr: Overrode contexts on behalf of jensfr: ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle, ci/prow/4.9-images, ci/prow/4.9-sandboxed-containers-operator-e2e, ci/prow/ci-index-sandboxed-containers-operator-bundle, ci/prow/images, ci/prow/sandboxed-containers-operator-e2e

In response to this:

/override ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle ci/prow/4.9-images ci/prow/4.9-sandboxed-containers-operator-e2e ci/prow/ci-index-sandboxed-containers-operator-bundle ci/prow/images ci/prow/sandboxed-containers-operator-e2e pull-ci-openshift-sandboxed-containers-operator-master-4.9-ci-index-sandboxed-containers-operator-bundle

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.

@openshift-ci
Copy link

openshift-ci bot commented Oct 6, 2022

@gkurz: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@jensfr jensfr merged commit 2aaa3fa into openshift:master Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

5 participants