databricks-cli/bundle/internal/schema/testdata/fail
Ilya Kuznetsov f60ad32f07
Allow yaml-anchors in schema (#2200)
## Changes

Allows custom untyped fields in the root config in json-schema so it
doesn't highlight errors when using yaml-anchors.

Example use case:

```
tags: &job-tags
  environment: ${bundle.target}


resources:
  jobs:
    db1:
      tags:
        <<: *job-tags
    db1:
      tags:
        <<: *job-tags
```
  
One downside is that we don't highlight any unknown top-level properties
anymore (but they will still fail during CLI validation)

## Tests

Manually checked behavior in VSCode - it doesn't show validation error.
Also checked that other typed properties are still suggested
2025-01-23 11:11:44 +00:00
..
basic.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
deprecated_job_field_format.yml Remove deprecated or readonly fields from the bundle schema (#1809) 2024-10-07 15:13:42 +00:00
hidden_job_field_deployment.yml Remove deprecated or readonly fields from the bundle schema (#1809) 2024-10-07 15:13:42 +00:00
hidden_job_field_edit_mode.yml Remove deprecated or readonly fields from the bundle schema (#1809) 2024-10-07 15:13:42 +00:00
incorrect_volume_type.yml Add default value for `volume_type` for DABs (#1952) 2024-12-04 11:05:54 +00:00
invalid_enum_value_in_job.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
invalid_enum_value_in_model.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
invalid_reference_in_job.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
invalid_reference_in_model.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
readonly_job_field_git_snapshot.yml Remove deprecated or readonly fields from the bundle schema (#1809) 2024-10-07 15:13:42 +00:00
readonly_job_field_job_source.yml Remove deprecated or readonly fields from the bundle schema (#1809) 2024-10-07 15:13:42 +00:00
required_field_missing_in_job.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
unknown_field_in_job.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
unknown_field_in_model.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00