-
Notifications
You must be signed in to change notification settings - Fork 64
39 lines (28 loc) · 1.03 KB
/
onDeploy.yaml
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
name: onDeploy Databricks
on:
workflow_dispatch:
inputs:
script_language:
type: choice
description: Python or Bash (Databricks API)
options:
- python
- bash
default: python
jobs:
ReuseableMatrixJobForDeployment:
name: Master Deployment
strategy:
matrix:
targetEnvironment: [ sandbox ] # development, uat, production
uses: ./.github/workflows/taskDatabricks.yaml
with:
ENVIRONMENT: ${{ matrix.targetEnvironment }}
DBX_REPO_BRANCH: 'main'
SCRIPT_LANGUAGE: ${{ github.event.inputs.script_language }}
DevOps_Agent: GitHub
secrets:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
PAT_GITHUB: ${{ secrets.PAT_GITHUB }}