Implement Ansible roles for Rocky Linux Testing Framework

- Added `bootstrap_sparrowdo` role for bootstrapping Sparrowdo on a VM.
- Introduced `cleanup_vm` role for cleaning up VMs and disk images.
- Created `download_image` role to download and cache QCOW2 images.
- Developed `golden_image` role for creating and customizing golden images.
- Implemented `provision_vm` role for provisioning VMs as linked clones.
- Added `run_test` role for executing tests with Sparrowdo.
- Created playbooks for building golden images, running single tests, and running test suites.
- Enhanced documentation with usage examples, configuration details, and troubleshooting tips.
- Added support for multiple cloud providers (AWS, Azure) in the test execution workflow.

Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
Stephen Simpson
2025-12-29 16:02:39 -06:00
parent bb829c9b63
commit ec04f0bec5
46 changed files with 2005 additions and 2055 deletions

View File

@@ -0,0 +1,36 @@
---
# Azure provider-specific configuration
# TODO: Implement Azure-specific settings
# Provider identification
provider: azure
# Azure-specific variables (to be implemented)
# azure_location: "eastus"
# azure_resource_group: ""
# azure_vm_size: "Standard_B2s"
# azure_virtual_network: ""
# azure_subnet: ""
# azure_security_group: ""
# Rocky Linux image references (to be populated)
# rocky9_image:
# publisher: "resf"
# offer: "rockylinux-9"
# sku: "rockylinux-9"
# version: "latest"
# rocky8_image:
# publisher: "resf"
# offer: "rockylinux-8"
# sku: "rockylinux-8"
# version: "latest"
# VM settings
# vm_name_prefix: "test"
# vm_tags:
# Environment: "testing"
# ManagedBy: "ansible"
# Note: Azure does not require golden image creation
# Workflow: Select image -> Create VM -> Run Sparrowdo tests -> Delete VM