summaryrefslogtreecommitdiffstats
path: root/integrations/schemas/deploy.json
blob: b2bd7206b45f4fe9cd0789fd217e6ad1525bef3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "title": "Netdata deployment information meta.",
  "items": {
    "type": "object",
    "description": "Individual entries for deployment information.",
    "properties": {
      "id": {
        "$ref": "./shared.json#/$defs/id"
      },
      "meta": {
        "$ref": "./shared.json#/$defs/instance"
      },
      "keywords": {
        "$ref": "./shared.json#/$defs/keywords"
      },
      "most_popular": {
        "type": "boolean",
        "description": "If true, the integration is sorted to the top of the list of integrations."
      },
      "install_description": {
        "type": "string",
        "description": "Describes basic information about how to deploy on this platform."
      },
      "methods": {
        "type": "array",
        "description": "Describes the various ways to deploy on this platform.",
        "items": {
          "type": "object",
          "properties": {
            "method": {
              "type": "string",
              "description": "The name of the installation method."
            },
            "commands": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "channel": {
                    "type": "string",
                    "description": "The release channel that this command is used for.",
                    "enum": [
                      "nightly",
                      "stable"
                    ]
                  },
                  "command": {
                    "type": "string",
                    "description": "The command to run for installing using this method."
                  }
                },
                "required": [
                  "channel",
                  "command"
                ]
              }
            }
          },
          "required": [
            "method",
            "commands"
          ]
        }
      },
      "additional_info": {
        "type": "string",
        "description": "Any additional information about this platform."
      },
      "related_resources": {
        "type": "object",
        "description": "TBD"
      },
      "platform_info": {
        "type": "object",
        "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.",
        "properties": {
          "group": {
            "type": "string",
            "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.",
            "enum": [
              "include",
              "no_include",
              ""
            ]
          },
          "distro": {
            "type": "string",
            "description": "Identifies the platform within the group, based on the value of the 'distro' key."
          }
        },
        "required": [
          "group",
          "distro"
        ]
      },
      "quick_start": {
        "type": "integer",
        "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."
      }
    },
    "required": [
      "id",
      "meta",
      "keywords",
      "most_popular",
      "install_description",
      "methods",
      "additional_info",
      "related_resources",
      "platform_info",
      "quick_start"
    ]
  }
}