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

PP-6147: Upgrade node to v12.4.1 #1382

Merged
merged 1 commit into from
Feb 18, 2020
Merged

Conversation

richardTowers
Copy link
Contributor

WHAT

This is the latest version of node supported by GOV.UK PaaS. We need to
be on at least v12.9.0 to use AWS CloudFront's Field Level Encryption.

The issue with statsd we encountered when we upgraded to node v12.13.1
(see PP-5917)
looks like it's fixed in v12.4.1 (according to the node release notes).

NOTE: I'm not sure how to test that the statsd issue hasn't
regressed, so this will need a look by someone with more understanding
of the issue.

HOW

Use your knowledge / testing to confirm this isn't going to break
things in production.

This is the latest version of node supported by GOV.UK PaaS. We need to
be on at least v12.9.0 to use AWS CloudFront's Field Level Encryption.

The issue with `statsd` we encountered when we upgraded to node v12.13.1
(see [PP-5917](https://payments-platform.atlassian.net/browse/PP-5917))
looks like it's fixed in v12.4.1 (according to [the node release notes](https:/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#2020-01-07-version-12141-erbium-lts-bethgriggs)).

**NOTE**: I'm not sure how to test that the statsd issue hasn't
regressed, so this will need a look by someone with more understanding
of the issue.

The hash used in the Dockerfiles was obtained with:

```
$ docker pull node:12.14.1-alpine
12.14.1-alpine: Pulling from library/node
c9b1b535fdd9: Pull complete
32eb17722c57: Pull complete
c6a4a31e8940: Pull complete
3f01d5292e29: Pull complete
Digest: sha256:1dd4309479f031295f3dfb61cf3afc3efeb1a991b012e105d1a95efc038b72f6
Status: Downloaded newer image for node:12.14.1-alpine
docker.io/library/node:12.14.1-alpine
```
Copy link
Contributor

@sfount sfount left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirming sha256:1dd4309479f031295f3dfb61cf3afc3efeb1a991b012e105d1a95efc038b72f6 is the node alpine release for 12.14.1 -- tests are happy so looks good to me 👍

@sfount
Copy link
Contributor

sfount commented Feb 18, 2020

Confirming that 12.14.1 addressed the issues described in PP-5917

See nodejs/node#30196 and https:/nodejs/node/releases/tag/v12.14.1

@richardTowers
Copy link
Contributor Author

Okay, lets :shipit: then!

@richardTowers richardTowers merged commit f6fd7ba into master Feb 18, 2020
@richardTowers richardTowers deleted the PP-6147-upgrade-node branch February 18, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants