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

chore: add cmds for rocks and pebble builds #2007

Merged
merged 27 commits into from Nov 22, 2023

Conversation

GAtom22
Copy link
Contributor

@GAtom22 GAtom22 commented Nov 6, 2023

Description


Closes ENG-2286

@github-actions github-actions bot added the build label Nov 6, 2023
Copy link

linear bot commented Nov 6, 2023

ENG-2286 Add rocksdb build for evmos Dockerfile

Context

Devops team wants to explore the possibility to use versionDB for archive nodes.

For this to be possible, we need to provide them with a docker image that has the evmosd binary compiled with rocksdb

Expected

Provide a docker image of the evmosd binary compiled with librocksd

@GAtom22 GAtom22 changed the title add support for rocks and pebble in dockerfile add cmds for rocks and pebble builds Nov 8, 2023
@GAtom22 GAtom22 changed the title add cmds for rocks and pebble builds chore: add cmds for rocks and pebble builds Nov 8, 2023
@GAtom22 GAtom22 marked this pull request as ready for review November 8, 2023 21:41
@GAtom22 GAtom22 requested a review from a team as a code owner November 8, 2023 21:41
@GAtom22 GAtom22 requested review from Vvaradinov and 0xstepit and removed request for a team November 8, 2023 21:41
Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@MalteHerrmann MalteHerrmann left a comment

Choose a reason for hiding this comment

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

Unfortunately RocksDB build is not working for MacOS - not sure if that's really required since most node operators will use Linux I'm assuming, but I couldn't verify this works.

../../../../go/pkg/mod/github.com/linx!gnu/grocksdb@v1.8.5/array.go:4:11: fatal error: 'rocksdb/c.h' file not found
 #include "rocksdb/c.h"
          ^~~~~~~~~~~~~
1 error generated.
make[1]: *** [build] Error 1
make: *** [build-rocksdb] Error 2

PebbleDB works fine 👍

scripts/run-nix-tests.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@devops-evmos devops-evmos left a comment

Choose a reason for hiding this comment

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

LGTM

@MalteHerrmann MalteHerrmann merged commit b3b7994 into main Nov 22, 2023
25 checks passed
@MalteHerrmann MalteHerrmann deleted the GAtom22/dockerfile-rocks branch November 22, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants