-
Notifications
You must be signed in to change notification settings - Fork 6
101 lines (93 loc) · 2.84 KB
/
dispatch_validate.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: ⚙️ Validate
run-name: "Validate: ${{ github.sha }}${{ (!inputs.infra && !inputs.app) && '👀 validate nothing' || ''}}${{ inputs.infra && ' ✓ infra' || '' }}${{ inputs.app && ' ✓ app' || '' }}"
on:
workflow_dispatch:
inputs:
check-infra:
description: "Validate Infra"
default: true
required: true
type: boolean
check-app:
description: "Validate App"
default: true
required: true
type: boolean
check-staging-rust:
description: "Validate Staging Rust"
default: false
required: true
type: boolean
check-prod-rust:
description: "Validate Prod Rust"
default: false
required: true
type: boolean
check-staging-swift:
description: "Validate Staging Swift"
default: false
required: true
type: boolean
check-prod-swift:
description: "Validate Prod Swift"
default: false
required: true
type: boolean
permissions:
contents: read
checks: write
id-token: write
jobs:
ci:
name: CI
secrets: inherit
uses: ./.github/workflows/sub-ci.yml
with:
check-infra: ${{ inputs.check-infra }}
check-app: ${{ inputs.check-app }}
validate-staging-health:
name: Validate - Staging - Health
uses: ./.github/workflows/sub-validate-health.yml
secrets: inherit
with:
stage: staging
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-prod-health:
name: Validate - Prod - Health
uses: ./.github/workflows/sub-validate-health.yml
secrets: inherit
with:
stage: prod
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-staging-rust:
name: Validate - Staging - Rust
if: ${{ inputs.check-staging }}
uses: ./.github/workflows/sub-validate-rust.yml
secrets: inherit
with:
stage: staging
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-prod-rust:
name: Validate - Prod - Rust
if: ${{ inputs.check-prod }}
uses: ./.github/workflows/sub-validate-rust.yml
secrets: inherit
with:
stage: prod
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-staging-swift:
name: Validate - Staging - Swift
if: ${{ inputs.check-staging }}
uses: ./.github/workflows/sub-validate-swift.yml
secrets: inherit
with:
stage: staging
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-prod-swift:
name: Validate - Prod - Swift
if: ${{ inputs.check-prod }}
uses: ./.github/workflows/sub-validate-swift.yml
secrets: inherit
with:
stage: prod
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health