-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathtests.yaml
51 lines (51 loc) · 1.42 KB
/
tests.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
schemaVersion: "2.0.0"
metadataTest:
user: "root"
workdir: "/home/onyxia/work"
exposedPorts: ["8787"]
fileExistenceTests:
- name: "user home"
path: "/home/onyxia"
shouldExist: true
permissions: "drwxr-x---"
uid: 1000
gid: 100
- name: "onyxia init script"
path: "/opt/onyxia-init.sh"
shouldExist: true
permissions: "-rwxr-xr-x"
uid: 0
gid: 0
commandTests:
- name: "Does the binary exists?"
command: "which"
args: ["helm"]
expectedOutput: ["/usr/local/bin/helm"]
- name: "Does the binary exists?"
command: "which"
args: ["kubectl"]
expectedOutput: ["/usr/local/bin/kubectl"]
- name: "Does the binary exists?"
command: "which"
args: ["mc"]
expectedOutput: ["/usr/local/bin/mc"]
- name: "Does the binary exists?"
command: "which"
args: ["vault"]
expectedOutput: ["/usr/local/bin/vault"]
- name: "Does the binary exists?"
command: "which"
args: ["argo"]
expectedOutput: ["/usr/local/bin/argo"]
- name: "Does the binary exists?"
command: "which"
args: ["R"]
expectedOutput: ["/usr/local/bin/R"]
- name: "Does the binary exists?"
command: "which"
args: ["rstudio-server"]
expectedOutput: ["/usr/lib/rstudio-server/bin/rstudio-server"]
- name: "Does the binary exists?"
command: "which"
args: ["duckdb"]
expectedOutput: ["/usr/local/bin/duckdb"]