From: Igor D.C Date: Tue, 2 Jun 2020 23:36:47 +0000 (+0000) Subject: Schedule icn-bluval-daily-master at midnight X-Git-Tag: v0.4.0~3^2 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F3540%2F4;p=icn.git Schedule icn-bluval-daily-master at midnight This patch makes the Jenkins icn-bluval-daily-master job run recurrently at midnight of every day, similar to other ICN CI jobs. To fulfill that, the patch also defines all default parameters for the Bluval job to run correctly and unattended. Change-Id: I48aa10b707186e30aa334edb4a97047383814e03 Signed-off-by: Igor D.C --- diff --git a/ci/jjb/akraino-icn-templates.yaml b/ci/jjb/akraino-icn-templates.yaml index 7706fb4..f0cac38 100644 --- a/ci/jjb/akraino-icn-templates.yaml +++ b/ci/jjb/akraino-icn-templates.yaml @@ -154,12 +154,45 @@ name: 'icn-bluval-daily-{stream}' concurrent: true node: '{build-node}' + defaults: icn parameters: - lf-infra-parameters: *validation_lf_infra_parameters - string: - name: DEPLOY_SCENARIO - default: '' - - {'bluval-defaults'} + name: CLUSTER_MASTER_IP + default: '{bluval-cluster-master-ip}' + description: 'IP address to connect to the cluster master' + - string: + name: CLUSTER_SSH_USER + default: '{bluval-cluster-ssh-user}' + description: 'SSH username to connect to the cluster master ' + - string: + name: CLUSTER_SSH_KEY + default: '{bluval-cluster-ssh-key}' + description: 'SSH key to connect to the cluster master' + - string: + name: BLUEPRINT + default: '{bluval-blueprint}' + description: 'Blueprint used' + - string: + name: LAYER + default: '{bluval-layer}' + description: 'Layer ("os", "k8s" or blank to run all)' + - string: + name: VERSION + default: '{bluval-version}' + description: 'Version or branch' + - string: + name: OPTIONAL + default: '{bluval-optional}' + description: 'If set to yes run optional tests' + - string: + name: PULL + default: '{bluval-pull}' + description: 'If set to yes pull docker images before run' + - string: + name: LAB_SILO + default: '{bluval-lab-silo}' + description: 'Name of silo in Nexus' scm: - lf-infra-github-scm: @@ -172,6 +205,9 @@ submodule-disable: true choosing-strategy: default + triggers: + - timed: "@midnight" + builders: - description-setter: description: "POD: $NODE_NAME
BLUEPRINT: $BLUEPRINT
LAB: $LAB_SILO
LAYER: $LAYER" diff --git a/ci/jjb/defaults.yaml b/ci/jjb/defaults.yaml index cc17382..47b8f01 100644 --- a/ci/jjb/defaults.yaml +++ b/ci/jjb/defaults.yaml @@ -18,3 +18,14 @@ # Sonarcloud sonarcloud_project_organization: akraino-edge-stack sonarcloud_api_token: 6864256050596cb8f0cb689d599687f5de46f414 + + # Bluval + bluval-cluster-master-ip: localhost + bluval-cluster-ssh-user: root + bluval-cluster-ssh-key: '/var/lib/jenkins/jenkins-rsa' + bluval-blueprint: icn + bluval-layer: "" + bluval-version: master + bluval-optional: false + bluval-pull: true + bluval-lab-silo: intel