deploy.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "array",
  4. "title": "Netdata deployment information meta.",
  5. "items": {
  6. "type": "object",
  7. "description": "Individual entries for deployment information.",
  8. "properties": {
  9. "id": {
  10. "$ref": "./shared.json#/$defs/id"
  11. },
  12. "meta": {
  13. "$ref": "./shared.json#/$defs/instance"
  14. },
  15. "keywords": {
  16. "$ref": "./shared.json#/$defs/keywords"
  17. },
  18. "most_popular": {
  19. "type": "boolean",
  20. "description": "If true, the integration is sorted to the top of the list of integrations."
  21. },
  22. "install_description": {
  23. "type": "string",
  24. "description": "Describes basic information about how to deploy on this platform."
  25. },
  26. "methods": {
  27. "type": "array",
  28. "description": "Describes the various ways to deploy on this platform.",
  29. "items": {
  30. "type": "object",
  31. "properties": {
  32. "method": {
  33. "type": "string",
  34. "description": "The name of the installation method."
  35. },
  36. "commands": {
  37. "type": "array",
  38. "items": {
  39. "type": "object",
  40. "properties": {
  41. "channel": {
  42. "type": "string",
  43. "description": "The release channel that this command is used for.",
  44. "enum": [
  45. "nightly",
  46. "stable"
  47. ]
  48. },
  49. "command": {
  50. "type": "string",
  51. "description": "The command to run for installing using this method."
  52. }
  53. },
  54. "required": [
  55. "channel",
  56. "command"
  57. ]
  58. }
  59. }
  60. },
  61. "required": [
  62. "method",
  63. "commands"
  64. ]
  65. }
  66. },
  67. "additional_info": {
  68. "type": "string",
  69. "description": "Any additional information about this platform."
  70. },
  71. "clean_additional_info": {
  72. "type": "string",
  73. "description": "Any additional information about this platform, without any embedded custom tags."
  74. },
  75. "related_resources": {
  76. "type": "object",
  77. "description": "TBD"
  78. },
  79. "platform_info": {
  80. "type": "object",
  81. "description": "References what platform this deployment info is for. In the parsed output, this will be replaced with a markdown string covering basic support information for this platform.",
  82. "properties": {
  83. "group": {
  84. "type": "string",
  85. "description": "Identifies the group that the platform is in. 'include' is used for platforms that are in auto-generated CI. 'no_include' is used for platforms that are not in auto-generated CI. An empty string indicates no associated platform information.",
  86. "enum": [
  87. "include",
  88. "no_include",
  89. ""
  90. ]
  91. },
  92. "distro": {
  93. "type": "string",
  94. "description": "Identifies the platform within the group, based on the value of the 'distro' key."
  95. }
  96. },
  97. "required": [
  98. "group",
  99. "distro"
  100. ]
  101. },
  102. "quick_start": {
  103. "type": "integer",
  104. "description": "Indicates where the deploy integration should appear in the add nodes dialogue. A value less than 0 indicates that it should not appear on this dialogue."
  105. }
  106. },
  107. "required": [
  108. "id",
  109. "meta",
  110. "keywords",
  111. "most_popular",
  112. "install_description",
  113. "methods",
  114. "additional_info",
  115. "related_resources",
  116. "platform_info",
  117. "quick_start"
  118. ]
  119. }
  120. }