Openstack Pruner #2152
This file contains hidden or 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: Openstack Pruner | |
| run-name: Openstack Pruner | |
| on: | |
| schedule: | |
| # Since this is a small project, once per day is all the pruner needs to run | |
| # Run once per day at 11 PM CDT | |
| - cron: "0 4 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| run-pruner: | |
| if: github.repository == 'webpros-cpanel/app-elevate-cpanel' | |
| runs-on: | |
| group: org/cpanel-arc-elevate | |
| env: | |
| ACTIONS_STEP_DEBUG: true | |
| OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }} | |
| OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }} | |
| OS_AUTH_TYPE: "v3applicationcredential" | |
| OS_AUTH_URL: "https://keystone.hou-01.cloud.prod.cpanel.net:5000/v3" | |
| OS_IDENTITY_API_VERSION: "3" | |
| OS_INTERFACE: "public" | |
| OS_REGION_NAME: "RegionOne" | |
| container: | |
| image: ghcr.io/webpros-cpanel/misc-ci-containers:ci-elevate-cpanel | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run Openstack Pruner | |
| run: ./.github/workflows/openstack/prune_openstack |