-
Notifications
You must be signed in to change notification settings - Fork 292
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
Extension package #1661
Extension package #1661
Conversation
271f4d8
to
ccb01e8
Compare
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
aaf0d60
to
0baa22d
Compare
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
96a5c84
to
e9a6172
Compare
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
e9a6172
to
20fceed
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1661 +/- ##
==========================================
- Coverage 81.13% 80.41% -0.72%
==========================================
Files 165 165
Lines 10885 11037 +152
==========================================
+ Hits 8831 8874 +43
- Misses 1525 1627 +102
- Partials 529 536 +7
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
c935894
to
63938a1
Compare
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
63938a1
to
747d127
Compare
@itsdarshankumar apologies for the slow reply (I've been out). I'll take a look soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As always, amazing work @itsdarshankumar! Thank you so much for the PR!
@buildpacks/platform-maintainers I think this is ready for your review
I tested the functionality and looks like the
Is there any other configuration necessary? Also, should the extension.toml be aligned with the toml format? |
can you send me your whole toml file and bin, I've tested the functionality from samples/ repo. |
Tested this out locally and it's working for me. I think there could be a couple things going on here:
My config:
Generating an image:
Generating a file:
|
Looking at the issue @pacostas was having, with this PR - https://github.com/nodeshift/ubi-nodejs-extension/pull/33 I can use jam to create a tgz (although not completely sure it is used by the pack extension invocation) and then create the cnb using the pack build from this branch
However if I try to use the resuting
I get this SIGSEGV
|
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
e23dd6c
to
ab3f5f0
Compare
can you please send the |
@itsdarshankumar thanks for taking a look. It is this one: https://github.com/nodeshift/ubi-nodejs-extension/blob/main/extension.toml If you want to try out the same as what I did you could (changing the path to where you have build the updated pack to match in the below):
|
@mhdawson thanks for reporting - I can reproduce the issue. The generated package is actually fine, the Once this PR is merged and we have packages for extensions we'll be able to add the implementation in |
Thank you, eventually I missed the |
@natalieparellano thanks for taking the time to recreate and confirming :) |
@dfreilich @jkutner this one is ready for your review :) |
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
Signed-off-by: Darshan Kumar <itsdarshankumar@gmail.com>
@itsdarshankumar, thanks for the heads up, I confirmed that the crash reported in #1661 (comment) did not recreate follow the steps I'd listed in #1661 (comment) |
Summary
Implements the functionality for
pack extension package
commandOutput
Before
No command exists
After
Related
Resolves #1635