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: allows to override kubo path #193

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/interop/.aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ export default {
host: '127.0.0.1',
port: ipfsdPort
}, {
ipfsBin: (await import('go-ipfs')).default.path(),
ipfsBin: process.env.KUBO_BINARY ? process.env.KUBO_BINARY : (await import('go-ipfs')).default.path(),
kuboRpcModule: kuboRpcClient,
ipfsOptions: {
config: {
Addresses: {
Swarm: [
"/ip4/0.0.0.0/tcp/0",
"/ip4/0.0.0.0/tcp/0/ws"
"/ip4/0.0.0.0/tcp/0/ws",
"/ip4/0.0.0.0/udp/0/quic-v1/webtransport"
]
}
}
Expand Down
5 changes: 3 additions & 2 deletions packages/interop/test/fixtures/create-kubo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import * as kuboRpcClient from 'kubo-rpc-client'
export async function createKuboNode (): Promise<Controller> {
return createController({
kuboRpcModule: kuboRpcClient,
ipfsBin: goIpfs.path(),
ipfsBin: process.env.KUBO_BINARY ? process.env.KUBO_BINARY : goIpfs.path(),
test: true,
ipfsOptions: {
config: {
Addresses: {
Swarm: [
'/ip4/0.0.0.0/tcp/0',
'/ip4/0.0.0.0/tcp/0/ws'
'/ip4/0.0.0.0/tcp/0/ws',
"/ip4/0.0.0.0/udp/0/quic-v1/webtransport"
]
}
}
Expand Down