-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.Dockerfile.yaml
More file actions
26 lines (26 loc) · 876 Bytes
/
Copy path.Dockerfile.yaml
File metadata and controls
26 lines (26 loc) · 876 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
schemaVersion: "2.0.0"
# ref https://github.com/GoogleContainerTools/container-structure-test#command-tests
commandTests:
- name: "cloudshell is in path"
command: "which"
args: ["cloudshell"]
expectedOutput: ["/usr/bin/cloudshell"]
- name: "cloudshell is executable"
command: "/app/cloudshell"
args: ["--version"]
expectedOutput: ["^cloudshell version"]
# ref https://github.com/GoogleContainerTools/container-structure-test#file-existence-tests
fileExistenceTests:
- name: "frontend files exist"
path: /app/public
shouldExist: true
- name: "frontend assets exist"
path: /app/node_modules
shouldExist: true
- name: "application binary exists"
path: /app/cloudshell
shouldExist: true
# ref https://github.com/GoogleContainerTools/container-structure-test#metadata-test
metadataTest:
entrypoint:
- /app/cloudshell