-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add smart warning if old excludes config is provided (#256)
* feat: add smart warning if old excludes config is provided * chore: add comment for readability * test: additional test case for no warning with new exclusion format * feat: update warning with env variable instructions
- Loading branch information
Showing
4 changed files
with
162 additions
and
0 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
29 changes: 29 additions & 0 deletions
29
integration_tests/test_data/config/config_new_excludes.json
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"component": { | ||
"abc": { | ||
"author": "abc", | ||
"version": "NEXT_PATCH", | ||
"build": { | ||
"build_system": "zip", | ||
"options": { | ||
"excludes": [ | ||
"**/node_modules", | ||
"test*", | ||
"**/*.txt" | ||
] | ||
} | ||
}, | ||
"publish": { | ||
"bucket": "default", | ||
"region": "us-east-1" | ||
} | ||
} | ||
}, | ||
"test-e2e": { | ||
"otf_version": "1.2.0", | ||
"otf_options": { | ||
"tags": "testtags" | ||
} | ||
}, | ||
"gdk_version": "1.0.0" | ||
} |
29 changes: 29 additions & 0 deletions
29
integration_tests/test_data/config/config_old_excludes.json
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"component": { | ||
"abc": { | ||
"author": "abc", | ||
"version": "NEXT_PATCH", | ||
"build": { | ||
"build_system": "zip", | ||
"options": { | ||
"excludes": [ | ||
"node_modules", | ||
"test*", | ||
"*.txt" | ||
] | ||
} | ||
}, | ||
"publish": { | ||
"bucket": "default", | ||
"region": "us-east-1" | ||
} | ||
} | ||
}, | ||
"test-e2e": { | ||
"otf_version": "1.2.0", | ||
"otf_options": { | ||
"tags": "testtags" | ||
} | ||
}, | ||
"gdk_version": "1.0.0" | ||
} |