Repository navigation
feat(lint): use the schema from meta.upsun.com for Flex and Fixed config #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d59cd29
feat(lint): use the schema from meta.upsun.com as the canonical Flex …
pjcdawkins 6da1987
fix(lint): leave stack lists to checkStackList, so semantic checks st…
pjcdawkins de7ce4f
refactor(lint): report Flex stack lists with the schema's own error
pjcdawkins 94547e0
feat(lint): check Fixed config with the Flex schema and an overlay
pjcdawkins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,87 @@ | ||
| { | ||
| "definitions": { | ||
| "fixed": { | ||
| "disk": { | ||
| "type": ["integer", "null"], | ||
| "minimum": 0, | ||
| "title": "The writable disk size to reserve on this container, in MB" | ||
| }, | ||
| "size": { | ||
| "type": "string", | ||
| "enum": ["AUTO", "XS", "S", "M", "L", "XL", "2XL", "4XL"], | ||
| "title": "The container size for this application in production", | ||
| "description": "Leave blank to allow it to be set dynamically." | ||
| }, | ||
| "caches": { | ||
| "type": "object", | ||
| "title": "The configuration of paths managed by the build cache", | ||
| "additionalProperties": { | ||
| "type": "object", | ||
| "properties": { | ||
| "directory": { | ||
| "type": ["string", "null"], | ||
| "title": "The directory, relative to the application root, that should be cached" | ||
| }, | ||
| "watch": { | ||
| "type": "array", | ||
| "items": {"type": "string"}, | ||
| "title": "The file or files whose hashed contents should be considered part of the cache key" | ||
| }, | ||
| "allow_stale": { | ||
| "type": "boolean", | ||
| "title": "If true, on a cache miss the last cache version will be used and can be updated in place", | ||
| "default": false | ||
| }, | ||
| "share_between_apps": { | ||
| "type": "boolean", | ||
| "title": "Whether multiple applications in the project should share cached directories", | ||
| "default": false | ||
| } | ||
| }, | ||
| "required": ["watch"], | ||
| "patternProperties": {"^\\.": {}}, | ||
| "additionalProperties": false | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "properties": { | ||
| "applications": { | ||
| "additionalProperties": { | ||
| "required": ["name"], | ||
| "properties": { | ||
| "name": { | ||
| "type": "string", | ||
| "title": "The name of the application, which must be unique within the project" | ||
| }, | ||
| "disk": {"$ref": "#/definitions/fixed/disk"}, | ||
| "size": {"$ref": "#/definitions/fixed/size"}, | ||
| "build": { | ||
| "properties": { | ||
| "caches": {"$ref": "#/definitions/fixed/caches"} | ||
| } | ||
| }, | ||
| "web": { | ||
| "properties": { | ||
| "disk": {"$ref": "#/definitions/fixed/disk"} | ||
| } | ||
| }, | ||
| "workers": { | ||
| "additionalProperties": { | ||
| "properties": { | ||
| "disk": {"$ref": "#/definitions/fixed/disk"} | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "services": { | ||
| "additionalProperties": { | ||
| "properties": { | ||
| "disk": {"$ref": "#/definitions/fixed/disk"} | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.