delete old VMs in OpenStack #1892
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "delete old VMs in OpenStack" | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run it every 6 hours | |
- cron: '0 */6 * * *' | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clean up old VMs in OpenStack | |
uses: scality/actions/[email protected] | |
with: | |
AUTH_URL: ${{ secrets.OVH_AUTH_URL }} | |
AGE_HOURS: 6 | |
REGION: ${{ secrets.OVH_REGION }} | |
USERNAME: ${{secrets.OVH_USERNAME }} | |
PASSWORD: ${{ secrets.OVH_PASSWORD }} | |
PROJECT_NAME: ${{ secrets.OVH_PROJECT_NAME }} | |
PROJECT_ID: ${{ secrets.OVH_PROJECT_ID }} |