Skip to content

Commit

Permalink
ci(HMS-1947): Parameterize post-deploy tests for both stage and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
tpapaioa authored and mshriver committed Jul 7, 2023
1 parent ee885ee commit 4a828ea
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions deploy/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: provisioning-stage-test
name: provisioning-test
objects:
- apiVersion: cloud.redhat.com/v1alpha1
kind: ClowdJobInvocation
metadata:
name: provisioning-stage-test-${IMAGE_TAG}-${UID}
name: provisioning-test-${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"
Expand All @@ -16,9 +16,8 @@ objects:
testing:
iqe:
debug: false
dynaconfEnvName: stage_post_deploy
filter: ''
marker: 'stage'
dynaconfEnvName: ${IQE_ENV}
marker: ${IQE_MARKER}
parameters:
- name: IMAGE_TAG
value: ''
Expand All @@ -27,3 +26,7 @@ parameters:
description: "Unique CJI name suffix"
generate: expression
from: "[a-z0-9]{6}"
- name: IQE_ENV
value: 'stage_post_deploy'
- name: IQE_MARKER
value: 'stage'

0 comments on commit 4a828ea

Please sign in to comment.