Skip to content
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

Upgrade the current node version on all environments #2089

Closed
4 tasks
sh16011993 opened this issue Jul 6, 2023 · 0 comments
Closed
4 tasks

Upgrade the current node version on all environments #2089

sh16011993 opened this issue Jul 6, 2023 · 0 comments
Assignees
Labels
Devops Devops

Comments

@sh16011993
Copy link
Collaborator

sh16011993 commented Jul 6, 2023

Upgrade the current node image [version nodejs-16:1-5] to the latest available version on Red Hat Catalog.

Note: Node version v18.16.0 (or greater) has an incompatibility with sftp version 7.1.0. Therefore, with the node upgrade, the sftp version will also require to be updated.

Acceptance Criteria

  • Upgrade node version on prod docker files (Dockerfile).
  • Upgrade node version on all non-prod docker files (Dockerfile.dev).
  • Test the different application flows to make sure that there is no issue with the upgrade. Just a smoke test is expected.
  • Upgrade sftp version at the same time.
@andrewsignori-aot andrewsignori-aot added the Devops Devops label Jul 6, 2023
@JasonCTang JasonCTang changed the title Upgrade the current node version Upgrade the current node version on all environments Jul 18, 2023
@andrepestana-aot andrepestana-aot self-assigned this Oct 19, 2023
andrepestana-aot added a commit that referenced this issue Oct 23, 2023
- Upgraded Dockerfile base images to
[nodejs-18:1-71.1697652955](https://catalog.redhat.com/software/containers/ubi8/nodejs-18/6278e5c078709f5277f26998?image=65302e01ec5935b621691d22&architecture=amd64&container-tabs=overview).
- Upgraded Dockerfile.dev base images to
[node:18.17.1-alpine3.18](https://hub.docker.com/layers/library/node/18.17.1-alpine3.18/images/sha256-982b5b6f07cd9241c9ebb163829067deac8eaefc57cfa8f31927f4b18943d971).
- Upgraded
[ssh2-sftp-client](https://www.npmjs.com/package/ssh2-sftp-client/v/9.1.0)
to the latest version.
- Did some smoke tests locally to check any incompatibility.

## Upgrade local
Please upgrade your local NodeJS version from
https://nodejs.org/en/download and check if you are really using the new
version:

```bash
$ node -v
```

## Current LTS 
Just for reference, you can check [nodejs' schedule for
maintenance](https://github.com/nodejs/release#nodejs-release-working-group).

## New features
You can check out the new features
[here](https://nodesource.com/blog/11-features-nodeJS-18-to-try#:~:text=will%20be%20LTS.-,Node.,be%20supported%20until%20April%202025.).
@michesmith michesmith added this to the Sprint 53 milestone Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Devops Devops
Projects
None yet
Development

No branches or pull requests

4 participants