Skip to content
Merged
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
85 changes: 41 additions & 44 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
repository: 'oceanprotocol/barge'
path: 'barge'
- name: Login to Docker Hub
if: ${{ env.DOCKERHUB_PASSWORD && env.DOCKERHUB_USERNAME }}
if: ${{ env.DOCKERHUB_PASSWORDNONO && env.DOCKERHUB_USERNAMENONO }}
run: |
echo "Login to Docker Hub";echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
env:
Expand Down Expand Up @@ -169,10 +169,8 @@ 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_TYPE: 'typesense'
DB_URL: 'http://localhost:8108/?apiKey=xyz'
DB_USERNAME: 'elastic'
DB_PASSWORD: 'changeme'
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'
Expand Down Expand Up @@ -228,12 +226,44 @@ jobs:
working-directory: ${{ github.workspace }}/barge
run: |
bash -x start_ocean.sh --no-node --with-typesense 2>&1 > start_ocean.log &
- run: npm ci
- run: npm run build
- run: docker image ls
- name: Delete default runner images
run: |
rm -rf /usr/share/swift/
- name: Checkout Ocean CLI
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/ocean-cli'
path: 'ocean-cli'
- name: Checkout Ocean-js
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/ocean.js'
path: 'ocean.js'
ref: main
- name: Build ocean-js
working-directory: ${{ github.workspace }}/ocean.js
run: |
npm ci
npm run build
npm link
- name: Setup Ocean CLI
working-directory: ${{ github.workspace }}/ocean-cli
run: |
npm ci
npm link @oceanprotocol/lib
npm run build
- name: Checkout Ocean Node
uses: actions/checkout@v4
with:
repository: 'OceanProtocolEnterprise/ocean-node'
path: 'ocean-node'
ref: ${{ github.event_name == 'pull_request' && github.head_ref || 'main' }}
- name: Build Ocean Node
working-directory: ${{ github.workspace }}/ocean-node
run: |
npm ci
npm run build

- name: Wait for contracts deployment and C2D cluster to be ready
working-directory: ${{ github.workspace }}/barge
Expand All @@ -247,12 +277,6 @@ jobs:
run: docker logs ocean-contracts-1 && docker logs ocean-typesense-1
if: ${{ failure() }}

