Thank you for your interest in contributing to the OpenShift Agent Install Helper project! This document provides a quick overview of the contribution process.
Please read our README.md first to understand:
- Project purpose and scope
- Key components and utilities
- Prerequisites and dependencies
- Basic usage instructions
openshift-agent-install/
├── README.md # Main project documentation
├── get-rhcos-iso.sh # RHCOS ISO download utility
├── download-openshift-cli.sh # OpenShift CLI download utility
├── disconnected-info.md # Disconnected installation guide
├── docs/ # Documentation website
├── examples/ # Example configurations
│ ├── baremetal-example/
│ ├── vmware-example/
│ └── sno-examples/
├── playbooks/ # Ansible automation
├── scripts/ # Utility scripts
├── e2e-tests/ # End-to-end tests
├── hack/ # Development scripts
└── site-config/ # Site configuration
- Read the README.md thoroughly
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/openshift-agent-install.git cd openshift-agent-install - Create a feature branch:
git checkout -b feature/your-feature-name
As specified in README.md:
- RHEL/CentOS system
- OpenShift CLI tools (
./download-openshift-cli.sh) - NMState CLI (
dnf install nmstate) - Ansible Core (
dnf install ansible-core) - Red Hat OpenShift Pull Secret
For documentation work:
- Ruby 3.2+ and Bundler (see docs/README.md)
- Follow the examples in the
examples/directory - Use the playbooks in
playbooks/as templates - Add tests in
e2e-tests/for new features - Update relevant documentation
- Website changes go in
docs/ - Core project documentation updates in:
- README.md
- disconnected-info.md
- Example READMEs
-
For code changes:
# Run end-to-end tests cd e2e-tests ./run-tests.sh # Test specific playbooks cd playbooks ansible-playbook your-playbook.yml
-
For documentation:
# Test documentation site cd docs bundle exec jekyll serve
-
Update README.md if you've added:
- New prerequisites
- New scripts or utilities
- Changed core functionality
- Added new examples
-
Ensure your PR includes:
- Reference to relevant issues
- Updates to README.md (if needed)
- Updates to example configurations (if needed)
- New or updated tests
-
PR Description Template:
## Description Brief description of changes ## Changes to README.md - [ ] No changes needed - [ ] Updated prerequisites - [ ] Updated usage instructions - [ ] Added new feature documentation ## Testing Done Describe testing performed ## Related Issues Fixes #issue_number
- Check the README.md first
- Look for similar examples in
examples/ - Check existing issues and discussions
- Open a new issue if needed
For comprehensive documentation, including:
- Detailed guides
- Architecture decisions
- Advanced configurations
- Best practices
Visit our documentation website.
This project follows the OpenShift community code of conduct. By participating, you are expected to uphold this code.