-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.32 KB
/
heartbeat-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: heartbeat-checks
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *" # Runs at 2 AM UTC every day
env:
TOWER_API_ENDPOINT: ${{ secrets.STAGING_TOWER_ACCESS_ENDPOINT }}
jobs:
launch-tower-workflows:
runs-on: ubuntu-latest
strategy:
matrix:
launch:
- name: aws
workspace_id: 64430228002560
pipeline: heartbeat-nf-core-rnaseq-aws-test-full
- name: azure
workspace_id: 280116106690509
pipeline: heartbeat-nf-core-rnaseq-azure-test-full
- name: gcp
workspace_id: 124007984423021
pipeline: heartbeat-nf-core-rnaseq-google-test-full
steps:
- uses: seqeralabs/action-tower-launch@d5dc89d1eb89e71286667112adaae0330aa28c7c
with:
access_token: ${{ secrets.STAGING_TOWER_ACCESS_TOKEN }}
run_name: heartbeat-${{ matrix.launch.name }}-${{ github.run_id }}
workspace_id: ${{ matrix.launch.workspace_id }}
pipeline: ${{ matrix.launch.pipeline }}
api_endpoint: ${{ secrets.STAGING_TOWER_ACCESS_ENDPOINT }}
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: tower_logs_run_${{ matrix.launch.name }}_${{ github.run_id }}
path: |
tower_action_*.log
tower_action_*.json