Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
8fadaed
Revert "revert release changes"
collinjackson Aug 4, 2025
27d5274
Remove extra logs
collinjackson Aug 4, 2025
94cd5bd
Simplify
collinjackson Aug 4, 2025
fc264c1
Merge remote-tracking branch 'origin/main' into collinjackson/integra…
collinjackson Aug 9, 2025
b88a7a4
Remove comment
collinjackson Aug 9, 2025
64ae3a5
Merge remote-tracking branch 'origin/main' into collinjackson/integra…
collinjackson Aug 13, 2025
95b9c37
ci(release): add manual checkbox overrides for docker build/push; gat…
collinjackson Aug 13, 2025
7d861f9
ci: gate docker push to main with manual override; enforce bash for i…
collinjackson Aug 13, 2025
cd504db
Remove comments
collinjackson Aug 13, 2025
8a54bb8
tests(integration): handle 429 early and try next node id; make ulimi…
collinjackson Aug 13, 2025
fbf445c
tests(integration): on failure, rotate node IDs and retry a second pa…
collinjackson Aug 13, 2025
e929858
Merge remote-tracking branch 'origin/main' into collinjackson/integra…
collinjackson Aug 13, 2025
cbd6bcf
Fix test
collinjackson Aug 13, 2025
ce9d717
Fix success pattern
collinjackson Aug 14, 2025
2107703
Fix flaky windows test
collinjackson Aug 14, 2025
9a0b4ab
Increase pause
collinjackson Aug 14, 2025
cf04e1d
Flakiness
collinjackson Aug 14, 2025
78024c5
Update docs
collinjackson Aug 14, 2025
455b523
Consolidate
collinjackson Aug 14, 2025
d1de149
matrix release
collinjackson Aug 14, 2025
471f8ec
matrix
collinjackson Aug 14, 2025
173f909
Fix branching
collinjackson Aug 14, 2025
79e74f5
Remove matrix workflow
collinjackson Aug 14, 2025
90d08d4
Add inputs
collinjackson Aug 14, 2025
0eecd3d
Syntax fix
collinjackson Aug 14, 2025
7d29134
make executable
collinjackson Aug 14, 2025
4e46d88
Clean up scripts
collinjackson Aug 14, 2025
1a9f98b
Fix path
collinjackson Aug 14, 2025
3e60fbb
Propagate errors
collinjackson Aug 15, 2025
1bf0113
Fix negative test
collinjackson Aug 15, 2025
ff49aa7
Try sequential
collinjackson Aug 15, 2025
4534e02
Windows fix
collinjackson Aug 16, 2025
825b5fc
Troubleshooting windows
collinjackson Aug 19, 2025
c5a8b82
Merge remote-tracking branch 'origin/main' into collinjackson/integra…
collinjackson Aug 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 59 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,25 @@ jobs:
working-directory: clients/cli/target/x86_64-unknown-linux-gnu/release/
run: cp nexus-network nexus-network-linux-x86_64

- name: Integration Test
working-directory: clients/cli
timeout-minutes: 5
run: |
if [ -n "${{ secrets.SMOKE_TEST_NODE_IDS }}" ]; then
echo "Running integration test with secret node IDs"
SMOKE_TEST_NODE_IDS="${{ secrets.SMOKE_TEST_NODE_IDS }}" ../../tests/integration_test.sh ./target/x86_64-unknown-linux-gnu/release/nexus-network-linux-x86_64 --max-tasks 1
else
echo "Running integration test with fallback node IDs"
../../tests/integration_test.sh ./target/x86_64-unknown-linux-gnu/release/nexus-network-linux-x86_64 --max-tasks 1
fi

# Upload the binary as an artifact
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nexus-network-linux-x86_64 # Name of the artifact
path: clients/cli/target/x86_64-unknown-linux-gnu/release/nexus-network-linux-x86_64 # Path to file to upload


build-linux-arm64:
name: Build Linux (ARM64)
Expand Down Expand Up @@ -157,13 +169,20 @@ jobs:
working-directory: clients/cli/target/aarch64-unknown-linux-gnu/release/
run: cp nexus-network nexus-network-linux-arm64

# Skip integration test for ARM64 Linux (cross-compiled, can't run on x86_64 runner)
# - name: Integration Test
# working-directory: clients/cli
# timeout-minutes: 5
# run: |
# echo "Skipping integration test for ARM64 Linux (cross-compiled binary)"

