-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.7 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
43
44
45
46
47
48
49
50
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
compute_env: seqera_aws_london_fusion_nvme_labels_copy
workdir: s3://scidev-eu-west-2/
pipeline: heartbeat-nf-core-rnaseq-aws-test-full
- name: azure
workspace_id: 280116106690509
compute_env: seqera_azure_virginia_fusion
workdir: az://seqeralabs-showcase
pipeline: heartbeat-nf-core-rnaseq-azure-test-full
- name: gcp
workspace_id: 124007984423021
compute_env: seqera_aws_london_fusion_nvme_gpus_mixed
workdir: s3://scidev-eu-west-2/
pipeline: heartbeat-nf-core-rnaseq-google-test-full
steps:
- uses: seqeralabs/action-tower-launch@v2
with:
access_token: ${{ secrets.STAGING_TOWER_ACCESS_TOKEN }}
run_name: nightly_run_${{ matrix.launch.name }}_${{ github.run_id }}
workspace_id: ${{ matrix.launch.workspace_id }}
compute_env: ${{ matrix.launch.compute_env }}
pipeline: ${{ matrix.launch.pipeline }}
workdir: ${{ matrix.launch.workdir }}
api_endpoint: ${{ secrets.STAGING_TOWER_ACCESS_ENDPOINT }}
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: tower_logs_run_${{ matrix.launch.name }}_${{ github.run_id }}
path: |
tower_action_*.log
tower_action_*.json