Skip to content

Commit

Permalink
Merge pull request #77 from ritual-net/dev
Browse files Browse the repository at this point in the history
Node `1.3.1`
  • Loading branch information
arshan-ritual authored Oct 3, 2024
2 parents 53e0cb6 + 1100c6e commit 4e1105d
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 117 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/e2e-tests-gpu.yaml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/e2e-tests.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.2.0
with:
python-version: "3.11"
cache: pip
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
- ##### The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- ##### This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.0] - 2024-XX-XX
## [1.3.1] - 2024-10-02

### Fixed

- Bug with `chain_id` being undefined when chain is disabled.

## [1.3.0] - 2024-09-20

### Added

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For a full list of available configurations, check out our [Node Configuration](

```bash
# Set tag
tag="1.3.0"
tag="1.3.1"

# Build image from source
docker build -t ritualnetwork/infernet-node:$tag .
Expand All @@ -44,7 +44,7 @@ The GPU-enabled version of the image comes pre-installed with the [NVIDIA CUDA T

```bash
# Set tag
tag="1.3.0"
tag="1.3.1"

# Build GPU-enabled image from source
docker build -f Dockerfile-gpu -t ritualnetwork/infernet-node:$tag-gpu .
Expand Down Expand Up @@ -85,7 +85,7 @@ Follow README instructions in the [infernet-deploy](https://github.com/ritual-ne

```bash
# Set tag
tag="1.3.0"
tag="1.3.1"

# Build for local platform
make build
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker-compose-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
node:
image: ritualnetwork/infernet-node:1.3.0-gpu
image: ritualnetwork/infernet-node:1.3.1-gpu
ports:
- "0.0.0.0:4000:4000"
volumes:
Expand Down
3 changes: 1 addition & 2 deletions deploy/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
node:
image: ritualnetwork/infernet-node:1.3.0
image: ritualnetwork/infernet-node:1.3.1
ports:
- "0.0.0.0:4000:4000"
volumes:
Expand Down Expand Up @@ -59,7 +59,6 @@ services:
networks:
network:


volumes:
node-logs:
redis-data:
14 changes: 14 additions & 0 deletions docker-hub.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/expect -f

set timeout 5

spawn ./hub-tool/hub-tool login $env(DOCKERHUB_USERNAME)

# Add a small delay - this prevents not finding the password prompt
sleep 1

expect "Password:"

send -- "$env(DOCKERHUB_TOKEN)\r"

expect eof
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def on_startup(self: NodeLifecycle) -> None:
# Initialize chain-specific tasks
processor: Optional[ChainProcessor] = None
wallet: Optional[Wallet] = None
chain_id: Optional[int] = None

if chain_enabled:
# Required fields if chain is enabled
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.3.0"
__version__ = "1.3.1"


import re
Expand Down

0 comments on commit 4e1105d

Please sign in to comment.