Use ipld-eth-db docker image. #111

Merged
arijitAD merged 3 commits from use-ipld-eth-db into master 2021-10-12 07:18:59 +00:00
arijitAD commented 2021-10-11 14:13:24 +00:00 (Migrated from github.com)
No description provided.
i-norden reviewed 2021-10-11 14:42:45 +00:00
@ -45,12 +47,13 @@ import (
// SetupDB is use to setup a db for watcher tests
Member

Tests should be done in a different db than the what is intended to be the prod db.

Tests should be done in a different db than the what is intended to be the prod db.
arijitAD (Migrated from github.com) reviewed 2021-10-11 15:04:05 +00:00
@ -45,12 +47,13 @@ import (
// SetupDB is use to setup a db for watcher tests
arijitAD (Migrated from github.com) commented 2021-10-11 15:04:05 +00:00

@i-norden Since we are using ipld-eth-db docker image, it has a prebuilt DB with the name vulcanize_public.

@i-norden Since we are using `ipld-eth-db` docker image, it has a prebuilt DB with the name `vulcanize_public`.
i-norden reviewed 2021-10-11 15:31:06 +00:00
@ -45,12 +47,13 @@ import (
// SetupDB is use to setup a db for watcher tests
Member

Hmm but we want to be able to safely run these tests outside of the context of docker

Hmm but we want to be able to safely run these tests outside of the context of docker
i-norden reviewed 2021-10-11 15:47:40 +00:00
@ -45,12 +47,13 @@ import (
// SetupDB is use to setup a db for watcher tests
Member

Let's make it configurable by env variable what db the ipld-eth-server unit tests use, and set that env variable to "vulcanize_public" in the github actions

Let's make it configurable by env variable what db the ipld-eth-server unit tests use, and set that env variable to "vulcanize_public" in the github actions
arijitAD (Migrated from github.com) reviewed 2021-10-11 16:57:12 +00:00
@ -45,12 +47,13 @@ import (
// SetupDB is use to setup a db for watcher tests
arijitAD (Migrated from github.com) commented 2021-10-11 16:57:12 +00:00

Done

Done
i-norden approved these changes 2021-10-11 17:19:20 +00:00
i-norden left a comment
Member

LGTM, I'm gonna merge mine first so please rebase before merging this.

LGTM, I'm gonna merge mine first so please rebase before merging this.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-server#111
No description provided.