summaryrefslogtreecommitdiffstats
path: root/src/ansiblelint/schemas/execution-environment.json
blob: 405019d0c554341b604c11084981141daaf3adda (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
{
  "$id": "https://raw.githubusercontent.com/ansible-lint/main/src/ansiblelint/schemas/ansible-ee.json",
  "$schema": "http://json-schema.org/draft-07/schema",
  "additionalProperties": false,
  "description": "See https://docs.ansible.com/automation-controller/latest/html/userguide/ee_reference.html",
  "examples": ["execution-environment.yml"],
  "properties": {
    "additional_build_steps": {
      "properties": {
        "append": {
          "examples": ["RUN cat /etc/os-release"],
          "type": ["string", "array"]
        },
        "prepend": {
          "examples": ["RUN cat /etc/os-release"],
          "type": ["string", "array"]
        }
      },
      "title": "Commands to append or prepend to container build process.",
      "type": "object"
    },
    "ansible_config": {
      "examples": ["ansible.cfg"],
      "title": "Ansible configuration file",
      "type": "string"
    },
    "build_arg_defaults": {
      "additionalProperties": true,
      "properties": {
        "EE_BASE_IMAGE": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "dependencies": {
      "description": "Allows adding system, python or galaxy dependencies.",
      "properties": {
        "galaxy": {
          "examples": ["requirements.yml"],
          "markdownDescription": "Example `requirements.yml`",
          "title": "Optional galaxy file",
          "type": "string"
        },
        "python": {
          "examples": ["requirements.txt"],
          "markdownDescription": "Example `requirements.txt`",
          "title": "Optional python package dependencies",
          "type": "string"
        },
        "system": {
          "examples": ["bindep.txt"],
          "markdownDescription": "Example `bindep.txt`",
          "title": "Optional system dependencies using bindep format",
          "type": "string"
        }
      },
      "title": "Dependencies",
      "type": "object"
    },
    "version": {
      "enum": [1],
      "title": "Version",
      "type": "integer"
    }
  },
  "required": ["version", "dependencies"],
  "title": "Ansible Execution Environment Schema",
  "type": "object"
}