From 03bd90bef87b31b5011bfbcf1d692147da96a953 Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Fri, 5 May 2017 14:16:40 +0100 Subject: [PATCH] Add sushy from source job This patch is adding a non-voting job in the Sushy's gate testing the changes against Ironic to make sure we won't break it. Change-Id: Ic6315532101a2f21e4661f777fa9aece716db66d --- jenkins/jobs/ironic.yaml | 42 ++++++++++++++++++++++++++++++++++++++ jenkins/jobs/projects.yaml | 5 +++++ zuul/layout.yaml | 1 + 3 files changed, 48 insertions(+) diff --git a/jenkins/jobs/ironic.yaml b/jenkins/jobs/ironic.yaml index 1c5573735c..88137485ca 100644 --- a/jenkins/jobs/ironic.yaml +++ b/jenkins/jobs/ironic.yaml @@ -336,6 +336,14 @@ script: | export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_STAGING_DRIVER={staging-driver}" +- builder: + name: ironic-sushy-from-source + builders: + - ironic-extra-vars: + script: | + export DEVSTACK_PROJECT_FROM_GIT="sushy,$DEVSTACK_PROJECT_FROM_GIT" + + - job-template: name: '{pipeline}-ironic-dsvm-functional-{node}{suffix}' node: '{node}' @@ -755,6 +763,40 @@ - devstack-logs - console-log +- job-template: + name: '{pipeline}-tempest-dsvm-ironic-ipa-partition-redfish-sushy-src-{node}{suffix}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 75 + - timestamps + + builders: + - print-template-name: + template-name: "{template-name}" + - link-logs + - net-info + - devstack-checkout + - ironic-sushy-from-source + - ironic-deploy-with-IPA: + ramdisk-type: 'tinyipa' + - ironic-tempest-regex: + tempest-regex: ironic + - ironic-tempest-plugin: + concurrency: 1 + - devstack-virtual-ironic: + build-ramdisk: '' + deploy_driver: 'redfish' + image-type: 'partition' + boot-mode: 'bios' + branch-override: '{branch-override}' + bm-vm-count: 1 + + publishers: + - devstack-logs + - console-log + - job-template: name: '{pipeline}-tempest-dsvm-ironic-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa{src}-{node}{suffix}' node: '{node}' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 3fd8f23e25..4fb7eff60b 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -14384,6 +14384,11 @@ - python-jobs - pypi-jobs - hook-{name}-rtfd + - '{pipeline}-tempest-dsvm-ironic-ipa-partition-redfish-sushy-src-{node}{suffix}': + pipeline: gate + node: ubuntu-xenial + suffix: '-nv' + branch-override: default - project: name: sushy-tools diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 32ab9056bc..9922ab76a1 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -17894,6 +17894,7 @@ projects: - name: docs-on-rtfd check: - sushy-coverage-ubuntu-xenial-nv + - gate-tempest-dsvm-ironic-ipa-partition-redfish-sushy-src-ubuntu-xenial-nv - name: openstack/sushy-tools template: