-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cp-summary-with-urls' of github.com:lennartkats-db/cli …
…into cp-summary-with-urls
- Loading branch information
Showing
120 changed files
with
8,306 additions
and
10,181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3eae49b444cac5a0118a3503e5b7ecef7f96527a | ||
d05898328669a3f8ab0c2ecee37db2673d3ea3f7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,11 +107,18 @@ jobs: | |
run: npm install -g [email protected] | ||
|
||
# Assert that the generated bundle schema is a valid JSON schema by using | ||
# ajv-cli to validate it against a sample configuration file. | ||
# ajv-cli to validate it against bundle configuration files. | ||
# By default the ajv-cli runs in strict mode which will fail if the schema | ||
# itself is not valid. Strict mode is more strict than the JSON schema | ||
# specification. See for details: https://ajv.js.org/options.html#strict-mode-options | ||
- name: Validate bundle schema | ||
run: | | ||
go run main.go bundle schema > schema.json | ||
ajv -s schema.json -d ./bundle/tests/basic/databricks.yml | ||
for file in ./bundle/internal/schema/testdata/pass/*.yml; do | ||
ajv test -s schema.json -d $file --valid | ||
done | ||
for file in ./bundle/internal/schema/testdata/fail/*.yml; do | ||
ajv test -s schema.json -d $file --invalid | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.