Skip to content

Commit

Permalink
Setup CI heartbeat for self-hosted runners (kokkos#104)
Browse files Browse the repository at this point in the history
* Setup CI heartbeat for self-hosted runners

* Simplify targeting of self-hosted runners

* Update heartbeat workflow to run on designated self-hosted runners

* Fix CI file

* Fix CI file again
  • Loading branch information
pzehner authored Jul 5, 2024
1 parent 4931d78 commit 9d4c33c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/heartbeat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-FileCopyrightText: (C) The Kokkos-FFT development team, see COPYRIGHT.md file
#
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception

# Send a dummy job to the custom runners every two weeks to keep them alive.
# See https://github.com/actions/runner/issues/756 .

name: CI self-hosted runners heartbeat

on:
schedule:
- cron: "0 1 1,15 * *" # every 1st and 15th of the month at 1am UTC
workflow_dispatch:

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

strategy:
matrix:
runner:
- ["self-hosted", "cuda"]

steps:
- name: Heartbeat
run: echo "Runner is alive"

0 comments on commit 9d4c33c

Please sign in to comment.