-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathstage-internal-test-job.yaml
130 lines (128 loc) · 3.93 KB
/
stage-internal-test-job.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: rhsm-stage-test-job
objects:
- apiVersion: batch/v1
kind: Job
metadata:
name: rhsm-stage-test-job-${IMAGE_TAG}-${UID}
annotations:
"ignore-check.kube-linter.io/no-liveness-probe": "probes not required on Job pods"
"ignore-check.kube-linter.io/no-readiness-probe": "probes not required on Job pods"
spec:
template:
spec:
imagePullSecrets:
- name: quay-cloudservices-pull
restartPolicy: Never
volumes:
- name: sel-shm
emptyDir:
medium: Memory
containers:
- name: rhsm-stage-post-deploy-tests-${IMAGE_TAG}-${UID}
args:
- run
env:
- name: ENV_FOR_DYNACONF
value: ${ENV_FOR_DYNACONF}
- name: IQE_PLUGINS
value: ${IQE_PLUGINS}
- name: IQE_MARKER_EXPRESSION
value: ${IQE_MARKER_EXPRESSION}
- name: IQE_FILTER_EXPRESSION
value: ${IQE_FILTER_EXPRESSION}
- name: IQE_LOG_LEVEL
value: ${IQE_LOG_LEVEL}
- name: IQE_REQUIREMENTS
value: ${IQE_REQUIREMENTS}
- name: IQE_REQUIREMENTS_PRIORITY
value: ${IQE_REQUIREMENTS_PRIORITY}
- name: IQE_TEST_IMPORTANCE
value: ${IQE_TEST_IMPORTANCE}
- name: IQE_PARALLEL_WORKER_COUNT
value: ${IQE_PARALLEL_WORKER_COUNT}
- name: IQE_RP_ARGS
value: "true"
- name: IQE_IBUTSU_SOURCE
value: "rhsm-stage-${IMAGE_TAG}"
- name: DYNACONF_IQE_VAULT_LOADER_ENABLED
value: "true"
- name: DYNACONF_IQE_VAULT_VERIFY
value: "true"
- name: DYNACONF_IQE_VAULT_URL
valueFrom:
secretKeyRef:
key: url
name: iqe-vault
optional: true
- name: DYNACONF_IQE_VAULT_MOUNT_POINT
valueFrom:
secretKeyRef:
key: mountPoint
name: iqe-vault
optional: true
- name: DYNACONF_IQE_VAULT_ROLE_ID
valueFrom:
secretKeyRef:
key: roleId
name: iqe-vault
optional: true
- name: DYNACONF_IQE_VAULT_SECRET_ID
valueFrom:
secretKeyRef:
key: secretId
name: iqe-vault
optional: true
- name: DYNACONF_main__use_beta
value: "yes"
- name: DYNACONF_main__use_browser
value: "chrome"
- name: DYNACONF_browsers__chrome__webdriver
value: "Remote"
- name: DYNACONF_browsers__chrome__command_executor
value: "http://10.0.148.118:80/wd/hub"
- name: DYNACONF_browsers__chrome__webdriver_options__desired_capabilities__chromeOptions__args
value: "['--headless','--window-size=1920,1080']"
image: ${IQE_IMAGE}
imagePullPolicy: Always
resources:
limits:
cpu: "1"
memory: 3Gi
requests:
cpu: 500m
memory: 1Gi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
parameters:
- name: IMAGE_TAG
value: ''
required: true
- name: UID
description: "Unique job name suffix"
generate: expression
from: "[a-z0-9]{6}"
- name: IQE_IMAGE
description: "container image path for the iqe plugin"
value: quay.io/cloudservices/iqe-tests:rhsm-subscriptions
- name: ENV_FOR_DYNACONF
value: stage_proxy
- name: IQE_PLUGINS
value: rhsm_subscriptions,curiosity
- name: IQE_MARKER_EXPRESSION
value: post_stage_deploy
- name: IQE_FILTER_EXPRESSION
value: ''
- name: IQE_LOG_LEVEL
value: info
- name: IQE_REQUIREMENTS
value: ''
- name: IQE_REQUIREMENTS_PRIORITY
value: ''
- name: IQE_TEST_IMPORTANCE
value: ''
- name: IQE_PARALLEL_WORKER_COUNT
value: '6'