deploy.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. "related_resources": {
  72. "type": "object",
  73. "description": "TBD"
  74. },
  75. "platform_info": {
  76. "type": "object",
  77. "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.",
  78. "properties": {
  79. "group": {
  80. "type": "string",
  81. "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.",
  82. "enum": [
  83. "include",
  84. "no_include",
  85. ""
  86. ]
  87. },
  88. "distro": {
  89. "type": "string",
  90. "description": "Identifies the platform within the group, based on the value of the 'distro' key."
  91. }
  92. },
  93. "required": [
  94. "group",
  95. "distro"
  96. ]
  97. },
  98. "quick_start": {
  99. "type": "integer",
  100. "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."
  101. }
  102. },
  103. "required": [
  104. "id",
  105. "meta",
  106. "keywords",
  107. "most_popular",
  108. "install_description",
  109. "methods",
  110. "additional_info",
  111. "related_resources",
  112. "platform_info",
  113. "quick_start"
  114. ]
  115. }
  116. }