Page MenuHomeDevCentral

Upgrade Jenkins agent image for Node
Closed, ResolvedPublic

Description

The image is based on Node 9 and last rebuilt one year ago.

It provides spectacle-docs, used to generate API documentation.

I wanted to upgrade it to Node 14 (LTS) or Node 16 (current),
but trying to rebuild the image, it fails during dependencies
installation for spectacle-docs.

https://www.npmjs.com/package/spectacle-docs also reports failing CI.

Revisions and Commits

Event Timeline

dereckson triaged this task as Normal priority.Sep 12 2021, 11:15
dereckson created this task.

As a temporary solution to fix Spectacle, I've upgraded the dependencies [1] and published a package to GitHub packages repository [2].

We'll see if we want to fork it further to npm or if upstream publish a new release.

Relevant links

[1] https://github.com/nasqueron/spectacle/commit/1a06541ffb21b9a659a1e7454658bcb26efbd923
[2] https://github.com/nasqueron/spectacle/packages/997142

dereckson shifted this object from the S1 Nasqueron space to the Restricted Space space.Sep 20 2021, 09:19

GitHub repository requires authentication, https://verdaccio.org/docs/cli-registry gives solution to prepare a private registry.

https://sass-lang.com/dart-sass is compatible with node-sass API (read about fibers).

We use it through grunt-sass, fully compatible with Dart implementation too, see https://www.npmjs.com/package/grunt-sass (with the same Fibers warning).

Could we upgrade all the chain to use this?

https://github.com/nasqueron/spectacle/commit/82eca117830194264c0976d1713caab25803dc09 works fine with dart-sass and grunt-sass

Preparing upgrade to the image to use our Spectacle own version.

dereckson shifted this object from the Restricted Space space to the S1 Nasqueron space.Mar 26 2023, 17:23