Thank you for your interest in contributing to the Skupper v2 Ansible collection! This guide will help you set up your development environment and understand our contribution process.
- Python 3.9 or higher
- Ansible 2.15 or later
- Git
- pip
- Clone the repository
mkdir -p ansible_collections/skupper
cd ansible_collections/skupper
git clone https://github.com/skupperproject/skupper-ansible.git v2
cd v2Note: The repository must be cloned into the
ansible_collections/skupper/v2directory structure as shown above. This directory layout is required for proper Ansible collection discovery and functionality.
- Create a virtual environment
python3 -m venv venv
source venv/bin/activate- Install dependencies
pip install -r requirements.txt- Run the setup command
make allNote: This command ensures your environment is properly configured and all necessary dependencies are installed.
- Create a feature branch:
git checkout -b your-feature - Make your changes and write tests
- Run linting and tests locally
- Commit with clear messages
- Submit a pull request
make all integrationNote: To run integration tests, ensure you have access to a valid Kubernetes cluster. Additionally, verify that the following tools are available on your system:
- Podman 4.0 or higher
- Docker
skrouterd(skupper-router binary)These prerequisites are required for testing Skupper v2 functionality within your development environment.
- Follow PEP 8 style guidelines
- Include docstrings for modules and roles
- Write tests for new functionality
- Update documentation as needed
Found a bug? Please create an issue with:
- Description of the problem
- Steps to reproduce
- Expected vs. actual behavior
- Environment details
By contributing, you agree that your contributions will be licensed under the project's license.