Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lint_job_entity.json « entities « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b85f58d429151033ef4590e3ed5fad7ea5832515 (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
{
  "type": "object",
  "required": [
    "name",
    "stage",
    "before_script",
    "script",
    "after_script",
    "tag_list",
    "environment",
    "when",
    "allow_failure",
    "only",
    "except"
  ],
  "properties": {
    "name": {
      "type": ["string"]
    },
    "stage": {
      "type": ["string"]
    },
    "before_script": {
      "type": ["array"],
      "items": { "type": "string" }
    },
    "script": {
      "type": ["array"],
      "items": { "type": "string" }
    },
    "after_script": {
      "type": ["array"],
      "items": { "type": "string" }
    },
    "when": {
      "items": { "type": ["string"] }
    },
    "allow_failure": {
      "type": ["boolean"]
    },
    "environment": {
      "type": ["string", null]
    },
    "tag_list": {
      "type": ["array"],
      "items": { "type": "string" }
    },
    "only": {
      "type": ["array", "object", null],
      "items": { "type": ["string", "array"]}
    },
    "except": {
      "type": ["array", "object", null],
      "items": { "type": ["string", "array"]}
    }
  },
  "additionalProperties": false
}