Schedule icn-bluval-daily-master at midnight 40/3540/4
authorIgor D.C <igordcard@gmail.com>
Tue, 2 Jun 2020 23:36:47 +0000 (23:36 +0000)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Wed, 25 Nov 2020 23:34:48 +0000 (23:34 +0000)
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 <igordcard@gmail.com>
ci/jjb/akraino-icn-templates.yaml
ci/jjb/defaults.yaml

index 7706fb4..f0cac38 100644 (file)
     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:
           submodule-disable: true
           choosing-strategy: default
 
+    triggers:
+      - timed: "@midnight"
+
     builders:
       - description-setter:
           description: "POD: $NODE_NAME<br/>BLUEPRINT: $BLUEPRINT<br/>LAB: $LAB_SILO<br/>LAYER: $LAYER"
index cc17382..47b8f01 100644 (file)
     # 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