Fix: Resolve s2i linux/amd64 build failure by pinning source-to-image v1.5.1#3144
Fix: Resolve s2i linux/amd64 build failure by pinning source-to-image v1.5.1#3144knative-prow[bot] merged 8 commits intoknative:mainfrom
Conversation
|
Welcome @suhas-developer07! It looks like this is your first PR to knative/func 🎉 |
|
Hi @suhas-developer07. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Verified the fix locally — the s2i linux/amd64 build now completes successfully after adding This resolves the lfstack.push invalid packing runtime crash reported in issue #3140. |
Hi @jrangelramos, This PR fixes the s2i linux/amd64 build failure by pinning source-to-image to v1.5.1. Could you please review and /approve if it looks good? Thanks! |
|
Hi, you deleted the func-yaml schema, accidentally I assume. also you will need to verify the easyCLA. Thanks for the contribution! |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #3144 +/- ##
==========================================
- Coverage 59.39% 51.82% -7.57%
==========================================
Files 134 162 +28
Lines 13500 19134 +5634
==========================================
+ Hits 8018 9916 +1898
- Misses 4539 8241 +3702
- Partials 943 977 +34
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a6d46a5 to
ff67486
Compare
|
@linux-foundation-easycla recheck |
|
Hi @gauron99, thanks for pointing that out! I’ve restored the func-yaml schema and also completed the EasyCLA verification. Please let me know if any other changes are needed. |
|
/ok-to-test |
5d5a0ed to
b705fac
Compare
|
please remove the test data from |
Thanks for the review! I've removed the test data (including the absolute links) and the empty creditStore. The latest commit includes these changes. Please take another look when you have a moment. |
|
ohh shit!! sorry for the previous contribution i thought that full folder needs to delete. in my latest commit i have reclaimed all the files and deleted what extra added to that. Please take another look when you have a moment. |
|
Hey @suhas-developer07 just a little suggestion from my side u can use |
Thanks for the suggestion! Got it — I’ll rebase my branch with main instead of merging going forward to keep the commit history clean. |
|
Would it be possible to add a test for this? I know its a bit of a unstandard case |
|
Hey @suhas-developer07 just a small suggestion I guess you have created a pr from |
|
Almost there? This needs to have |
730a8bb to
564dcc8
Compare
Thanks for the suggestion @RayyanSeliya! |
Thanks @lkingland! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lkingland, suhas-developer07 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/override "codecov/project" |
|
@lkingland: Overrode contexts on behalf of lkingland: codecov/project DetailsIn 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 kubernetes-sigs/prow repository. |
This PR fixes cross-platform build errors when deploying Go functions
from macOS to Linux using the S2I builder. The issue occurred due to
environment inconsistencies (timestamps and GOOS/GOARCH mismatch)
causing runtime crashes like "lfstack.push invalid packing".
This PR fixes the func deploy -b=s2i --platform linux/amd64 build failure that caused runtime crashes like
runtime: lfstack.push invalid packing.
The issue was due to an invalid or missing version reference for github.com/openshift/source-to-image.
replace github.com/openshift/source-to-image => github.com/openshift/source-to-image v1.5.1