-
Notifications
You must be signed in to change notification settings - Fork 423
NO-JIRA: fix(build): replace sysctl with getconf in Makefile #7282
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
NO-JIRA: fix(build): replace sysctl with getconf in Makefile #7282
Conversation
|
Skipping CI for Draft Pull Request. |
WalkthroughReplaced Darwin-specific CPU-core detection in the Makefile with a portable Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Comment |
|
/area ci-tooling |
|
/retry |
The sysctl command requires permissions not available in the macOS Seatbelt sandbox, causing 'Operation not permitted' errors. Replace it with getconf _NPROCESSORS_ONLN which is POSIX-compliant and works on both macOS and Linux without requiring special permissions.
9a08c15 to
8f500fc
Compare
|
@cblecker: This pull request explicitly references no jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@cblecker: The In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@cblecker: This PR has been marked as verified by In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/verified bypass |
|
In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: cblecker 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 |
|
/retest-required |
|
/test e2e-aks |
|
/lgtm |
|
/retest |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
/hold Revision 8f500fc was retested 3 times: holding |
|
/test e2e-aks |
|
/retest |
1 similar comment
|
/retest |
|
/hold cancel |
|
@cblecker: 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-sigs/prow repository. I understand the commands that are listed here. |
What this PR does / why we need it:
The sysctl command requires permissions not available in the macOS Seatbelt sandbox, causing 'Operation not permitted' errors. Replace it with getconf _NPROCESSORS_ONLN which is POSIX-compliant and works on both macOS and Linux without requiring special permissions.