-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml
More file actions
34 lines (28 loc) · 742 Bytes
/
Copy pathconfig.yaml
File metadata and controls
34 lines (28 loc) · 742 Bytes
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
schemaVersion: "2.0.0"
commandTests:
- name: "check rooti user"
command: "whoami"
expectedOutput: ["root"]
# - name: "check jenkins uid/gid used for config generation"
# command: "id"
# expectedOutput: ["uid=2000.jenkins. gid=2000.docker. groups=2000.docker.*"]
fileExistenceTests:
# - name: 'jenkins directory'
# path: '/home/jenkins'
# shouldExist: true
# permissions: 'drwxrwxrwx'
# uid: 2000
- name: 'bin test file'
path: '/opt/nabla/bin/run_tests'
shouldExist: true
permissions: '-rwxr-xr-x'
uid: 0
- name: 'bin file'
path: '/opt/nabla/bin/run_app'
shouldExist: true
permissions: '-rwxr-xr-x'
uid: 0
metadataTest:
exposedPorts: []
volumes: []
# cmd: [/opt/nabla/bin/run_app]