Skip to content
Merged

Beta #1200

9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ on:
provider_version:
description: "Provider version (e.g., v0.15.0 or pre-rel-v0.15.1)"
required: false
default: "pre-rel-v0.17.1-hoodi3"
default: "v0.17.4"
requestor_version:
description: "Requestor version (e.g., v0.15.0 or pre-rel-v0.15.1)"
required: false
default: "pre-rel-v0.17.1-hoodi3"
default: "v0.17.4"
provider_wasi_version:
description: "Provider WASI version (e.g., v0.2.2)"
required: false
Expand All @@ -44,8 +44,8 @@ permissions:
contents: read # for checkout

env:
PROVIDER_VERSION: ${{ github.event.inputs.provider_version || 'pre-rel-v0.17.1-hoodi3' }}
REQUESTOR_VERSION: ${{ github.event.inputs.requestor_version || 'pre-rel-v0.17.1-hoodi3' }}
PROVIDER_VERSION: ${{ github.event.inputs.provider_version || 'v0.17.4' }}
REQUESTOR_VERSION: ${{ github.event.inputs.requestor_version || 'v0.17.4' }}
PROVIDER_WASI_VERSION: ${{ github.event.inputs.provider_wasi_version || 'v0.2.2' }}
PROVIDER_VM_VERSION: ${{ github.event.inputs.provider_vm_version || 'v0.5.3' }}
PAYMENT_NETWORK: ${{ github.event.inputs.payment_network || 'hoodi' }}
Expand Down Expand Up @@ -126,6 +126,7 @@ jobs:

release:
name: Release the SDK to NPM and GitHub
needs: [run-e2e-tests, run-examples-tests, run-cypress-tests]
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
- [Contributing](#contributing)
- [Discord](#discord)
- [See also](#see-also)
<!-- TOC -->

## Features

Expand Down Expand Up @@ -91,8 +90,8 @@ yarn add @golem-sdk/golem-js

## Supported environments

The SDK is designed to work with LTS versions of Node (starting from 18)
and with browsers. The minimum supported `yagna` version is `pre-rel-0.17.1-hoodi3`.
The SDK is designed to work with LTS versions of Node (20.x and above).
and with browsers. The minimum supported `yagna` version is `0.15.2`, but if you want to use the `hoodi` testnet (since `holesky` is no longer available), you should use at least version `0.17.4`.

## Getting started with Golem Network

Expand Down
6 changes: 3 additions & 3 deletions tests/docker/Provider.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG UBUNTU_VERSION=22.04
ARG YA_CORE_PROVIDER_VERSION=v0.15.2
ARG YA_CORE_PROVIDER_VERSION=v0.17.4
ARG YA_WASI_VERSION=v0.2.2
ARG YA_VM_VERSION=v0.3.0
ARG YA_VM_VERSION=v0.5.3

FROM ubuntu:${UBUNTU_VERSION}
ARG YA_CORE_PROVIDER_VERSION
Expand Down Expand Up @@ -38,4 +38,4 @@ RUN apt-get update -q \
&& rm -Rf ${YA_DIR_INSTALLER}
COPY ./configureProvider.py /configureProvider.py

CMD ["bash", "-c", "python3 /configureProvider.py && ya-provider rule set outbound everyone --mode whitelist && ya-provider whitelist add -p ipfs.io && golemsp run --payment-network testnet " ]
CMD ["bash", "-c", "python3 /configureProvider.py && ya-provider rule set outbound everyone --mode whitelist && ya-provider whitelist add -p ipfs.io && golemsp run --no-interactive --payment-network testnet " ]
2 changes: 1 addition & 1 deletion tests/docker/Requestor.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG UBUNTU_VERSION=22.04
ARG YA_CORE_REQUESTOR_VERSION=v0.15.2
ARG YA_CORE_REQUESTOR_VERSION=v0.17.4

FROM node:22
ARG YA_CORE_REQUESTOR_VERSION
Expand Down
15 changes: 4 additions & 11 deletions tests/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ services:
- YA_NET_BROADCAST_SIZE=10
- NODE_NAME=provider-1
- SUBNET=${YAGNA_SUBNET:-golemjstest}
- YA_NET_TYPE=central
- CENTRAL_NET_HOST=polygongas.org:7999

- YA_NET_BIND_URL=udp://0.0.0.0:0
provider-2:
build:
context: .
Expand All @@ -48,12 +46,10 @@ services:
start_period: 40s
environment:
- MIN_AGREEMENT_EXPIRATION=30s
- YA_NET_BROADCAST_SIZE=10
- NODE_NAME=provider-2
- SUBNET=${YAGNA_SUBNET:-golemjstest}
- YA_NET_BIND_URL=udp://0.0.0.0:0
- YA_NET_TYPE=central
- CENTRAL_NET_HOST=polygongas.org:7999
# - YA_NET_RELAY_HOST=63.34.24.27:7477
requestor:
build:
context: .
Expand All @@ -71,11 +67,8 @@ services:
- GSB_URL=tcp://0.0.0.0:7464
- YAGNA_SUBNET=${YAGNA_SUBNET:-golemjstest}
- YAGNA_APPKEY=try_golem
- PAYMENT_NETWORK=${PAYMENT_NETWORK}
- HOODI_MAX_FEE_PER_GAS=51
- YA_NET_TYPE=central
- CENTRAL_NET_HOST=polygongas.org:7999
# - YA_NET_RELAY_HOST=63.34.24.27:7477
- PAYMENT_NETWORK=${PAYMENT_NETWORK:-hoodi}
- YA_NET_BIND_URL=udp://0.0.0.0:0
healthcheck:
test: ["CMD-SHELL", "curl -s -o /dev/null -w '%{http_code}' http://localhost:7465 | grep -q 401"]
interval: 10s
Expand Down
Loading