X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fakraino-templates%2Fakraino-rec-macros.yaml;h=a1129b811237991e1f051991e48a478b9cfb3000;hp=bf957210c26799028733b58fcfdac9faa7b052f7;hb=HEAD;hpb=9c21f944a759345273e43bc97f219498e3c408bc diff --git a/jjb/akraino-templates/akraino-rec-macros.yaml b/jjb/akraino-templates/akraino-rec-macros.yaml index bf95721..ad2312a 100644 --- a/jjb/akraino-templates/akraino-rec-macros.yaml +++ b/jjb/akraino-templates/akraino-rec-macros.yaml @@ -3,34 +3,51 @@ # PARAMETERS # ############## - parameter: - name: 'rec-aarch64_baremetal-defaults' + name: "rec-aarch64_baremetal-defaults" parameters: - string: name: REC_ISO_IMAGE_NAME - default: 'https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/install.aarch64.iso' - description: 'REC install image' + # yamllint disable-line rule:line-length + default: "https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/install.aarch64.iso" + description: "REC install image" - string: name: REC_PROVISIONING_ISO_NAME - default: 'https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/bootcd.aarch64.iso' - description: 'REC provisioning image' + # yamllint disable-line rule:line-length + default: "https://nexus.akraino.org/content/repositories/images-snapshots/TA/images/arm64/latest/bootcd.aarch64.iso" + description: "REC provisioning image" - string: name: REC_USER_CONFIG - default: 'file:///data/rec_pod/user_config.yaml' - description: 'POD user config YAML (hosted on Jumpserver by default)' + default: "file:///data/rec_pod/user_config.yaml" + description: "POD user config YAML (hosted on Jumpserver by default)" - string: name: ARCHIVE_ARTIFACTS - default: '**/*.log' + default: "**/*.log" description: Artifacts to archive to the logs server. - string: name: SCM_REFSPEC_REMOTE_INSTALLER - default: 'refs/heads/master' - description: 'remote-installer custom git refspec' + default: "refs/heads/master" + description: "remote-installer custom git refspec" + +- parameter: + name: "rec-defaults" + parameters: + - string: + name: CLUSTER_MASTER_IP + default: "192.167.10.211" + description: "IP address to connect to the K8s master" + - string: + name: CLUSTER_SSH_USER + default: "cloudadmin" + description: "SSH username to connect to the K8s master" + - string: + name: CLUSTER_SSH_PASSWORD + default: "admin" + description: "SSH password to connect to the K8s master" ######################## # trigger macros ######################## - trigger: - name: 'rec-weekly-master-trigger' + name: "rec-weekly-master-trigger" triggers: - - timed: '0 1 * * 6,7' - + - timed: "0 1 * * 6,7"