-
Notifications
You must be signed in to change notification settings - Fork 112
43 lines (39 loc) · 1.01 KB
/
canary-deb.yaml
File metadata and controls
43 lines (39 loc) · 1.01 KB
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
name: Deb Canary
on:
# This workflow will run from the release-automation.yaml automation on each merge
workflow_dispatch:
inputs:
ref_name:
required: true
type: string
workflow_call:
inputs:
ref_name:
required: true
type: string
# This workflow will run every 5 min
schedule:
- cron: '*/10 * * * *'
# This workflow will run when the workflow file is updated
pull_request:
paths:
- '.github/workflows/canary-deb.yaml'
- 'scripts/canary-deb.sh'
jobs:
canary-deb:
name: Test Finch APT repo health
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout canary script
uses: actions/checkout@v6.0.1
with:
sparse-checkout: |
scripts/canary-deb.sh
- name: Run canary script with retry
uses: nick-fields/retry@v3
with:
timeout_minutes: 2
max_attempts: 3
retry_wait_seconds: 30
command: ./scripts/canary-deb.sh