-
Notifications
You must be signed in to change notification settings - Fork 184
fix(ci): use official lotus image for devnet check #6320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
23f9017
4883b4e
19ebad1
268eb29
acf94c0
8bf4eae
39c65b7
7a111af
f9f4b53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ services: | |
| - LOTUS_TUKTUK_HEIGHT=${TUKTUK_HEIGHT} | ||
| - LOTUS_TEEP_HEIGHT=${TEEP_HEIGHT} | ||
| - LOTUS_TOCK_HEIGHT=${TOCK_HEIGHT} | ||
| - LOTUS_GOLDEN_WEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| - LOTUS_GOLDENWEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| env_file: | ||
| - lotus.env | ||
| entrypoint: ["/bin/bash", "-c"] | ||
|
|
@@ -51,12 +51,12 @@ services: | |
| lotus_init: | ||
| condition: service_completed_successfully | ||
| healthcheck: | ||
| test: >- | ||
| curl -s -x post -h "content-type: application/json" | ||
| --data '{ "jsonrpc": "2.0", "method": "filecoin.chainhead", "params": [], "id": 1 }' | ||
| http://lotus_node:${LOTUS_RPC_PORT}/rpc/v0 || exit 1 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The DNS name should be
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't seem correct. DNS name should be taken from the service name (
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/ChainSafe/forest/blob/main/scripts/devnet/lotus.env#L4
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah no, |
||
| test: | | ||
| export FULLNODE_API_INFO="/dns/lotus/tcp/${LOTUS_RPC_PORT}/http" | ||
| lotus chain head || exit 1 | ||
| interval: 10s | ||
| retries: 10 | ||
| start_period: 60s | ||
| timeout: 5s | ||
| container_name: lotus | ||
| networks: | ||
|
|
@@ -76,7 +76,7 @@ services: | |
| - LOTUS_TUKTUK_HEIGHT=${TUKTUK_HEIGHT} | ||
| - LOTUS_TEEP_HEIGHT=${TEEP_HEIGHT} | ||
| - LOTUS_TOCK_HEIGHT=${TOCK_HEIGHT} | ||
| - LOTUS_GOLDEN_WEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| - LOTUS_GOLDENWEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| ports: | ||
| - ${LOTUS_RPC_PORT}:${LOTUS_RPC_PORT} | ||
| - ${LOTUS_P2P_PORT}:${LOTUS_P2P_PORT} | ||
|
|
@@ -120,7 +120,7 @@ services: | |
| - LOTUS_TUKTUK_HEIGHT=${TUKTUK_HEIGHT} | ||
| - LOTUS_TEEP_HEIGHT=${TEEP_HEIGHT} | ||
| - LOTUS_TOCK_HEIGHT=${TOCK_HEIGHT} | ||
| - LOTUS_GOLDEN_WEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| - LOTUS_GOLDENWEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| ports: | ||
| - ${MINER_RPC_PORT}:${MINER_RPC_PORT} | ||
| env_file: | ||
|
|
@@ -159,7 +159,7 @@ services: | |
| - LOTUS_TUKTUK_HEIGHT=${TUKTUK_HEIGHT} | ||
| - LOTUS_TEEP_HEIGHT=${TEEP_HEIGHT} | ||
| - LOTUS_TOCK_HEIGHT=${TOCK_HEIGHT} | ||
| - LOTUS_GOLDEN_WEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| - LOTUS_GOLDENWEEK_HEIGHT=${GOLDEN_WEEK_HEIGHT} | ||
| entrypoint: ["/bin/bash", "-c"] | ||
| env_file: | ||
| - lotus.env | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/filecoin-project/lotus/blob/v1.34.3/build/buildconstants/params_2k.go#L182