-
Notifications
You must be signed in to change notification settings - Fork 16
/
ConformanceTestsJob-1.2.yaml
58 lines (58 loc) · 1.51 KB
/
ConformanceTestsJob-1.2.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
apiVersion: batch/v1
kind: Job
metadata:
name: conformance-tests-1-2
spec:
backoffLimit: 0
template:
spec:
initContainers:
- name: prep-1-2
image: alpine:3.10
command: ["chmod", "777", "/output"]
volumeMounts:
- mountPath: /output
name: conformance-test-output
containers:
- name: tests-1-2
imagePullPolicy: IfNotPresent
image: conformance:latest
workingDir: "/conformance/cwl-v1.2-1.2.0"
command: ["cwltest"]
args:
- "--test"
- "/conformance/cwl-v1.2-1.2.0/conformance_tests.yaml"
- "--tool"
- "calrissian"
- "--badgedir"
- "/output/badges-1.2.0"
- "--verbose"
- "--"
- "--max-ram"
- "8G"
- "--max-cores"
- "4"
- "--default-container"
- "debian:stretch-slim"
env:
- name: CALRISSIAN_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: TMPDIR
value: "/output"
volumeMounts:
- mountPath: /conformance
name: conformance-test-data
readOnly: true
- mountPath: /output
name: conformance-test-output
restartPolicy: Never
volumes:
- name: conformance-test-data
persistentVolumeClaim:
claimName: conformance-test-data
readOnly: true
- name: conformance-test-output
persistentVolumeClaim:
claimName: conformance-test-output