|
| 1 | +# Release PR: SDAF 3.18.0.0 |
| 2 | + |
| 3 | +## Problem |
| 4 | + |
| 5 | +The SAP Deployment Automation Framework required several critical improvements across multiple dimensions: |
| 6 | + |
| 7 | +1. **DevOps Integration Gaps** - Limited support for GitHub Actions workflows and inconsistent Azure App Configuration handling across deployment pipelines |
| 8 | +2. **Platform Support** - Missing support for Ubuntu 25.04 and incomplete Oracle Grid infrastructure provisioning |
| 9 | +3. **Deployment Reliability** - Key vault reference inconsistencies in managed DevOps scenarios causing deployment failures |
| 10 | +4. **Configuration Management** - Fragmented approach to storing and retrieving deployment parameters across control plane and workload zones |
| 11 | +5. **Infrastructure Gaps** - Missing marketplace plan configurations for observer VMs and incomplete Azure App Configuration integration |
| 12 | + |
| 13 | +## Solution |
| 14 | + |
| 15 | +### DevOps & Automation |
| 16 | +- **GitHub Actions Integration**: |
| 17 | + - New Python script (`New-SDAFGitHubActions.py`) for automated SDAF GitHub Actions setup with retry logic and improved error handling |
| 18 | + - Docker container support for GitHub Actions with optimized Dockerfile and container build workflow |
| 19 | + - Updated Terraform version to 1.14.0 across repository |
| 20 | +- **Azure App Configuration**: Implemented comprehensive Terraform modules for App Configuration resources across SAP landscape and library modules with private DNS zone management |
| 21 | +- **Pipeline Script Refactoring**: Enhanced v2 pipeline scripts with platform-agnostic functions, improved variable management, and ECC PGP key generation support |
| 22 | + |
| 23 | +### Infrastructure & Platform Support |
| 24 | +- **Ubuntu 25.04 Support**: Updated deployment scripts and Terraform configurations to handle Ubuntu 25.04 ("plucky"), including Azure CLI repository adjustments |
| 25 | +- **Oracle Grid Enhancements**: Added CRS data/admin directories with dynamic permissions, implemented logical sector size handling for disk configurations |
| 26 | +- **Observer VM Marketplace Plans**: Added dynamic plan configuration blocks to properly provision marketplace-based observer VMs |
| 27 | + |
| 28 | +### Deployment Reliability |
| 29 | +- **Key Vault Handling**: Refactored key vault ID retrieval to use control plane naming conventions consistently across all deployment scripts |
| 30 | +- **State Management**: Improved Terraform state migration handling with proper parameter sourcing and subscription ID management |
| 31 | +- **Variable Management**: Streamlined APPLICATION_CONFIGURATION_ID and APPLICATION_CONFIGURATION_NAME handling with proper fallbacks and validation |
| 32 | + |
| 33 | +### Configuration & Usability |
| 34 | +- **Distribution Variables**: Made distribution IDs available across all Ansible playbooks as group variables for improved consistency |
| 35 | +- **SUSE HA Optimization**: Set default vm.swappiness to 10 (down from 60) for SUSE HA clusters to improve performance |
| 36 | +- **Parameter Handling**: Refactored parameter passing to use dict with zip for improved code clarity |
| 37 | +- **Debug Improvements**: Enhanced error messages, logging, and conditional checks across deployment scripts |
| 38 | + |
| 39 | +### Bug Fixes |
| 40 | +- Fixed SAP_PARAMS handling in v1 Ansible script to properly handle file paths |
| 41 | +- Corrected conditional logic for App Configuration private DNS zones and virtual network links |
| 42 | +- Resolved empty Terraform state file handling in installer scripts |
| 43 | +- Fixed subscription ID extraction and environment variable exports |
| 44 | + |
| 45 | +## Tests |
| 46 | + |
| 47 | +### Prerequisites |
| 48 | +- Azure subscription with appropriate permissions |
| 49 | +- Ubuntu 25.04 test environment (if testing platform support) |
| 50 | +- GitHub repository with Actions enabled (for GitHub Actions testing) |
| 51 | + |
| 52 | +### Test Scenarios |
| 53 | + |
| 54 | +**1. GitHub Actions Setup** |
| 55 | +```bash |
| 56 | +cd deploy/scripts/py_scripts/SDAF-GitHub-Actions |
| 57 | +python New-SDAFGitHubActions.py |
| 58 | +# Verify: GitHub Actions workflows created, repository variables configured, Terraform version set to 1.14 |
| 59 | +``` |
| 60 | + |
| 61 | +**2. Ubuntu 25.04 Deployment** |
| 62 | +```bash |
| 63 | +# Deploy control plane on Ubuntu 25.04 |
| 64 | +./deploy_control_plane_v2.sh --parameterfile <config_file> |
| 65 | +# Verify: Azure CLI repository correctly configured, Terraform 1.14.0 installed |
| 66 | +``` |
| 67 | + |
| 68 | +**3. Azure App Configuration Integration** |
| 69 | +```bash |
| 70 | +# Deploy landscape with App Configuration |
| 71 | +terraform plan -var-file=<landscape_config> |
| 72 | +# Verify: App Configuration resources created, private DNS zones configured, key-value pairs populated |
| 73 | +``` |
| 74 | + |
| 75 | +**4. Oracle Grid Setup** |
| 76 | +```bash |
| 77 | +# Deploy SAP system with Oracle database |
| 78 | +# Verify: CRS data/admin directories created with correct permissions, logical sector sizes applied |
| 79 | +``` |
| 80 | + |
| 81 | +**5. Managed DevOps Scenario** |
| 82 | +```bash |
| 83 | +# Deploy using v2 pipeline scripts |
| 84 | +./deploy/scripts/pipeline_scripts/v2/01-webapp-configuration.sh |
| 85 | +# Verify: Key vault references resolved correctly, APPLICATION_CONFIGURATION_ID retrieved |
| 86 | +``` |
| 87 | + |
| 88 | +**6. Observer VM with Marketplace Image** |
| 89 | +```bash |
| 90 | +# Deploy SAP system with observer VM using marketplace image |
| 91 | +# Verify: Plan block included in Terraform configuration, VM deploys successfully |
| 92 | +``` |
| 93 | + |
| 94 | +## Notes |
| 95 | + |
| 96 | +### Breaking Changes |
| 97 | +- None identified - this release maintains backward compatibility with existing deployments |
| 98 | + |
| 99 | +### Migration Considerations |
| 100 | +- Existing deployments can upgrade in place |
| 101 | +- New Terraform 1.14.0 version requires validation of provider compatibility in custom modules |
| 102 | +- App Configuration integration is additive and does not affect existing deployments without App Configuration |
| 103 | + |
| 104 | +### Known Limitations |
| 105 | +- Docker container support for GitHub Actions is experimental and requires container registry access |
| 106 | +- Ubuntu 25.04 support is based on pre-release repositories which may change |
| 107 | + |
| 108 | +### Dependencies Updated |
| 109 | +This release includes multiple dependency version bumps: |
| 110 | +- actions/checkout: 5.0.0 → 5.0.1 |
| 111 | +- actions/upload-artifact: 4.6.2 → 5.0.0 (major version bump) |
| 112 | +- github/codeql-action: 4.31.1 → 4.31.3 |
| 113 | +- actions/dependency-review-action: 4.8.1 → 4.8.2 |
| 114 | +- step-security/harden-runner: 2.13.1 → 2.13.2 |
| 115 | +- Azure.ResourceManager.Compute: 1.12.0 → 1.13.0 |
| 116 | +- System.Runtime.Caching: 9.0.10 → 10.0.0 (major version bump) |
| 117 | +- NuGet.Packaging: 6.14.0 → 7.0.0 (major version bump) |
| 118 | +- dotnet-ef: 9.0.6 → 10.0.0 (major version bump) |
| 119 | + |
| 120 | +### Contributor Recognition |
| 121 | +This release includes contributions from: |
| 122 | +- Kimmo Forss (@kimforss) |
| 123 | +- Nadeen Noaman (@nnoaman) |
| 124 | +- Copilot (code review and suggestions) |
| 125 | +- hdamecharla (@hdamecharla) |
| 126 | + |
0 commit comments