## # See https://github.com/GoogleContainerTools/container-structure-test # for schema definition ## schemaVersion: 2.0.0 fileExistenceTests: # bzl-cache-rc-gen - name: 'bzl-cache-rc-gen' path: '/usr/local/bin/bzl-cache-rc-gen' shouldExist: true permissions: '-rwxr-xr-x' - name: 'system wide cache bazel config' path: '/etc/bazel.bazelrc' shouldExist: true # docker - name: 'docker' path: '/usr/bin/docker' shouldExist: true permissions: '-rwxr-xr-x' - name: 'containerd-shim' path: '/usr/bin/containerd-shim' shouldExist: true permissions: '-rwxr-xr-x' - name: 'containerd' path: '/usr/bin/containerd' shouldExist: true permissions: '-rwxr-xr-x' - name: 'docker-init' path: '/usr/bin/docker-init' shouldExist: true permissions: '-rwxr-xr-x' - name: 'docker-proxy' path: '/usr/bin/docker-proxy' shouldExist: true permissions: '-rwxr-xr-x' - name: 'dockerd' path: '/usr/bin/dockerd' shouldExist: true permissions: '-rwxr-xr-x' - name: 'ctr' path: '/usr/bin/ctr' shouldExist: true permissions: '-rwxr-xr-x' - name: 'runc' path: '/usr/bin/runc' shouldExist: true permissions: '-rwxr-xr-x' # kpt - name: 'kpt' path: '/usr/local/bin/kpt' shouldExist: true permissions: '-rwxr-xr-x' # just - name: 'just' path: '/usr/local/bin/just' shouldExist: true permissions: '-rwxr-xr-x' # yq - name: 'yq' path: '/usr/local/bin/yq' shouldExist: true permissions: '-rwxr-xr-x' commandTests: # repo tools - name: 'bzl-cache-rc-gen --help' command: 'bzl-cache-rc-gen' args: ['--help'] exitCode: 0 - name: 'edgeadmin' command: 'edgeadmin' args: ['--help'] exitCode: 0 # git - name: 'git' command: 'git' args: ['version'] exitCode: 0 # bazel - name: 'bazel' command: 'bazel' args: ['version'] # ruby - name: 'which ruby' command: 'which' args: ['ruby'] exitCode: 0 # rsync - name: 'which rsync' command: 'which' args: ['rsync'] exitCode: 0 # python - name: 'which python3' command: 'which' args: ['python3'] exitCode: 0 # node - name: 'which node' command: 'which' args: ['node'] exitCode: 0 - name: 'node version' command: node args: ['--version'] expectedOutput: ['v20.*'] - name: 'which npm' command: 'which' args: ['npm'] exitCode: 0 - name: npm version command: 'npm' args: ['version'] expectedOutput: ['v8.*'] # task runners - name: 'which make' command: 'which' args: ['make'] exitCode: 0