Skip to content

Commit

Permalink
maintenance: add workflow that runs on all self-hosted runners
Browse files Browse the repository at this point in the history
To perform maintenance tasks, such as removing cached .qcow2 images,
on self-hosted runners. This workflow can be expanded in the future to
accommodate additional tasks. It aims to ensure that maintenance tasks
run on all self-hosted runners to modify their state as needed.

Signed-off-by: Simon A. F. Lund <[email protected]>
  • Loading branch information
safl committed Oct 30, 2024
1 parent db7156a commit 296bacb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: maintenance_selfhosted

on:
workflow_dispatch:

jobs:

maintenance:
strategy:
matrix:
runner:
- eqnx_qemuhost00
- eqnx_qemuhost01
- eqnx_qemuhost02
- eqnx_qemuhost03
- eqnx_qemuhost04

runs-on: ${{ matrix.runner }}

steps:
- name: Get Runner Name
run: echo "This is running on runner ${{ runner.name }}"

- name: Maintenance Task
run: |
# Your maintenance script or commands
echo "Running maintenance on ${{ runner.name }}"

0 comments on commit 296bacb

Please sign in to comment.