Closed cmoulliard closed 1 year ago
Can you have a look please ? @mhdawson
The error seems to be related to the fact that we reference a local folder which do not exist under this github testing repository repository but instead here: paketo-community/ubi-nodejs-extension
I updated the builder.toml file to include as uri the tgz archive of the project an extension
[[extensions]]
id = "redhat-runtimes/nodejs"
version = "0.0.1"
uri = "https://github.com/paketo-community/ubi-nodejs-extension/archive/main.tar.gz"
but when we try to build using pack the image, we got such an error
ERROR: failed to add extensions to builder: downloading extension: extracting from 'https://github.com/paketo-community/ubi-nodejs-extension/archive/main.tar.gz': reading extension: reading extension.toml: could not find entry path 'extension.toml': not exist
even if the archive includes an extension.toml file: https://github.com/paketo-community/ubi-nodejs-extension/blob/main/extension.toml
Commit 698266f fixed the issue
can you also try to update on the builder.toml the stack section with
[stack]
id = "io.buildpacks.stacks.ubi8"
build-image = "paketocommunity/build-ubi-base"
run-image = "paketocommunity/run-ubi-base"
The builder.toml file has changed slightly since last time. https://github.com/paketo-community/ubi-nodejs-extension/blob/main/README.md
same with the lifecycle
[lifecycle]
version = "0.17.0-pre.2"
also the pack has to be version v0.30.0-pre2
or greater
Issue
The following job : https://github.com/redhat-buildpacks/testing/actions/runs/5806022816/job/15738110728?pr=26 reported such an error
during the execution of the step
Test Nodejs UBI extension
- code