eaudeweb/Cleanup old releases from target server
SSH into the target server and delete old releases leaving only newest ones. Provide absolute path and the number of releases to retain
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh_user | SSH user account | yes | — |
| ssh_host | SSH host server | yes | — |
| ssh_key | SSH private key | yes | — |
| ssh_user_jumphost | SSH user account for jumphost | no | "" |
| ssh_host_jumphost | SSH host server for jumphost | no | "" |
| cleanup_dir | Absolute path to directory where releases are stored | yes | — |
| pattern | Directory naming pattern to cleanup | — | *release-* |
| retain | Number of newest releases to retain. Older will be deleted | — | 5 |
Outputs
no outputs