Skip to content

Commit fb3f443

Browse files
authored
Merge pull request #3084 from pyth-network/mike/hip3-fixes
feat(hip-3-pusher): build/docker fixes
2 parents d927b22 + ea1cc5a commit fb3f443

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed

apps/hip-3-pusher/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ RUN --mount=type=cache,target=/root/.cache/uv \
3030
uv sync --locked --no-dev
3131

3232
# Run the app by default
33-
CMD ["uv", "run", "src/pusher/main.py", "--config", "config/config.toml"]
33+
CMD ["uv", "run", "-m", "pusher.main", "--config", "config/config.toml"]

apps/hip-3-pusher/config/config.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ stale_price_threshold_seconds = 5
22
prometheus_port = 9090
33

44
[hyperliquid]
5+
hyperliquid_ws_urls = ["wss://api.hyperliquid-testnet.xyz/ws"]
56
market_name = ""
67
market_symbol = "BTC"
78
use_testnet = false
@@ -11,7 +12,9 @@ enable_publish = false
1112

1213
[kms]
1314
enable_kms = false
14-
key_path = "/path/to/kms_key.txt"
15+
key_path = "/path/to/aws_kms_key_id.txt"
16+
access_key_id_path = "/path/to/aws_access_key_id.txt"
17+
secret_access_key_path = "/path/to/aws_secret_access_key.txt"
1518
aws_region_name = "ap-northeast-1"
1619

1720
[lazer]

apps/hip-3-pusher/pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,22 @@ dependencies = [
1212
"opentelemetry-exporter-prometheus~=0.58b0",
1313
"opentelemetry-sdk~=1.37.0",
1414
"prometheus-client~=0.23.1",
15+
"setuptools~=80.9",
1516
"tenacity~=9.1.2",
1617
"websockets~=15.0.1",
18+
"wheel~=0.45.1",
1719
]
1820

21+
[build-system]
22+
requires = ["setuptools~=80.9", "wheel"]
23+
build-backend = "setuptools.build_meta"
24+
25+
[tool.setuptools]
26+
package-dir = {"" = "src"}
27+
28+
[tool.setuptools.packages.find]
29+
where = ["src"]
30+
1931
[dependency-groups]
2032
dev = [
2133
"pytest~=8.4.2",

apps/hip-3-pusher/uv.lock

Lines changed: 23 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)