-
Notifications
You must be signed in to change notification settings - Fork 39
Website: move node management commands into scripts and test in CI #1511
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
base: develop
Are you sure you want to change the base?
Conversation
936cfcf
to
fabab65
Compare
d3f2f70
to
e627c47
Compare
6b41778
to
ec095cc
Compare
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04, ubuntu-24.04] |
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.
only ubuntu?
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.
Yes, I'm struggling adding macOS for the scripts using docker.
ec095cc
to
450fd7d
Compare
450fd7d
to
a4948b3
Compare
✓ Code Reference Verification PassedAll code references in the documentation have been verified successfully! Total references checked: 1 The documentation is in sync with the codebase on the |
556f535
to
e76a3dc
Compare
Extracted all build-info command examples from the node-management documentation into separate shell scripts that can be tested in CI, following the same pattern used in the developer documentation. Changes: - Created website/docs/node-operators/scripts/ directory - Added build-info-docker.sh for basic Docker usage - Added build-info-docker-version.sh for specific version - Added build-info-native.sh for native binary - Added build-info-native-path.sh for full path usage - Added verify-build-info-docker.sh for Docker verification - Added verify-build-info-native.sh for native verification - Converted node-management.md to .mdx - Updated documentation to use CodeBlock imports with raw-loader
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
Move build-info example output and management script examples into separate files that are imported by the documentation. Add CI verification to ensure scripts work correctly and output matches documented examples. Changes: - Move build-info example output to build-info-example.txt - Create check-build-info-format.sh to verify output format - Combine backup scripts into backup-configuration.sh - Create manage-file-permissions.sh (combined from 3 separate scripts) - Create check-system-resources.sh - Create .env file creation scripts (empty, custom, archive variants) - Add test-management-scripts job to CI workflow - Add gh act run command comment to workflow - Update documentation to use CodeBlock imports for all scripts All scripts are tested in CI on ubuntu-22.04, ubuntu-24.04, and macos-latest to ensure they execute correctly.
The VZ (Virtualization.framework) driver was failing to start on GitHub Actions macOS runners with disk mounting errors. Switch to the QEMU driver which is more reliable in CI environments, with explicit resource limits to ensure consistent behavior.
e76a3dc
to
d225320
Compare
No description provided.