...
1##
2# See https://github.com/GoogleContainerTools/container-structure-test
3# for schema definition
4##
5schemaVersion: 2.0.0
6
7fileExistenceTests:
8 # bzl-cache-rc-gen
9 - name: 'bzl-cache-rc-gen'
10 path: '/usr/local/bin/bzl-cache-rc-gen'
11 shouldExist: true
12 permissions: '-rwxr-xr-x'
13 - name: 'system wide cache bazel config'
14 path: '/etc/bazel.bazelrc'
15 shouldExist: true
16
17 # docker
18 - name: 'docker'
19 path: '/usr/bin/docker'
20 shouldExist: true
21 permissions: '-rwxr-xr-x'
22 - name: 'containerd-shim'
23 path: '/usr/bin/containerd-shim'
24 shouldExist: true
25 permissions: '-rwxr-xr-x'
26 - name: 'containerd'
27 path: '/usr/bin/containerd'
28 shouldExist: true
29 permissions: '-rwxr-xr-x'
30 - name: 'docker-init'
31 path: '/usr/bin/docker-init'
32 shouldExist: true
33 permissions: '-rwxr-xr-x'
34 - name: 'docker-proxy'
35 path: '/usr/bin/docker-proxy'
36 shouldExist: true
37 permissions: '-rwxr-xr-x'
38 - name: 'dockerd'
39 path: '/usr/bin/dockerd'
40 shouldExist: true
41 permissions: '-rwxr-xr-x'
42 - name: 'ctr'
43 path: '/usr/bin/ctr'
44 shouldExist: true
45 permissions: '-rwxr-xr-x'
46 - name: 'runc'
47 path: '/usr/bin/runc'
48 shouldExist: true
49 permissions: '-rwxr-xr-x'
50
51 # just
52 - name: 'just'
53 path: '/usr/local/bin/just'
54 shouldExist: true
55 permissions: '-rwxr-xr-x'
56
57commandTests:
58 # repo tools
59 - name: 'bzl-cache-rc-gen --help'
60 command: 'bzl-cache-rc-gen'
61 args: ['--help']
62 exitCode: 0
63
64 # git
65 - name: 'git'
66 command: 'git'
67 args: ['version']
68 exitCode: 0
69
70 # bazel
71 - name: 'bazel'
72 command: 'bazel'
73 args: ['version']
74
75 # rsync
76 - name: 'which rsync'
77 command: 'which'
78 args: ['rsync']
79 exitCode: 0
80
81 # python
82 - name: 'which python3'
83 command: 'which'
84 args: ['python3']
85 exitCode: 0
View as plain text