forked from salsify/avro-schema-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (55 loc) · 1.66 KB
/
deploy.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
name: Deploy to Kubernetes
on:
workflow_dispatch:
inputs:
ecr:
required: true
description: "Aws account string for the ECR"
default: 932427637498.dkr.ecr.us-west-2.amazonaws.com
type: string
ecr_repo_name:
required: true
description: "Name of the ECR repo "
type: string
ecr_tag:
required: false
description: "Tag for docker image"
type: string
chart_path:
required: false
description: "Path to helm charts"
type: string
release_name:
required: false
description: "Helm release name"
type: string
namespace:
required: false
description: "Kubernetes namespace name"
type: string
release_path:
required: false
description: "Path to release file"
type: string
runner:
description: 'The runner to use for this job'
required: true
type: string
default: 'arc-runner-63'
jobs:
Deploy:
uses: dollarshaveclub/dsc-github-actions/.github/workflows/deploy.yml@main
with:
ecr: ${{ inputs.ecr }}
ecr_repo_name: ${{ inputs.ecr_repo_name }}
ecr_tag: ${{ inputs.ecr_tag }}
chart_path: ${{ inputs.chart_path }}
release_name: ${{ inputs.release_name }}
namespace: ${{ inputs.namespace }}
release_path: ${{ inputs.release_path }}
runner: ${{ inputs.runner }}
secrets:
AWS_ECR_ACCESS_KEY_TEST: ${{ secrets.AWS_ECR_ACCESS }}
AWS_ECR_ACCESS_SECRET_TEST: ${{ secrets.AWS_ECR_SECRET }}
KUBECONFIG_63: ${{ secrets.KUBECONFIG_63 }}
KUBECONFIG_APPLE: ${{ secrets.KUBECONFIG_APPLE }}