Skip to content

Commit 17884c2

Browse files
committed
CI: add workflow to test node-operators documentation scripts
Created a new CI workflow to test the node-operators documentation scripts, ensuring the build-info command examples work correctly across different platforms. The workflow tests: - build-info-docker.sh - Basic Docker build-info command - build-info-docker-version.sh - Version-specific build-info - verify-build-info-docker.sh - Build-info verification with grep Tested on: ubuntu-22.04, ubuntu-24.04, macos-latest Changes: - Added .github/workflows/test-docs-scripts-node-operators.yaml
1 parent 874548f commit 17884c2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test Documentation Scripts - Node Operators
2+
3+
# Test node-operators documentation scripts to ensure they work correctly
4+
# These scripts demonstrate node management commands for users
5+
on:
6+
push:
7+
branches: [main, develop]
8+
pull_request:
9+
10+
jobs:
11+
test-build-info-scripts:
12+
name: Test Build Info Scripts (${{ matrix.os }})
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-22.04, ubuntu-24.04, macos-latest]
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v5
21+
22+
- name: Make scripts executable
23+
run: |
24+
chmod +x website/docs/node-operators/scripts/*.sh
25+
26+
- name: Test build-info-docker script
27+
run: |
28+
bash website/docs/node-operators/scripts/build-info-docker.sh
29+
30+
- name: Test build-info-docker-version script
31+
run: |
32+
bash website/docs/node-operators/scripts/build-info-docker-version.sh
33+
34+
- name: Test verify-build-info-docker script
35+
run: |
36+
bash website/docs/node-operators/scripts/verify-build-info-docker.sh

0 commit comments

Comments
 (0)