- name: Checkout Ocean Node
uses: actions/checkout@v4
with:
repository: 'OceanProtocolEnterprise/ocean-node'
path: 'ocean-node'
ref: ${{ github.event_name == 'pull_request' && github.head_ref || 'main' }}
- name: Set DOCKER_REGISTRY_AUTHS from Docker Hub secrets
if: env.DOCKERHUB_USERNAME && env.DOCKERHUB_PASSWORD
run: |
Expand All @@ -269,8 +293,6 @@ jobs:
- name: Start Ocean Node
working-directory: ${{ github.workspace }}/ocean-node
run: |
npm ci
npm run build
npm run start > ocean-node.log 2>&1 &
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
Expand All @@ -280,6 +302,7 @@ jobs:
HTTP_API_PORT: 8001
RPCS: '{ "8996": {"rpc": "http://127.0.0.1:8545", "chainId": 8996, "network": "development", "chunkSize": 100} }'
INDEXER_NETWORKS: '[8996]'
DB_URL: 'http://localhost:9200'
FEE_TOKENS: '{ "1": "0x967da4048cD07aB37855c090aAF366e4ce1b9F48", "137": "0x282d8efCe846A88B159800bd4130ad77443Fa1A1", "80001": "0xd8992Ed72C445c35Cb4A2be468568Ed1079357c8", "56": "0xDCe07662CA8EbC241316a15B611c89711414Dd1a" }'
FEE_AMOUNT: '{ "amount": 1, "unit": "MB" }'
SKIP_FEE_TOKEN_VALIDATION: 'true'
Expand All @@ -294,44 +317,18 @@ jobs:
MAX_CONNECTIONS_PER_MINUTE: 320
DOCKER_COMPUTE_ENVIRONMENTS: '[{"socketPath":"/var/run/docker.sock","environments":[{"storageExpiry":604800,"maxJobDuration":3600,"minJobDuration":60,"resources":[{"id":"cpu","total":4,"max":4,"min":1,"type":"cpu"},{"id":"ram","total":10,"max":10,"min":1,"type":"ram"},{"id":"disk","total":10,"max":10,"min":0,"type":"disk"}],"fees":{"8996":[{"prices":[{"id":"cpu","price":1}]}]},"free":{"maxJobDuration":60,"maxJobs":3,"resources":[{"id":"cpu","max":1},{"id":"ram","max":1},{"id":"disk","max":1}]}}]}]'
DOCKER_REGISTRY_AUTHS: ${{ env.DOCKER_REGISTRY_AUTHS }}
PERSISTENT_STORAGE: '{"enabled": true, "type": "localfs", "options": {"folder": "/tmp/ocean-persistent-storage"}}'
- name: Check Ocean Node is running
run: |
for i in $(seq 1 90); do
if curl --output /dev/null --silent --max-time 1 --head --fail "http://localhost:8001"; then
for i in $(seq 1 12); do
if curl --output /dev/null --silent --head --fail "http://localhost:8001"; then
echo "Ocean Node is up"
exit 0
fi
sleep 10
done
echo "Ocean Node did not start in time"
exit 1
- name: Checkout Ocean CLI
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/ocean-cli'
path: 'ocean-cli'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 'v20.19.0'
- name: Checkout Ocean-js
uses: actions/checkout@v4
with:
repository: 'oceanprotocol/ocean.js'
path: 'ocean.js'
ref: main
- name: Build ocean-js
working-directory: ${{ github.workspace }}/ocean.js
run: |
npm ci
npm run build
npm link
- name: Setup Ocean CLI
working-directory: ${{ github.workspace }}/ocean-cli
run: |
npm ci
npm link @oceanprotocol/lib
npm run build
- name: Run system tests
working-directory: ${{ github.workspace }}/ocean-cli
run: npm run test:system
Expand Down
49 changes: 48 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,54 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v3.0.0](https://github.com/oceanprotocol/ocean-node/compare/v2.1.1...v3.0.0)
#### [v3.0.6](https://github.com/oceanprotocol/ocean-node/compare/v3.0.5...v3.0.6)

- fix fees on auto create benchmark env [`#1347`](https://github.com/oceanprotocol/ocean-node/pull/1347)

#### [v3.0.5](https://github.com/oceanprotocol/ocean-node/compare/v3.0.4...v3.0.5)

> 22 April 2026

- enableNetwork per env [`#1346`](https://github.com/oceanprotocol/ocean-node/pull/1346)
- Release 3.0.5 [`772a8f4`](https://github.com/oceanprotocol/ocean-node/commit/772a8f44795dab6563d818deb9a668e0b8ef2220)

#### [v3.0.4](https://github.com/oceanprotocol/ocean-node/compare/v3.0.3...v3.0.4)

> 22 April 2026

- fix access list issue [`#1345`](https://github.com/oceanprotocol/ocean-node/pull/1345)
- Release 3.0.4 [`01b6f9f`](https://github.com/oceanprotocol/ocean-node/commit/01b6f9f927926caf21494d7dabdc069db62b173d)

#### [v3.0.3](https://github.com/oceanprotocol/ocean-node/compare/v3.0.2...v3.0.3)

> 22 April 2026

- set benchmark env on base [`#1337`](https://github.com/oceanprotocol/ocean-node/pull/1337)
- parse multiaddrs if string [`#1342`](https://github.com/oceanprotocol/ocean-node/pull/1342)
- Release 3.0.3 [`ad9cecc`](https://github.com/oceanprotocol/ocean-node/commit/ad9ceccf703fc6129fa0a240f3212cf5ccfea0aa)
- set accessList [`a3cd730`](https://github.com/oceanprotocol/ocean-node/commit/a3cd730d8a1209edfecafe026a3351da659e4702)
- add benchmark validation [`3f94ea8`](https://github.com/oceanprotocol/ocean-node/commit/3f94ea8968539d74e40d0055fc025149ed5206a7)

#### [v3.0.2](https://github.com/oceanprotocol/ocean-node/compare/v3.0.1...v3.0.2)

> 21 April 2026

- fix: persistent storage required params to allow authToken [`#1341`](https://github.com/oceanprotocol/ocean-node/pull/1341)
- Bump undici and release-it [`#1340`](https://github.com/oceanprotocol/ocean-node/pull/1340)
- Release 3.0.2 [`8129284`](https://github.com/oceanprotocol/ocean-node/commit/8129284686017117e815ad5fee84e20c1e15f3bb)

#### [v3.0.1](https://github.com/oceanprotocol/ocean-node/compare/v3.0.0...v3.0.1)

> 20 April 2026

- check if c2d is configured [`#1336`](https://github.com/oceanprotocol/ocean-node/pull/1336)
- remove chainId [`#1338`](https://github.com/oceanprotocol/ocean-node/pull/1338)
- fix: compose node env yaml indentation [`#1335`](https://github.com/oceanprotocol/ocean-node/pull/1335)
- Release 3.0.1 [`1a25e48`](https://github.com/oceanprotocol/ocean-node/commit/1a25e48ad3410328b4710265ec434c074b28d78c)

### [v3.0.0](https://github.com/oceanprotocol/ocean-node/compare/v2.1.1...v3.0.0)

> 17 April 2026

- Bump basic-ftp from 5.2.1 to 5.3.0 [`#1332`](https://github.com/oceanprotocol/ocean-node/pull/1332)
- fix(#1327): use container finishedAt to compute algo stop time on crash [`#1331`](https://github.com/oceanprotocol/ocean-node/pull/1331)
Expand Down
Loading
Loading