deploy.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. "type": "string",
  11. "description": "A unique ID for this integration."
  12. },
  13. "meta": {
  14. "$ref": "./shared.json#/$defs/instance"
  15. },
  16. "keywords": {
  17. "$ref": "./shared.json#/$defs/keywords"
  18. },
  19. "description": {
  20. "type": "string",
  21. "description": "Describes basic information about how to deploy on this platform."
  22. },
  23. "methods": {
  24. "type": "array",
  25. "description": "Describes the various ways to deploy on this platform.",
  26. "items": {
  27. "type": "object",
  28. "properties": {
  29. "method": {
  30. "type": "string",
  31. "description": "The name of the installation method."
  32. },
  33. "commands": {
  34. "type": "array",
  35. "items": {
  36. "type": "object",
  37. "properties": {
  38. "channel": {
  39. "type": "string",
  40. "description": "The release channel that this command is used for.",
  41. "enum": [
  42. "nightly",
  43. "stable"
  44. ]
  45. },
  46. "command": {
  47. "type": "string",
  48. "description": "The command to run for installing using this method."
  49. }
  50. },
  51. "required": [
  52. "channel",
  53. "command"
  54. ]
  55. }
  56. }
  57. },
  58. "required": [
  59. "method",
  60. "commands"
  61. ]
  62. }
  63. },
  64. "additional_info": {
  65. "type": "string",
  66. "description": "Any additional information about this platform."
  67. },
  68. "related_resources": {
  69. "type": "object",
  70. "description": "TBD"
  71. },
  72. "platform_info": {
  73. "type": "object",
  74. "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.",
  75. "properties": {
  76. "group": {
  77. "type": "string",
  78. "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.",
  79. "enum": [
  80. "include",
  81. "no_include",
  82. ""
  83. ]
  84. },
  85. "distro": {
  86. "type": "string",
  87. "description": "Identifies the platform within the group, based on the value of the 'distro' key."
  88. }
  89. },
  90. "required": [
  91. "group",
  92. "distro"
  93. ]
  94. }
  95. },
  96. "required": [
  97. "id",
  98. "meta",
  99. "keywords",
  100. "description",
  101. "methods",
  102. "additional_info",
  103. "related_resources",
  104. "platform_info"
  105. ]
  106. }
  107. }