OpenFn / OpenFn/lightning

Switch out install nodes script to use an apt repo

Open
#2,600 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Details

We always want our image build to use an item potent and exact version.
We currently have a custom bash script that installs node via a tarball.

This runs into issues occasionally on CI, it looks like the Noo jazz CDM doesn't like being called too often from the same server.

https://github.com/nodesource/distributions?tab=readme-ov-file#using-ubuntu-nodejs-18

Looks like I can install specific versions of Node using this

apt-get install nodejs=18.17.1-1nodesource1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Locate the custom Bash script that installs Node from a tarball and the image-build entry point that invokes it; review the NodeSource Ubuntu instructions and verify CI installs the requested exact Node version through apt. Done means the tarball path is replaced and image builds remain reproducible.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, nodejs
Domain
build-system, devops
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.