# Upload the binary as an artifact
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nexus-network-linux-arm64 # Name of the artifact
path: clients/cli/target/aarch64-unknown-linux-gnu/release/nexus-network-linux-arm64 # Path to file to upload

build-macos-x86_64:
name: Build macOS (x86_64)
runs-on: macos-latest
Expand Down Expand Up @@ -219,14 +238,25 @@ jobs:
working-directory: clients/cli/target/x86_64-apple-darwin/release/
run: cp nexus-network nexus-network-macos-x86_64

- name: Integration Test
working-directory: clients/cli
timeout-minutes: 5
run: |
if [ -n "${{ secrets.SMOKE_TEST_NODE_IDS }}" ]; then
echo "Running integration test with secret node IDs"
SMOKE_TEST_NODE_IDS="${{ secrets.SMOKE_TEST_NODE_IDS }}" ../../tests/integration_test.sh ./target/x86_64-apple-darwin/release/nexus-network-macos-x86_64 --max-tasks 1
else
echo "Running integration test with fallback node IDs"
../../tests/integration_test.sh ./target/x86_64-apple-darwin/release/nexus-network-macos-x86_64 --max-tasks 1
fi

# Upload the binary as an artifact
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nexus-network-macos-x86_64 # Name of the artifact
path: clients/cli/target/x86_64-apple-darwin/release/nexus-network-macos-x86_64 # Path to file to upload


build-macos-arm64:
name: Build macOS (ARM64)
Expand Down Expand Up @@ -275,13 +305,25 @@ jobs:
working-directory: clients/cli/target/aarch64-apple-darwin/release/
run: cp nexus-network nexus-network-macos-arm64

- name: Integration Test
working-directory: clients/cli
timeout-minutes: 5
run: |
if [ -n "${{ secrets.SMOKE_TEST_NODE_IDS }}" ]; then
echo "Running integration test with secret node IDs"
SMOKE_TEST_NODE_IDS="${{ secrets.SMOKE_TEST_NODE_IDS }}" ../../tests/integration_test.sh ./target/aarch64-apple-darwin/release/nexus-network-macos-arm64 --max-tasks 1
else
echo "Running integration test with fallback node IDs"
../../tests/integration_test.sh ./target/aarch64-apple-darwin/release/nexus-network-macos-arm64 --max-tasks 1
fi

# Upload the binary as an artifact
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nexus-network-macos-arm64 # Name of the artifact
path: clients/cli/target/aarch64-apple-darwin/release/nexus-network-macos-arm64 # Path to file to upload


build-windows-x86_64:
name: Build Windows (x86_64)
Expand Down Expand Up @@ -327,13 +369,25 @@ jobs:
working-directory: clients/cli/target/x86_64-pc-windows-msvc/release/
run: cp nexus-network.exe nexus-network-windows-x86_64.exe

- name: Integration Test
working-directory: clients/cli
timeout-minutes: 5
run: |
if [ -n "${{ secrets.SMOKE_TEST_NODE_IDS }}" ]; then
echo "Running integration test with secret node IDs"
SMOKE_TEST_NODE_IDS="${{ secrets.SMOKE_TEST_NODE_IDS }}" ../../tests/integration_test.sh ./target/x86_64-pc-windows-msvc/release/nexus-network-windows-x86_64.exe --max-tasks 1
else
echo "Running integration test with fallback node IDs"
../../tests/integration_test.sh ./target/x86_64-pc-windows-msvc/release/nexus-network-windows-x86_64.exe --max-tasks 1
fi

# Upload the binary as an artifact
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: nexus-network-windows-x86_64.exe # Name of the artifact
path: clients/cli/target/x86_64-pc-windows-msvc/release/nexus-network-windows-x86_64.exe # Path to file to upload


release:
name: Create Release
Expand Down
5 changes: 0 additions & 5 deletions tests/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,6 @@ for node_id in "${NODE_IDS[@]}"; do
fi
fi

# Show last few lines of CLI output for debugging
print_info "CLI output (last 10 lines):"
tail -10 "$TEMP_RAW_OUTPUT" 2>/dev/null | while IFS= read -r line; do
echo " $line"
done

# Check if we found the success pattern
if [ "$SUCCESS_FOUND" = true ]; then
Expand Down