-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-test.yml
More file actions
46 lines (44 loc) · 1.63 KB
/
docker-test.yml
File metadata and controls
46 lines (44 loc) · 1.63 KB
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
# https://github.com/GoogleContainerTools/container-structure-test
schemaVersion: "2.0.0"
metadataTest:
envVars:
- key: 'PYTHONPATH'
value: '/opt/valhalla'
labels:
- key: 'org.opencontainers.image.title'
value: 'valhalla'
- key: 'org.opencontainers.image.description'
value: '🌌 valhalla is a toolkit designed to streamline the release of new versions of software. 🌌'
- key: 'org.opencontainers.image.version'
value: '.+' # any non-empty string (version)
isRegex: true
- key: 'org.opencontainers.image.ref.name'
value: '.+' # any non-empty string (version)
isRegex: true
- key: 'org.opencontainers.image.revision'
value: '^[a-f0-9]{40}$'
isRegex: true
- key: 'org.opencontainers.image.created'
value: '^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9:.-]+Z$'
isRegex: true
- key: 'org.opencontainers.image.authors'
value: 'team@logchange.dev'
- key: 'org.opencontainers.image.vendor'
value: 'The logchange Community'
- key: 'org.opencontainers.image.url'
value: 'https://github.com/logchange/valhalla'
- key: 'org.opencontainers.image.documentation'
value: 'https://logchange.dev/tools/valhalla/'
- key: 'org.opencontainers.image.source'
value: 'https://github.com/logchange/valhalla'
- key: 'org.opencontainers.image.licenses'
value: 'Apache-2.0'
entrypoint: []
cmd: ["valhalla"]
workdir: "/repository"
user: ""
commandTests:
- name: "valhalla installed"
command: "valhalla"
args: ["--help"]
expectedOutput: [".*valhalla is a toolkit designed to streamline the release of new versions of software.*"]