Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
458 commits
Select commit Hold shift + click to select a range
3c3b88a
fix: logs
AdriGeorge Sep 12, 2024
007a5fe
fix: logs
AdriGeorge Sep 12, 2024
580464f
fix: logs
AdriGeorge Sep 12, 2024
60a183a
fix: timeout
AdriGeorge Sep 12, 2024
d53f690
fix: timeout
AdriGeorge Sep 12, 2024
d56e5e7
fix: index
AdriGeorge Sep 12, 2024
67c1346
fix: index
AdriGeorge Sep 12, 2024
b1419e3
fix: fix
AdriGeorge Sep 12, 2024
6eb74a9
fix: fix
AdriGeorge Sep 12, 2024
46e99f6
fix: fix
AdriGeorge Sep 12, 2024
ac1d919
fix: fix
AdriGeorge Sep 12, 2024
fde74fc
fix: fix
AdriGeorge Sep 12, 2024
956ed2c
fix: fix
AdriGeorge Sep 12, 2024
5222dcb
fix: fix
AdriGeorge Sep 12, 2024
4e70022
fix: fix
AdriGeorge Sep 12, 2024
e678fa9
fix: fix
AdriGeorge Sep 12, 2024
82e1950
fix: fix
AdriGeorge Sep 12, 2024
a78ac19
fix: removed logs
AdriGeorge Sep 12, 2024
7dd5e73
fix: lint
AdriGeorge Sep 12, 2024
81479f6
fix: lint
AdriGeorge Sep 12, 2024
deac79f
fix: some fixs
AdriGeorge Sep 13, 2024
6ed993b
Merge pull request #677 from oceanprotocol/feature/add-elasticdb-tvl
bogdanfazakas Sep 13, 2024
b921e3f
merge main, fixed conflicts & add new added method to elastic
bogdanfazakas Sep 13, 2024
cd5364c
Merge branch 'main' into issue-501-documentId
paulo-ocean Sep 16, 2024
89a2762
fix ci deprecated versions
paulo-ocean Sep 16, 2024
b38f03a
fix ci deprecated versions
paulo-ocean Sep 16, 2024
734a33e
fix ci deprecated versions
paulo-ocean Sep 16, 2024
181a3e1
Merge pull request #502 from oceanprotocol/issue-501-documentId
paulo-ocean Sep 16, 2024
cc38348
fix: search and nonce
AdriGeorge Sep 16, 2024
c509839
fix: fix
AdriGeorge Sep 16, 2024
9bcaca3
fix: fix
AdriGeorge Sep 16, 2024
59f62a7
fix: fix
AdriGeorge Sep 16, 2024
69ed8f1
fix: fix
AdriGeorge Sep 16, 2024
64303ab
fix: fix
AdriGeorge Sep 16, 2024
9440503
Pull from main & resolve conflicts
jamiehewitt15 Sep 16, 2024
bc9b8ab
Merge branch 'main' into issue-668-oasis-decryption
paulo-ocean Sep 16, 2024
368a13d
fix: fix
AdriGeorge Sep 16, 2024
d1b85c1
fix: ci
AdriGeorge Sep 17, 2024
e611aa9
fix: ci
AdriGeorge Sep 17, 2024
75f5a3b
fix: ci
AdriGeorge Sep 17, 2024
397c186
fix: ci
AdriGeorge Sep 17, 2024
896aa43
fix: ci
AdriGeorge Sep 17, 2024
8d01167
fix: ci
AdriGeorge Sep 17, 2024
4fcb823
fix: ci
AdriGeorge Sep 17, 2024
202bd29
fix: ci
AdriGeorge Sep 17, 2024
782ad64
Merge pull request #688 from oceanprotocol/feat/add-elasticdb-fix
bogdanfazakas Sep 17, 2024
0047d92
done oasis decryption
paulo-ocean Sep 18, 2024
1dac0a2
try move constant to other file
paulo-ocean Sep 18, 2024
75194ec
clean imports + add small comment on c2d
paulo-ocean Sep 18, 2024
e76e51c
Merge branch 'main' into issue-668-oasis-decryption
paulo-ocean Sep 18, 2024
c411f42
remove todos from logs
paulo-ocean Sep 19, 2024
1bc5306
couple unit test + small refactor
paulo-ocean Sep 20, 2024
4ed3910
fix: search response
AdriGeorge Sep 23, 2024
7d86257
fix: search
AdriGeorge Sep 23, 2024
a8ad973
fix: removed unused
AdriGeorge Sep 23, 2024
fc6ef3a
fix: search by index
AdriGeorge Sep 23, 2024
5fb46ae
Merge pull request #695 from oceanprotocol/feature/add-elasticdb-search
bogdanfazakas Sep 23, 2024
b3a815f
add max ram memory in node start cmd
bogdanfazakas Sep 24, 2024
05662ec
Merge pull request #697 from oceanprotocol/update-start-cmd
bogdanfazakas Sep 25, 2024
7173c8a
merge main
bogdanfazakas Sep 25, 2024
20bab3b
Merge branch 'main' into issue-668-oasis-decryption
paulo-ocean Sep 25, 2024
b6c14f3
Merge pull request #679 from oceanprotocol/issue-668-oasis-decryption
paulo-ocean Sep 25, 2024
4c340ae
customize boostrap params (#696)
alexcos20 Sep 26, 2024
c5799f9
add access control to service level (#698)
FilipMasar Sep 26, 2024
0e2c666
Merge branch 'main' into issue-630-fix-log-msg
paulo-ocean Sep 26, 2024
ddcdff3
refactor database factory
bogdanfazakas Sep 26, 2024
d106d21
refactor use const for database types
bogdanfazakas Sep 26, 2024
4458ee6
add database docs
bogdanfazakas Sep 26, 2024
38fe1fa
fix import
bogdanfazakas Sep 26, 2024
bdd32d8
remove sleep from the tests
bogdanfazakas Sep 26, 2024
154c752
update wait to index
bogdanfazakas Sep 26, 2024
278b201
update test
bogdanfazakas Sep 26, 2024
194ff58
merge main
bogdanfazakas Sep 26, 2024
c6c623a
update credential test
bogdanfazakas Sep 27, 2024
6b1d599
inscrease publish timeout
bogdanfazakas Sep 27, 2024
8effbfb
add credential test debug
bogdanfazakas Sep 27, 2024
a701aaf
chore: add datatokenaddress in order table
AdriGeorge Sep 27, 2024
7a78933
pull from add-elasticdb
AdriGeorge Sep 27, 2024
5b515af
use typesense
bogdanfazakas Sep 27, 2024
b1df72d
test elastic
bogdanfazakas Sep 27, 2024
b226a73
update nonce
bogdanfazakas Sep 27, 2024
201358b
more nonce updatese
bogdanfazakas Sep 27, 2024
8121eac
fix: tests
AdriGeorge Sep 27, 2024
726573a
fix: tests
AdriGeorge Sep 27, 2024
9715ca2
chore: update order
AdriGeorge Sep 27, 2024
fd7643f
fix: tests
AdriGeorge Sep 27, 2024
4c94834
fix: tests
AdriGeorge Sep 27, 2024
b046449
fix: tests
AdriGeorge Sep 27, 2024
3e45def
fix: tests
AdriGeorge Sep 27, 2024
577f148
fix: tests
AdriGeorge Sep 27, 2024
06cfa67
fix: tests
AdriGeorge Sep 27, 2024
87b3428
Merge pull request #681 from oceanprotocol/issue-680-failing-test
jamiehewitt15 Sep 27, 2024
cad4674
fix: tests
AdriGeorge Sep 27, 2024
c14d9d6
fix: lint
AdriGeorge Sep 27, 2024
10c5455
fix: tests
AdriGeorge Sep 27, 2024
c63dbb9
fix: tests
AdriGeorge Sep 27, 2024
5a5be90
fix: tests
AdriGeorge Sep 27, 2024
5dff782
fix: tests
AdriGeorge Sep 27, 2024
c2286b4
fix: tests
AdriGeorge Sep 27, 2024
b5a048f
fix: tests
AdriGeorge Sep 27, 2024
5c51dc2
fix: tests
AdriGeorge Sep 27, 2024
bd51047
fix: tests
AdriGeorge Sep 27, 2024
c5bcdd8
fix: tests
AdriGeorge Sep 27, 2024
c1a97bb
fix: tests
AdriGeorge Sep 27, 2024
5a3b0ca
wait a bit more
bogdanfazakas Sep 28, 2024
2bbf82b
remove console
bogdanfazakas Sep 28, 2024
b4d7234
fixing tests (#703)
jamiehewitt15 Sep 28, 2024
7251916
merge main to run tests
bogdanfazakas Sep 30, 2024
911386a
Merge pull request #700 from oceanprotocol/feat/add-elasticdb-order
bogdanfazakas Sep 30, 2024
dcc6419
fix: tests
AdriGeorge Sep 30, 2024
50c4bcb
fix default filtered p2p ip list (non routable ips that should not be…
paulo-ocean Sep 30, 2024
c00a374
improve error message, transfer fees and tweak node response (#701)
paulo-ocean Sep 30, 2024
6e45c07
move c2d engines under OceanNode class (#702)
alexcos20 Oct 1, 2024
21c8eac
merge main and fix conflicts
bogdanfazakas Oct 1, 2024
dbfb248
update int test
bogdanfazakas Oct 1, 2024
536fbbf
update int test
bogdanfazakas Oct 1, 2024
688107c
fix indexer int test
bogdanfazakas Oct 1, 2024
d5f776f
add log
bogdanfazakas Oct 1, 2024
f478f1d
add log
bogdanfazakas Oct 1, 2024
8009cc3
update cond
bogdanfazakas Oct 1, 2024
e51df2a
clean
bogdanfazakas Oct 1, 2024
83bfcd2
add more logs
bogdanfazakas Oct 1, 2024
4cb70e4
add sleep
bogdanfazakas Oct 1, 2024
5253d87
clean
bogdanfazakas Oct 1, 2024
563d693
update sleep
bogdanfazakas Oct 2, 2024
983d941
Merge branch 'main' into issue-630-fix-log-msg
paulo-ocean Oct 2, 2024
3ea7e0e
Merge pull request #654 from oceanprotocol/issue-630-fix-log-msg
paulo-ocean Oct 2, 2024
bcdaa81
merge main fix conflicts and add removed check
bogdanfazakas Oct 3, 2024
dad6d79
fix lint
bogdanfazakas Oct 3, 2024
8f88ce1
update timeout
bogdanfazakas Oct 3, 2024
ede2622
get order retry logic
bogdanfazakas Oct 3, 2024
9a0bd34
Policy Server (#694)
alexcos20 Oct 3, 2024
8b98449
some refactor + fix/simplify config
paulo-ocean Oct 3, 2024
b98555a
Merge branch 'feature/add-elasticdb' into database-tests-2db
paulo-ocean Oct 3, 2024
cdf27e6
add await on call
paulo-ocean Oct 4, 2024
2a6ff87
try debug
paulo-ocean Oct 4, 2024
408a723
more debug
paulo-ocean Oct 4, 2024
ab9d7b5
fix tests + debug
paulo-ocean Oct 4, 2024
d188265
get order retry logic
bogdanfazakas Oct 3, 2024
c965f40
more debug, add config gettter on db
paulo-ocean Oct 4, 2024
52d1d12
try fix + debug test
paulo-ocean Oct 4, 2024
663dd04
try fix + debug test
paulo-ocean Oct 4, 2024
77fc0e9
another try
paulo-ocean Oct 4, 2024
ec7cf08
clean test
paulo-ocean Oct 4, 2024
e8030e6
fix id and _id, use same on indexer, update ddo
paulo-ocean Oct 4, 2024
c375df6
another debug session
paulo-ocean Oct 4, 2024
200c877
debug different DBS
paulo-ocean Oct 4, 2024
95a7baa
more debug
paulo-ocean Oct 4, 2024
5578d73
refactor wip
paulo-ocean Oct 7, 2024
efdf117
debuf indexer
paulo-ocean Oct 7, 2024
18412a8
small fix + debug
paulo-ocean Oct 7, 2024
5be7c41
wip: fix tests
paulo-ocean Oct 7, 2024
323b106
debug...
paulo-ocean Oct 7, 2024
a6d6f2f
debug...
paulo-ocean Oct 7, 2024
68f1a46
debug
paulo-ocean Oct 7, 2024
1d3e672
more debug
paulo-ocean Oct 7, 2024
bcdc1c1
wip: refactor int tests
paulo-ocean Oct 7, 2024
596d7be
more debug
paulo-ocean Oct 7, 2024
451796d
debug stuff...
paulo-ocean Oct 7, 2024
bb26aca
add credentials at service level, on schemas
paulo-ocean Oct 7, 2024
cef43bc
add credentials at service level, on schemas
paulo-ocean Oct 7, 2024
a648cb3
add new schema + tests
paulo-ocean Oct 8, 2024
f6499ab
Merge branch 'main' into database-tests-2db
paulo-ocean Oct 8, 2024
476d30a
some more fixes
paulo-ocean Oct 8, 2024
e5a3dbf
fix elastic test
paulo-ocean Oct 8, 2024
069e080
merged main
bogdanfazakas Oct 8, 2024
9aa251b
more debug on indexer test
paulo-ocean Oct 8, 2024
d6e24ab
more debug
paulo-ocean Oct 8, 2024
ba64bc7
fix test
paulo-ocean Oct 8, 2024
ecce213
debug config
paulo-ocean Oct 8, 2024
73d0d29
more debug
paulo-ocean Oct 8, 2024
efd3103
fix insertLog
paulo-ocean Oct 8, 2024
f15bd1b
more debug
paulo-ocean Oct 8, 2024
0e394cb
fix missing json file + wrong file change
paulo-ocean Oct 8, 2024
3d4933a
more fixes on log test
paulo-ocean Oct 8, 2024
44ec6d2
more debug
paulo-ocean Oct 8, 2024
2c2f1ba
restore wrong commit, was wrong branch :-)
paulo-ocean Oct 8, 2024
193f8c3
now on the correct branch, fix log test
paulo-ocean Oct 8, 2024
aa0f24b
more debug
paulo-ocean Oct 8, 2024
0727049
fix retrieveMultipleLogs
paulo-ocean Oct 8, 2024
14d0902
try randomize it
paulo-ocean Oct 8, 2024
90a2fe4
debug
paulo-ocean Oct 8, 2024
deb1c5e
remove config from 1st suite
paulo-ocean Oct 8, 2024
6715d45
more debug
paulo-ocean Oct 8, 2024
6476939
more debug and fix
paulo-ocean Oct 8, 2024
b18dcc2
more fixes
paulo-ocean Oct 8, 2024
8828682
another wrong test
paulo-ocean Oct 8, 2024
c7843f2
clear console.log and debug stuff
paulo-ocean Oct 9, 2024
5ce2bd1
fix timeout call, wrong fn
paulo-ocean Oct 9, 2024
bf06194
remove console.logs
paulo-ocean Oct 9, 2024
6226734
rm .env file HOME setting + better log msg
paulo-ocean Oct 9, 2024
3a2eea7
refactor test
paulo-ocean Oct 9, 2024
f5a578a
fix lint + again wrong p2p test
paulo-ocean Oct 9, 2024
d4d8a5e
fix test
paulo-ocean Oct 9, 2024
a7afcf1
try this fix?
paulo-ocean Oct 9, 2024
a96ec0b
fix review
paulo-ocean Oct 11, 2024
809eca6
Merge branch 'feature/add-elasticdb' into database-tests-2db
paulo-ocean Oct 11, 2024
18e2067
add aux method to help check connections
paulo-ocean Oct 14, 2024
774a243
fix imports
paulo-ocean Oct 14, 2024
bdcdf30
testing changes
paulo-ocean Oct 14, 2024
9aab2f7
Merge pull request #718 from oceanprotocol/branch-test-only
paulo-ocean Oct 14, 2024
9188e24
Merge pull request #610 from oceanprotocol/dependabot/npm_and_yarn/un…
jamiehewitt15 Oct 15, 2024
c1aaa0e
Merge pull request #649 from oceanprotocol/dependabot/npm_and_yarn/da…
jamiehewitt15 Oct 15, 2024
e4bf077
mov conn retries to outside thread + try/catch on initialize index
paulo-ocean Oct 15, 2024
14face9
fix typo on log, comment
paulo-ocean Oct 15, 2024
0fb6573
Merge pull request #710 from oceanprotocol/issue-709
paulo-ocean Oct 15, 2024
65c3d8f
Merge pull request #707 from oceanprotocol/database-tests-2db
paulo-ocean Oct 15, 2024
821b8da
Merge pull request #599 from oceanprotocol/feature/add-elasticdb
bogdanfazakas Oct 16, 2024
b3afc02
first draft
paulo-ocean Oct 16, 2024
900be86
fix test
paulo-ocean Oct 16, 2024
9abd53d
debug tests
paulo-ocean Oct 16, 2024
55f6306
debug, elastic only
paulo-ocean Oct 16, 2024
584b6c0
normalize responses
paulo-ocean Oct 16, 2024
c5d9886
try debug system tests
paulo-ocean Oct 16, 2024
5cb14f1
Bump version express 4.18.2 -> 4.21.0. (#717)
mariacarmina Oct 16, 2024
824b608
Bump version axios 1.6.0 -> 1.7.4. (#716)
mariacarmina Oct 16, 2024
cdd5497
fix nonce
paulo-ocean Oct 16, 2024
a0ffc36
restore previous config on hook, remove commented code
paulo-ocean Oct 16, 2024
3d38311
clean console.log
paulo-ocean Oct 17, 2024
1c240d0
clean console.log on logs test
paulo-ocean Oct 17, 2024
0365aa7
Merge branch 'main' into issue-721-nonce-sqllite
paulo-ocean Oct 21, 2024
8a65610
Merge pull request #723 from oceanprotocol/issue-721-nonce-sqllite
paulo-ocean Oct 21, 2024
552cc64
fix wrong block for log
paulo-ocean Oct 22, 2024
69ef0c9
Merge pull request #727 from oceanprotocol/issue-726-wrong-log
paulo-ocean Oct 22, 2024
347c010
rm console.logs
paulo-ocean Oct 23, 2024
d114cb9
Merge pull request #731 from oceanprotocol/remove-console-log
paulo-ocean Oct 24, 2024
4c67d89
some cleaning
paulo-ocean Oct 24, 2024
5bf3905
chnage return type
paulo-ocean Oct 24, 2024
7d47387
rm develop branch reference
paulo-ocean Oct 24, 2024
2a62160
Merge pull request #733 from oceanprotocol/issue-732-system-test-nonce
paulo-ocean Oct 24, 2024
4962e17
Add INDEXER_NETWORKS env var within CI job. (#734)
mariacarmina Oct 28, 2024
d99ed7d
add cleaner logging when idexing and getting/updating block info from db
paulo-ocean Oct 29, 2024
755f80a
fix dashboard hash out of sync
paulo-ocean Oct 30, 2024
b814935
make sure we update the block to a higher one
paulo-ocean Oct 30, 2024
fe5544e
Merge pull request #743 from oceanprotocol/issue-742-better-index-log
paulo-ocean Oct 30, 2024
c7d1ab3
improve reindex command, optional block, also check if thread is running
paulo-ocean Nov 1, 2024
565c969
minor fixes, make sure we pass a number for chain, add + logging
paulo-ocean Nov 1, 2024
19c5268
Merge pull request #747 from oceanprotocol/issue-741-reindex-chain-im…
paulo-ocean Nov 4, 2024
1e43f70
Merge pull request #744 from oceanprotocol/issue-664-dashboard-hash
paulo-ocean Nov 6, 2024
7e19c00
chore sync nodes
AdriGeorge Nov 20, 2024
5ddf6cb
fix: tests
AdriGeorge Nov 20, 2024
16add9f
fix: lint
AdriGeorge Nov 20, 2024
8e9d8da
fix: tests
AdriGeorge Nov 20, 2024
54732c4
fix: tests
AdriGeorge Nov 20, 2024
4e4573d
fix: tests
AdriGeorge Nov 21, 2024
774546a
fix: test
AdriGeorge Nov 21, 2024
d5ab48a
fix system ci flow
alexcos20 Dec 3, 2024
674aa1f
fix dockerhub access
alexcos20 Dec 3, 2024
84fe204
fix ci trying to remove non existent image from runner
alexcos20 Dec 3, 2024
f70adfb
fix docker builds
alexcos20 Dec 3, 2024
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
70 changes: 35 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- develop
tags:
- '**'
pull_request:
Expand All @@ -15,12 +14,12 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'v20.16.0'
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand All @@ -30,11 +29,10 @@ jobs:
- run: npm ci
- run: npm run lint


dockertest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: docker build -t 'ocean-node:mybuild' .

build:
Expand All @@ -47,12 +45,12 @@ jobs:
node: ['18.20.4', 'v20.16.0', 'v22.5.1']

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand All @@ -65,12 +63,12 @@ jobs:
test_unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'v20.16.0'
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand All @@ -88,22 +86,23 @@ jobs:
ARWEAVE_GATEWAY: https://arweave.net/
RPCS: '{ "1": {"rpc": "https://rpc.eth.gateway.fm", "chainId": 1, "network": "mainet", "chunkSize": 100}, "137": {"rpc": "https://polygon.meowrpc.com", "chainId": 137, "network": "polygon", "chunkSize": 100 }, "80001": {"rpc": "https://rpc-mumbai.maticvigil.com","chainId": 80001, "network": "polygon-mumbai", "chunkSize": 100 } }'
DB_URL: 'http://localhost:8108/?apiKey=xyz'
DB_TYPE: 'typesense'
FEE_TOKENS: '{ "1": "0x967da4048cD07aB37855c090aAF366e4ce1b9F48", "137": "0x282d8efCe846A88B159800bd4130ad77443Fa1A1", "80001": "0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8", "56": "0xDCe07662CA8EbC241316a15B611c89711414Dd1a" }'
FEE_AMOUNT: '{ "amount": 1, "unit": "MB" }'
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/

test_integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'v20.16.0'
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand All @@ -113,7 +112,7 @@ jobs:
- name: Set ADDRESS_FILE
run: echo "ADDRESS_FILE=${HOME}/.ocean/ocean-contracts/artifacts/address.json" >> $GITHUB_ENV
- name: Checkout Barge
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/barge'
path: 'barge'
Expand All @@ -127,7 +126,7 @@ jobs:
- name: Run Barge
working-directory: ${{ github.workspace }}/barge
run: |
bash -x start_ocean.sh --no-aquarius --no-provider --no-elasticsearch --no-dashboard --with-c2d --with-typesense 2>&1 > start_ocean.log &
bash -x start_ocean.sh --no-aquarius --no-provider --no-dashboard --with-c2d --with-typesense 2>&1 > start_ocean.log &
- run: npm ci
- run: npm run build
- run: docker image ls
Expand All @@ -137,8 +136,6 @@ jobs:
docker image rm node:20-alpine
docker image rm node:18
docker image rm node:18-alpine
docker image rm node:16
docker image rm node:16-alpine
docker image rm debian:10
docker image rm debian:11
docker image rm ubuntu:22.04
Expand Down Expand Up @@ -166,15 +163,16 @@ jobs:
IPFS_GATEWAY: http://172.15.0.16:8080/
ARWEAVE_GATEWAY: https://arweave.net/
RPCS: '{ "8996": {"rpc": "http://127.0.0.1:8545", "chainId": 8996, "network": "development", "chunkSize": 100}}'
DB_URL: 'http://localhost:8108/?apiKey=xyz'
DB_URL: 'http://localhost:9200'
DB_TYPE: 'elasticsearch'
FEE_TOKENS: '{ "1": "0x967da4048cD07aB37855c090aAF366e4ce1b9F48", "137": "0x282d8efCe846A88B159800bd4130ad77443Fa1A1", "80001": "0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8", "56": "0xDCe07662CA8EbC241316a15B611c89711414Dd1a" }'
FEE_AMOUNT: '{ "amount": 1, "unit": "MB" }'
ASSET_PURGATORY_URL: 'https://raw.githubusercontent.com/oceanprotocol/list-purgatory/main/list-assets.json'
ACCOUNT_PURGATORY_URL: 'https://raw.githubusercontent.com/oceanprotocol/list-purgatory/main/list-accounts.json'
- name: docker logs
run: docker logs ocean-ocean-contracts-1 && docker logs ocean-kindcluster-1 && docker logs ocean-computetodata-1 && docker logs ocean-typesense-1
if: ${{ failure() }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/
Expand All @@ -184,15 +182,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 'v20.16.0'

- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand All @@ -204,7 +202,7 @@ jobs:
run: echo "ADDRESS_FILE=${HOME}/.ocean/ocean-contracts/artifacts/address.json" >> $GITHUB_ENV

- name: Checkout Barge
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/barge'
path: 'barge'
Expand All @@ -221,7 +219,7 @@ jobs:
- name: Run Barge
working-directory: ${{ github.workspace }}/barge
run: |
bash -x start_ocean.sh --no-dashboard --no-aquarius --no-provider --no-elasticsearch --with-typesense --with-c2d 2>&1 > start_ocean.log &
bash -x start_ocean.sh --no-aquarius --no-provider --no-dashboard --with-c2d --with-typesense 2>&1 > start_ocean.log &

- run: npm ci
- run: npm run build
Expand All @@ -232,8 +230,6 @@ jobs:
docker image rm node:20-alpine
docker image rm node:18
docker image rm node:18-alpine
docker image rm node:16
docker image rm node:16-alpine
docker image rm debian:10
docker image rm debian:11
docker image rm ubuntu:22.04
Expand All @@ -254,11 +250,11 @@ jobs:
if: ${{ failure() }}

- name: Checkout Ocean Node
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/ocean-node'
repository: 'OceanProtocolEnterprise/ocean-node'
path: 'ocean-node'
ref: ${{ github.event_name == 'pull_request' && github.head_ref || 'develop' }}
ref: ${{ github.event_name == 'pull_request' && github.head_ref || 'main' }}

- name: Start Ocean Node
working-directory: ${{ github.workspace }}/ocean-node
Expand All @@ -273,14 +269,18 @@ jobs:
P2P_ipV4BindTcpPort: 8000
HTTP_API_PORT: 8001
RPCS: '{ "8996": {"rpc": "http://127.0.0.1:8545", "chainId": 8996, "network": "development", "chunkSize": 100} }'
DB_URL: 'http://localhost:8108/?apiKey=xyz'
INDEXER_NETWORKS: '[8996]'
DB_URL: 'http://localhost:9200'
FEE_TOKENS: '{ "1": "0x967da4048cD07aB37855c090aAF366e4ce1b9F48", "137": "0x282d8efCe846A88B159800bd4130ad77443Fa1A1", "80001": "0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8", "56": "0xDCe07662CA8EbC241316a15B611c89711414Dd1a" }'
FEE_AMOUNT: '{ "amount": 1, "unit": "MB" }'
AUTHORIZED_DECRYPTERS: '["0xe2DD09d719Da89e5a3D0F2549c7E24566e947260"]'
P2P_ENABLE_UPNP: 'false'
P2P_ENABLE_AUTONAT: 'false'
ALLOWED_ADMINS: '["0xe2DD09d719Da89e5a3D0F2549c7E24566e947260"]'
DB_TYPE: 'elasticsearch'
- name: Check Ocean Node is running
run: |
for i in $(seq 1 30); do
for i in $(seq 1 90); do
if curl --output /dev/null --silent --head --fail "http://localhost:8001"; then
echo "Ocean Node is up"
exit 0
Expand All @@ -290,7 +290,7 @@ jobs:
echo "Ocean Node did not start in time"
exit 1
- name: Checkout Ocean CLI
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/ocean-cli'
path: 'ocean-cli'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
oceanprotocol/ocean-node
ocnenterprise/ocean-node
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
Expand All @@ -68,7 +68,7 @@ jobs:
push: false
# tags: ${{ steps.ocean_node_meta.outputs.tags }}
labels: ${{ steps.ocean_node_meta.outputs.labels }}
outputs: type=image,name=oceanprotocol/ocean-node,push-by-digest=true,name-canonical=true,push=true
outputs: type=image,name=ocnenterprise/ocean-node,push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
mkdir -p /tmp/digests
Expand All @@ -81,5 +81,3 @@ jobs:
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1


2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ html-report.html

# databases
*.sqlite
databases/*
databases/*
12 changes: 6 additions & 6 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"semi": false,
"singleQuote": true,
"printWidth": 90,
"trailingComma": "none",
"tabWidth": 2
}
"semi": false,
"singleQuote": true,
"printWidth": 90,
"trailingComma": "none",
"tabWidth": 2
}
Loading
Loading