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

🐛 move patch routine to copy crd #261

Conversation

qiujian16
Copy link
Member

This can avoid redudant file generated in _output

Summary

Related issue(s)

Fixes #

@openshift-ci openshift-ci bot requested review from deads2k and jnpacker September 4, 2023 01:31
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16

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 label Sep 4, 2023
@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.02% 🎉

Comparison is base (ac142e6) 60.70% compared to head (7b3fb6c) 60.72%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
+ Coverage   60.70%   60.72%   +0.02%     
==========================================
  Files         128      128              
  Lines       13640    13640              
==========================================
+ Hits         8280     8283       +3     
+ Misses       4596     4594       -2     
+ Partials      764      763       -1     
Flag Coverage Δ
unit 60.72% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@qiujian16 qiujian16 force-pushed the refactor-patch branch 2 times, most recently from 5d79c1d to 2dfee2e Compare September 4, 2023 02:28
This can avoid redudant file generated in _output

Signed-off-by: Jian Qiu <jqiu@redhat.com>
@ldpliu
Copy link
Contributor

ldpliu commented Sep 4, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Sep 4, 2023
@openshift-merge-robot openshift-merge-robot merged commit 0f16de9 into open-cluster-management-io:main Sep 4, 2023
12 checks passed
@haoqing0110
Copy link
Member

LGTM
Just one nit: https://github.com/open-cluster-management-io/ocm/blob/main/hack/init.sh#L18 PATCHED_DIR seems no longer be used, should be deleted.

@@ -64,7 +61,7 @@ update-csv: ensure-operator-sdk
rm ./deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager_v1_serviceaccount.yaml
rm ./deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet_v1_serviceaccount.yaml

verify-crds: patch-crd
verify-crds:
Copy link
Member

Choose a reason for hiding this comment

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

seems need to pass parameter $(YAML_PATCH) to hack/verify-crds.sh

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.

4 participants