Instead of abusing yaml anchors, use jjb inheritance of parameter
lists.
While at it, fix IEC Compass default value of private key, which
should be empty (Compass uses user/pass auth).
Change-Id: I5528b6ce4dcf648ec416194bfcbb88bddc1c8c39
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
default: 'root'
- string:
<<: *k8s_ssh_key
default: 'root'
- string:
<<: *k8s_ssh_key
# IEC usecase(s) parameters
- parameter:
# IEC usecase(s) parameters
- parameter:
- parameter:
name: bluval-defaults
parameters:
- parameter:
name: bluval-defaults
parameters:
- - string: &cluster_master_ip
+ - lab_params
+ - string:
+ name: LAB_SILO
+ default: ''
+ description: 'Folder in nexus where the logs are pushed.'
+ - string:
+ name: SETTINGS_FILE
+ default: '/home/jenkins/settings.xml'
+ description: 'Path to credentials file'
+
+- parameter:
+ name: lab_params
+ parameters:
+ - string:
name: CLUSTER_MASTER_IP
default: ''
description: 'IP address to connect to the cluster master'
name: CLUSTER_MASTER_IP
default: ''
description: 'IP address to connect to the cluster master'
- - string: &cluster_ssh_user
name: CLUSTER_SSH_USER
default: ''
description: 'SSH username to connect to the cluster master '
name: CLUSTER_SSH_USER
default: ''
description: 'SSH username to connect to the cluster master '
- - string: &cluster_ssh_password
name: CLUSTER_SSH_PASSWORD
default: ''
description: 'SSH password to connect to the cluster master'
name: CLUSTER_SSH_PASSWORD
default: ''
description: 'SSH password to connect to the cluster master'
- - string: &cluster_ssh_key
name: CLUSTER_SSH_KEY
default: ''
description: 'SSH key to connect to the cluster master'
name: CLUSTER_SSH_KEY
default: ''
description: 'SSH key to connect to the cluster master'
- - string: &blueprint_name
name: BLUEPRINT
default: ''
description: 'Blueprint used'
name: BLUEPRINT
default: ''
description: 'Blueprint used'
name: LAYER
default: ''
description: 'Layer'
name: LAYER
default: ''
description: 'Layer'
name: VERSION
default: ''
description: 'Version'
name: VERSION
default: ''
description: 'Version'
name: OPTIONAL
default: ''
description: 'If set to yes run optional tests'
name: OPTIONAL
default: ''
description: 'If set to yes run optional tests'
- - string:
- name: LAB_SILO
- default: ''
- description: 'Folder in nexus where the logs are pushed.'
- - string:
- name: SETTINGS_FILE
- default: '/home/jenkins/settings.xml'
- description: 'Path to credentials file'
-
-- parameter:
- name: lab_params
- parameters:
- - string:
- <<: *cluster_master_ip
- - string:
- <<: *cluster_ssh_user
- - string:
- <<: *cluster_ssh_password
- - string:
- <<: *cluster_ssh_key
- - string:
- <<: *blueprint_name
- - string:
- <<: *layer
- - string:
- <<: *version
- - string:
- <<: *optional
############
# SETTINGS #
############
# SETTINGS #