-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 880 Bytes
/
cd.yml
File metadata and controls
35 lines (31 loc) · 880 Bytes
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
name: Multi-Cloud Multi-Region CD
on:
workflow_call:
inputs:
app-path:
required: true
type: string
jobs:
deploy-matrix:
strategy:
matrix:
include:
- platform: eks
region: us-east-1
cluster_name: "eks-prod"
- platform: gke
region: us-central1
cluster_name: "gke-prod"
project_id: "gke-prod"
- platform: aks
region: eastus
cluster_name: "aks-prod"
resource_group: "your-aks-resource-group"
uses: ./.github/templates/cd.yml
with:
app-path: ${{ github.event.inputs.app-path }}
platform: ${{ matrix.platform }}
region: ${{ matrix.region }}
cluster_name: ${{ matrix.cluster_name }}
project_id: ${{ matrix.project_id }}
resource_group: ${{ matrix.resource_group }}