Skip to content

Fix ci e2e-tests build and update node to v18#527

Merged
mnaamani merged 10 commits intomasterfrom
update-nodejs
Sep 25, 2023
Merged

Fix ci e2e-tests build and update node to v18#527
mnaamani merged 10 commits intomasterfrom
update-nodejs

Conversation

@mnaamani
Copy link
Copy Markdown
Member

@mnaamani mnaamani commented Sep 14, 2023

Mainly addressing #529

  • Update docker images to use node18
  • Fix github workflows to login to docker before pulling
  • use joystream/node docker image in e2e tests, the paritytech images are failing to download even after authenticating to docker..
  • Allow more time for processor to startup in e2e-test to give chance for test to complete
  • Update e2e fixtures/mappings to work with joystream/node runtime types.
  • Update node-gyp to fix docker image builds on arm64

affects: @joystream/bn-typeorm, @joystream/hydra-cli, @joystream/hydra-common,
@joystream/hydra-db-utils, @joystream/hydra-e2e-tests, @joystream/hydra-indexer-gateway,
@joystream/hydra-indexer, @joystream/hydra-processor, @joystream/hydra-typegen, sample,
sample-mappings

nodejs 14 is no longer supported. v18 is now recommended for security and performance reasons
pulling from docker hub now requires login
…am/node instead

affects: @joystream/hydra-e2e-tests
@mnaamani mnaamani changed the title Update nodejs to v18 Fix ci e2e-tests build and update node to v18 Sep 20, 2023
affects: @joystream/hydra-e2e-tests, @joystream/hydra-indexer, @joystream/hydra-processor
…2001

affects: @joystream/hydra-e2e-tests, @joystream/hydra-indexer, @joystream/hydra-processor
@mnaamani mnaamani marked this pull request as ready for review September 20, 2023 18:46
Updating to node:18 docker images broke the native build of bufferutil package
which does not provide pre-built native modules for arm64 arch.
The bundled version of node-gyp fails to build the package with python3.11 so
had to update node-gyp to latest version with the fix.
Copy link
Copy Markdown
Contributor

@zeeshanakram3 zeeshanakram3 left a comment

Choose a reason for hiding this comment

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

LGTM.

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