Closed Evanfeenstra closed 3 years ago
Building relay in Docker is running across dependecy issues
in sphinx-relay: docker build --no-cache -t sphinx-relay .
docker build --no-cache -t sphinx-relay .
Current error: ERR! enoent undefined ls-remote -h -t https://github.com/tierion/js-macaroon.git
ERR! enoent undefined ls-remote -h -t https://github.com/tierion/js-macaroon.git
https://github.com/stakwork/sphinx-relay/blob/master/Dockerfile
We want to run the full stack with latest relay included
https://github.com/stakwork/sphinx-stack/blob/master/docker-compose.yml
you can use your locally built relay image for alice, bob, and carol
alice
bob
carol
And run the tests
https://github.com/stakwork/sphinx-relay/tree/master/src/tests
After running the sphinx-stack, copy the sphinx-stack/relay/NODES.json to sphinx-relay/src/tests/configs/nodes.json
sphinx-stack/relay/NODES.json
sphinx-relay/src/tests/configs/nodes.json
npx ava src/tests/controllers/self.test.ts --verbose --serial --timeout=2m
PR that may resolve this issue
https://github.com/stakwork/sphinx-relay/pull/232
Perfect! Works great, thank @kevkevinpal
Building relay in Docker is running across dependecy issues
in sphinx-relay:
docker build --no-cache -t sphinx-relay .
Current error:
ERR! enoent undefined ls-remote -h -t https://github.com/tierion/js-macaroon.git
https://github.com/stakwork/sphinx-relay/blob/master/Dockerfile
We want to run the full stack with latest relay included
https://github.com/stakwork/sphinx-stack/blob/master/docker-compose.yml
you can use your locally built relay image for
alice
,bob
, andcarol
And run the tests
https://github.com/stakwork/sphinx-relay/tree/master/src/tests
After running the sphinx-stack, copy the
sphinx-stack/relay/NODES.json
tosphinx-relay/src/tests/configs/nodes.json
npx ava src/tests/controllers/self.test.ts --verbose --serial --timeout=2m