lfreleng-actions/☁️ OpenStack Cron Cleanup
Automated cleanup of orphaned OpenStack cloud resources
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 8, 2026
- License
- None
Pinned Snippet
uses: lfreleng-actions/openstack-cron-action@13cbbfccdb2ce3a2d227c5f9e6f5219c49c4d176 # v0.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| openstack_cloud | OpenStack cloud name from clouds.yaml | yes | vex |
| clouds_yaml | OpenStack clouds.yaml configuration (base64 encoded) | no | "" |
| openstack_auth_url | OpenStack auth URL | no | "" |
| openstack_username | OpenStack username | no | "" |
| openstack_password | OpenStack password (base64 encoded or plain text - will auto-decode) | no | "" |
| openstack_project_id | OpenStack project ID | no | "" |
| openstack_domain_name | OpenStack domain name | no | Default |
| openstack_region | OpenStack region | no | "" |
| jenkins_urls | Space-separated list of Jenkins URLs to check for active builds | no | "" |
| cleanup_k8s_clusters | Enable K8s cluster cleanup | no | true |
| cleanup_stacks | Enable OpenStack stack cleanup | no | true |
| cleanup_servers | Enable server/instance cleanup | no | true |
| cleanup_ports | Enable port cleanup | no | true |
| cleanup_volumes | Enable volume cleanup | no | true |
| protect_images | Enable protection of in-use images | no | true |
| cleanup_images | Enable old image cleanup | no | true |
| cleanup_images_smart | Enable smart image cleanup (checks repo for images in use) | no | false |
| image_cleanup_age | Age in days for image cleanup (default: 180 = 6 months) | no | 180 |
| port_cleanup_age | Age for port cleanup (default: 30 minutes ago) | no | 30 minutes ago |
| python_version | Python version to use | no | 3.11 |
| build_timeout | Build timeout in minutes | no | 10 |
| enable_debug | Enable debug mode for verbose logging | no | false |
| failure_notification_email | Email address to notify on failure (comma-separated) | no | "" |
| failure_notification_prefix | Email subject prefix for failure notifications | no | [OpenStack Cleanup] |
Outputs
| name | description |
|---|---|
| cleanup_summary | Summary of cleanup operations performed |
| resources_cleaned | Number of resources cleaned up |
| cleanup_status | Overall cleanup status (success/failure) |
| smart_cleanup_unprotected | Number of images unprotected by smart cleanup |