Add KSU2 custom parameters to gitops_02 test
Change-Id: I1a87e1b5c7a22d67a8a745ab441a2bb502a9ae73
Signed-off-by: mesaj <juanmanuel.mesamendez.ext@telefonica.com>
diff --git a/robot-systest/resources/jenkins-params.yaml b/robot-systest/resources/jenkins-params.yaml
new file mode 100644
index 0000000..b6b77a2
--- /dev/null
+++ b/robot-systest/resources/jenkins-params.yaml
@@ -0,0 +1,23 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+namespace: jenkins
+inline_values:
+ service:
+ ports:
+ http: "8080"
+ https: "8443"
+secret_values:
+ jenkinsUser: admin
+ jenkinsPassword: myJ3nk1n2P2ssw0rd
+
diff --git a/robot-systest/testsuite/gitops_02-declarative_cluster_registration_oka_ksu.robot b/robot-systest/testsuite/gitops_02-declarative_cluster_registration_oka_ksu.robot
index e5ad111..f6a85db 100644
--- a/robot-systest/testsuite/gitops_02-declarative_cluster_registration_oka_ksu.robot
+++ b/robot-systest/testsuite/gitops_02-declarative_cluster_registration_oka_ksu.robot
@@ -50,6 +50,7 @@
${KSU_NS_NAME} jenkins-ns
${KSU1_NAME} testacme
${KSU2_NAME} jenkins
+${KSU2_PARAMS} jenkins-params.yaml
${KSU_NS_ID} ${EMPTY}
${KSU1_ID} ${EMPTY}
${KSU2_ID} ${EMPTY}
@@ -101,7 +102,7 @@
Create KSU2 With Params
[Documentation] Create KSU based on ${OKA2_NAME} with params.
[Tags] ksu ksu2 create
- ${id}= Create KSU ${KSU2_NAME} ${KSU2_NAME} ${CLUSTER_NAME} app-profile ${OKA2_NAME} ${OKA_FOLDER}/apps/jenkins-params.yaml
+ ${id}= Create KSU ${KSU2_NAME} ${KSU2_NAME} ${CLUSTER_NAME} app-profile ${OKA2_NAME} %{ROBOT_DEVOPS_FOLDER}/resources/${KSU2_PARAMS}
Set Suite Variable ${KSU2_ID} ${id}
Log ${KSU2_ID}