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

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

Merged
merged 10 commits into from
Sep 25, 2023
Merged

Conversation

mnaamani
Copy link
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
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.

@mnaamani mnaamani merged commit 69e4a46 into master Sep 25, 2023
2 checks passed
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