generated from databricks-industry-solutions/industry-solutions-blueprints
-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (47 loc) · 1.34 KB
/
integration-test-msa-push.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
name: MSA integration test push
on:
workflow_dispatch:
push:
branches:
- main
- web-sync
jobs:
run-databricks-notebook:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Run a databricks notebook
uses: databricks/run-notebook@v0
with:
local-notebook-path: RUNME.py
git-commit: ${{ github.sha }}
databricks-host: https://adb-984752964297111.11.azuredatabricks.net
databricks-token: ${{ secrets.DEPLOYMENT_TARGET_TOKEN_MSA }}
new-cluster-json: >
{
"num_workers": 0,
"spark_version": "12.2.x-scala2.12",
"node_type_id": "Standard_D3_v2",
"azure_attributes": {
"availability": "ON_DEMAND_AZURE"
},
"spark_conf": {
"spark.master": "local[*, 4]",
"spark.databricks.cluster.profile": "singleNode"
},
"custom_tags": {
"ResourceClass": "SingleNode"
}
}
notebook-params-json: >
{
"run_job": "True"
}
access-control-list-json: >
[
{
"group_name": "users",
"permission_level": "CAN_VIEW"
}
]