Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(HMS-1947): Parameterize post-deploy tests for both stage and prod #585

Merged
merged 1 commit into from
Jul 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'