Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Match CircleCI node version to the Docker image's. #4250

Merged

Conversation

chenba
Copy link
Collaborator

@chenba chenba commented Mar 21, 2018

Fixes #2216's deployment issue

@@ -7,6 +7,7 @@ COPY build/shared /app/build/shared
COPY node_modules /app/node_modules
COPY bin/_run-docker /app/bin/
COPY build/screenshots.xpi /app/build/xpi/screenshots.xpi
ENV NODE_ICU_DATA="/app/node_modules/full-icu"
Copy link
Member

Choose a reason for hiding this comment

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

@chenba I'm a little confused by the comments in bug #2216. If the problem was a node version mismatch, do you still need to add this env var?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes. Still need this for node. The path was correct but the version of ICU data was incorrect last time around because CircleCI was using a different version of node than Docker. (The data is pulled down during a postinstall script into node_modules/full-icu; it's not dependent on the full-icu module version.) If I've left that env var along with the wrong version of ICU data, node won't run at all, so it was removed.

@jaredhirsch jaredhirsch merged commit 1d25aaf into mozilla-services:master Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants