-
Notifications
You must be signed in to change notification settings - Fork 5
Set up nodectl end-to-end network test in CI #75
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
Merged
Keshoid
merged 13 commits into
release/nodectl/v0.4.0
from
feature/sma-59-set-up-nodectl-end-to-end-network-test-in-ci
Apr 10, 2026
Merged
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f6d641e
chore: add run_singlehost_nodectl.sh script
Keshoid ff1b98e
test: add auth commands to test script
Keshoid 9e8ab39
test: debug & update ci script for nodectl
Keshoid 8ee07ec
chore: add github action job for nodectl e2e tests
Keshoid 8e4bc59
refactor: e2e test script for nodectl
Keshoid 50e8f8c
chore: update CI workflow to ignore markdown and docs changes
Keshoid 83804e3
fix: enhance logging and error handling in run_singlehost_nodectl.py
Keshoid 3de14b1
Merge branch 'release/nodectl/v0.4.0' into feature/sma-59-set-up-node…
Keshoid 26cf4fc
Merge branch 'feature/sma-59-set-up-nodectl-end-to-end-network-test-i…
Keshoid 0a95bcb
fix: make fmt
Keshoid c21f190
chore: upd targets in Makefile
Keshoid 394791d
chore: update CI workflow to use ubuntu-latest
Keshoid fadc0da
chore: update nodectl e2e workflow to trigger on PRs targeting releas…
Keshoid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| name: nodectl-e2e | ||
|
|
||
| on: | ||
| # Auto trigger: PR approved targeting release/nodectl/* | ||
| pull_request_review: | ||
| types: [submitted] | ||
|
|
||
| # Manual trigger: label "run-e2e" on any PR | ||
| pull_request: | ||
| types: [labeled] | ||
|
|
||
| # Manual dispatch | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: nodectl-e2e-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| CARGO_TERM_COLOR: always | ||
|
|
||
| jobs: | ||
| e2e: | ||
| runs-on: | ||
| group: ton-large | ||
| timeout-minutes: 30 | ||
| if: > | ||
| ( | ||
| github.event_name == 'pull_request_review' && | ||
| github.event.review.state == 'approved' && | ||
| startsWith(github.event.pull_request.base.ref, 'release/nodectl/') | ||
| ) || | ||
| ( | ||
| github.event_name == 'pull_request' && | ||
| github.event.label.name == 'run-e2e' | ||
| ) || | ||
| github.event_name == 'workflow_dispatch' | ||
| defaults: | ||
| run: | ||
| working-directory: src | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
|
|
||
| - name: Install system dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y pkg-config clang libssl-dev libzstd-dev \ | ||
| libgoogle-perftools-dev build-essential xxd jq python3 python3-yaml | ||
|
|
||
| - name: Install bun | ||
| uses: oven-sh/setup-bun@v2 | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| workspaces: src -> target | ||
| shared-key: nodectl-e2e | ||
|
|
||
| - name: Install bun deps | ||
| run: bun install | ||
| working-directory: src/node/tests/test_load_net | ||
|
|
||
| - name: Run nodectl e2e test | ||
| env: | ||
| MASTER_WALLET_KEY: ${{ secrets.MASTER_WALLET_KEY }} | ||
| run: bash node/tests/test_run_net_py/test_nodectl_ci.sh | ||
|
|
||
| - name: Upload logs on failure | ||
| if: failure() | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: nodectl-e2e-logs | ||
| path: | | ||
| src/node/tests/test_run_net_py/tmp/nodectl-service.log | ||
| src/node/tests/test_run_net_py/tmp/singlehost-bootstrap.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| pyyaml>=6.0,<7 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.