-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathtest.toml
More file actions
75 lines (67 loc) · 2.21 KB
/
test.toml
File metadata and controls
75 lines (67 loc) · 2.21 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Local = true
Cloud = true
RequiresUnityCatalog = true
Timeout = '10m'
Ignore = [
".databricks",
".venv",
"databricks.yml",
"plan.json",
"*.py",
"*.json",
"*.err",
"app",
]
EnvMatrix.DATABRICKS_BUNDLE_ENGINE = [
"direct",
# These tests work on terraform but commented out to save time on test run
#"terraform",
]
EnvMatrix.INPUT_CONFIG = [
"alert.yml.tmpl",
"app.yml.tmpl",
"catalog.yml.tmpl",
"catalog_isolation_mode.yml.tmpl",
"cluster.yml.tmpl",
"dashboard.yml.tmpl",
"database_catalog.yml.tmpl",
"database_instance.yml.tmpl",
"experiment.yml.tmpl",
"external_location.yml.tmpl",
"job.yml.tmpl",
"job_pydabs_10_tasks.yml.tmpl",
"job_pydabs_1000_tasks.yml.tmpl",
"job_cross_resource_ref.yml.tmpl",
"job_permission_ref.yml.tmpl",
"job_with_permissions.yml.tmpl",
"job_with_task.yml.tmpl",
"model.yml.tmpl",
"model_serving_endpoint.yml.tmpl",
"pipeline.yml.tmpl",
"postgres_branch.yml.tmpl",
"postgres_endpoint.yml.tmpl",
"postgres_project.yml.tmpl",
"registered_model.yml.tmpl",
"schema.yml.tmpl",
"schema_grant_ref.yml.tmpl",
"schema_with_grants.yml.tmpl",
"secret_scope.yml.tmpl",
"synced_database_table.yml.tmpl",
"volume.yml.tmpl",
]
[EnvMatrixExclude]
no_alert_on_cloud = ["CONFIG_Cloud=true", "INPUT_CONFIG=alert.yml.tmpl"]
# Postgres resources only work on AWS
no_postgres_project_on_cloud = ["CONFIG_Cloud=true", "INPUT_CONFIG=postgres_project.yml.tmpl"]
no_postgres_branch_on_cloud = ["CONFIG_Cloud=true", "INPUT_CONFIG=postgres_branch.yml.tmpl"]
no_postgres_endpoint_on_cloud = ["CONFIG_Cloud=true", "INPUT_CONFIG=postgres_endpoint.yml.tmpl"]
# External locations require actual storage credentials with cloud IAM setup
# which are environment-specific, so we only test locally with the mock server
no_external_location_on_cloud = ["CONFIG_Cloud=true", "INPUT_CONFIG=external_location.yml.tmpl"]
# Fake SQL endpoint for local tests
[[Server]]
Pattern = "POST /api/2.0/sql/statements/"
Response.Body = '{"status": {"state": "SUCCEEDED"}, "manifest": {"schema": {"columns": []}}}'
[[Server]]
Pattern = "DELETE /api/2.1/unity-catalog/tables/{name}"
Response.Body = '{"status": "OK"}'