Repository navigation
chore: Update from ubi8/nodejs-18:1-71 to ubi8/nodejs-18:1-81 - #305
Conversation
Signed-off-by: Nick Boldt <[email protected]>
|
@che-incubator-bot: No Jira issue with key nodejs-18 exists in the tracker at https://issues.redhat.com/. 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/test-infra repository. |
azatsarynnyy
left a comment
There was a problem hiding this comment.
Update of UBI from ubi8/nodejs-18:1-71 to ubi8/nodejs-18:1-81
updates Node.js from 18.16.1 to 18.18.2
which updates npm from 9.5.1 to 9.8.1
It seems they're not bundling node-gyp-bin with npm since 9.8.1. Now, it's up to the consumers to provide the required node-gyp version.
I suggest fixing it by something like npm i -g [email protected]
|
BTW, the same problem is in #306 which was merged to 7.77.x |
|
Pull Request Dev image published: |
|
I've pushed the changes that I think should fix the problem. If it works for |
|
Pull Request Dev image published: |
| && yum -y clean all && rm -rf /var/cache/yum \ | ||
| && npm install -g [email protected] | ||
| && npm install -g [email protected] \ | ||
| && npm install -g [email protected] |
There was a problem hiding this comment.
@azatsarynnyy @nickboldt
I guess the same changes are required for the downstream
|
Pull Request Che-Code image published: |
|
It would be better to actually include node-gyp in the package.json since that's what I'll need downstream. WDYT of this? 6645ca6 and https://github.com/che-incubator/che-code/pull/305/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de |
This comment was marked as outdated.
This comment was marked as outdated.
Change-Id: I2f7bd96e2fa240ad6161fdb4b1826c4669a66dff Signed-off-by: nickboldt <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
Change-Id: I4314882f4fc4cc8f3a4535d912a9b762edb55356 Signed-off-by: nickboldt <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
2 similar comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
| && yum install -y $LIBSECRET $LIBKEYBOARD curl make cmake gcc gcc-c++ python3.9 git git-core-doc openssh less libX11-devel libxkbcommon bash tar gzip rsync patch \ | ||
| && yum -y clean all && rm -rf /var/cache/yum \ | ||
| && npm install -g [email protected] \ | ||
| && npm install -g [email protected] |
There was a problem hiding this comment.
it looks like removing this change leads to the original problem...
I mean - just adding the dependency to the package.json doesn't fix the problem
There was a problem hiding this comment.
I've put it back ... let's see if the build passes.
This reverts commit c39f3c2.
|
Pull Request Dev image published: |
|
Pull Request Che-Code image published: |
|
Build 3.11 :: code_3.x/1011: Console, Changes, Git Data |
* chore: Update from ubi8/nodejs-18:1-71 to ubi8/nodejs-18:1-81 Signed-off-by: Nick Boldt <[email protected]> * install node-gyp globally * Update linux-libc.Dockerfile * Update build/dockerfiles/linux-libc.Dockerfile * add node gyp 9.4.1 as a dep; add node/npm/yarn versions as engines Change-Id: I2f7bd96e2fa240ad6161fdb4b1826c4669a66dff Signed-off-by: nickboldt <[email protected]> * Add node-gyp to yarn.lock Change-Id: I4314882f4fc4cc8f3a4535d912a9b762edb55356 Signed-off-by: nickboldt <[email protected]> * remove node-gyp global install * Revert "remove node-gyp global install" This reverts commit c39f3c2. --------- Signed-off-by: Nick Boldt <[email protected]> Signed-off-by: nickboldt <[email protected]> Co-authored-by: Nick Boldt <[email protected]> Co-authored-by: Artem Zatsarynnyi <[email protected]> Co-authored-by: nickboldt <[email protected]>
|
Build 3.11 :: sync-to-downstream_3.x/5340: Console, Changes, Git Data |
|
Build 3.11 :: push-latest-container-to-quay_3.x/3726: Console, Changes, Git Data |
|
Build 3.11 :: get-sources-rhpkg-container-build_3.x/5208: code : 3.x :: Build 57113174 : quay.io/devspaces/code-rhel8:3.11-29 |
|
Build 3.11 :: code_3.x/1011: Upstream sync done; /DS_CI/sync-to-downstream_3.x/5340 triggered |
|
Build 3.11 :: update-digests_3.x/4969: Console, Changes, Git Data |
|
Build 3.11 :: operator-bundle_3.x/2307: Console, Changes, Git Data |
|
Build 3.11 :: sync-to-downstream_3.x/5342: Console, Changes, Git Data |
|
Build 3.11 :: push-latest-container-to-quay_3.x/3727: Console, Changes, Git Data |
|
Build 3.11 :: sync-to-downstream_3.x/5342: Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/5210 triggered; /job/DS_CI/job/dsc_3.x triggered; |
|
Build 3.11 :: operator-bundle_3.x/2307: Upstream sync done; /DS_CI/sync-to-downstream_3.x/5342 triggered |
|
Build 3.11 :: copyIIBsToQuay/2177: Console, Changes, Git Data |
|
Build 3.11 :: update-digests_3.x/4969: Detected new images: rebuild operator-bundle |
|
Build 3.11 :: dsc_3.x/1573: Console, Changes, Git Data |
|
Build 3.11 :: dsc_3.x/1573: 3.11.0-CI |

Signed-off-by: Nick Boldt [email protected]