-
Notifications
You must be signed in to change notification settings - Fork 15
/
databricks.yaml
77 lines (77 loc) · 1.53 KB
/
databricks.yaml
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
apiVersion: container-canary.nvidia.com/v1
kind: Validator
name: databricks
description: Databricks
documentation: https://docs.databricks.com/clusters/custom-containers.html#option-2-build-your-own-docker-base
env: []
volumes: []
command:
- /bin/sh
- -c
- "sleep 3600"
checks:
- name: bash
description: Has bash installed
probe:
exec:
command:
- /bin/sh
- -c
- "which bash"
- name: sudo
description: Has sudo installed
probe:
exec:
command:
- /bin/sh
- -c
- "which sudo"
- name: sudo
description: Has procps installed
probe:
exec:
command:
- /bin/sh
- -c
- "which ps"
- name: sudo
description: Has iproute2 installed
probe:
exec:
command:
- /bin/sh
- -c
- "which ip"
- name: sudo
description: Has coreutils installed
probe:
exec:
command:
- /bin/sh
- -c
- "which cat"
- name: distro
description: Uses Ubuntu or Alpine
probe:
exec:
command:
- grep
- 'ubuntu\|alpine'
- /etc/os-release
- name: java8
description: Has Java 8 installed
probe:
exec:
command:
- /bin/bash
- -c
- "java -version 2>&1 | grep 8u"
- name: python
description: Has Python virtualenv installed
probe:
exec:
command:
- /bin/bash
- -c
- "which virtualenv"
# TODO R