From 1552254c5ea6e7ee9125f8f5e85c9a7b15b2b94d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Sep 20 2018 17:10:21 +0000 Subject: Allow specifying additional result outcomes in openshift template. This can be used like this: $ oc process --local -f ./openshift/resultsdb-test-template.yaml \ -p TEST_ID=test \ -p RESULTSDB_ADDITIONAL_RESULT_OUTCOMES=\[\'SOMETHING\'\] In particular, it will be used by the Greenwave test suite which expects to be able to run some tests against resultsdb with varying kinds of outcomes. --- diff --git a/openshift/resultsdb-test-template.yaml b/openshift/resultsdb-test-template.yaml index cda18c1..b473813 100644 --- a/openshift/resultsdb-test-template.yaml +++ b/openshift/resultsdb-test-template.yaml @@ -31,6 +31,9 @@ parameters: displayName: Secret Key for ResultsDB generate: expression from: "[\\w]{32}" +- name: RESULTSDB_ADDITIONAL_RESULT_OUTCOMES + displayName: Additional outcomes values. + value: "[]" objects: - apiVersion: v1 kind: Secret @@ -61,6 +64,7 @@ objects: MESSAGE_BUS_PUBLISH = False MESSAGE_BUS_PLUGIN = 'fedmsg' MESSAGE_BUS_KWARGS = {'modname': 'resultsdb'} + ADDITIONAL_RESULT_OUTCOMES = ${RESULTSDB_ADDITIONAL_RESULT_OUTCOMES} - apiVersion: v1 kind: ConfigMap metadata: