-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.65 KB
/
synapseValidationTemplate.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
name: Synapse Validation Template
on:
workflow_call:
inputs:
environment:
required: true
type: string
default: "dev"
description: "Specifies the environment of the deployment."
target_synapse_workspace_name:
required: true
type: string
description: "Specifies the name of the synapse workspace."
secrets:
azure_subscription_id:
required: true
description: "Specifies the subscription id of the deployment."
azure_resource_group_name:
required: true
description: "Specifies the name of the resource group for the deployment."
tenant_id:
required: true
description: "Specifies the tenant id of the deployment."
client_id:
required: true
description: "Specifies the client id."
client_secret:
required: true
description: "Specifies the client secret."
jobs:
deployment:
name: Validation for ${{ inputs.environment }}
runs-on: ubuntu-latest
continue-on-error: false
environment: ${{ inputs.environment }}
steps:
# Check Out Repository
- name: Check Out Repository
id: checkout_repository
uses: actions/checkout@v3
# Validate Synapse Artifacts
- name: Validate Synapse Artifacts
id: validation_synapse
uses: azure/synapse-workspace-deployment@V1.8.0
with:
TargetWorkspaceName: ${{ inputs.target_synapse_workspace_name }}
ArtifactsFolder: ${{ github.workspace }}/code/synapse
operation: "validate"
deployManagedPrivateEndpoint: true
DeleteArtifactsNotInTemplate: true