Skip to content
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

Add Amazon Linux 2023 as a supported platform #3405

Merged
merged 4 commits into from May 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 20 additions & 20 deletions src/ansiblelint/schemas/meta.json
Expand Up @@ -38,6 +38,25 @@
"title": "AlpinePlatformModel",
"type": "object"
},
"AmazonLinuxPlatformModel": {
"properties": {
"name": {
"const": "Amazon Linux",
"title": "Name",
"type": "string"
},
"versions": {
"default": "all",
"items": {
"enum": ["all", "1", "2", "2023"],
"type": "string"
},
"type": "array"
}
},
"title": "Amazon Linux 2PlatformModel",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"title": "Amazon Linux 2PlatformModel",
"title": "Amazon Linux PlatformModel",

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ssbarnea is this a typo or intended title?

"type": "object"
},
"AmazonPlatformModel": {
"properties": {
"name": {
Expand Down Expand Up @@ -72,25 +91,6 @@
"title": "AmazonPlatformModel",
"type": "object"
},
"Amazon_Linux_2PlatformModel": {
"properties": {
"name": {
"const": "Amazon Linux 2",
"title": "Name",
"type": "string"
},
"versions": {
"default": "all",
"items": {
"enum": ["all"],
"type": "string"
},
"type": "array"
}
},
"title": "Amazon Linux 2PlatformModel",
"type": "object"
},
"ArchLinuxPlatformModel": {
"properties": {
"name": {
Expand Down Expand Up @@ -1206,7 +1206,7 @@
"$ref": "#/$defs/AmazonPlatformModel"
},
{
"$ref": "#/$defs/Amazon_Linux_2PlatformModel"
"$ref": "#/$defs/AmazonLinuxPlatformModel"
},
{
"$ref": "#/$defs/aosPlatformModel"
Expand Down