diff --git a/jenkins/jobs/devstack-gate.yaml b/jenkins/jobs/devstack-gate.yaml index cce024fda2..73de3bc107 100644 --- a/jenkins/jobs/devstack-gate.yaml +++ b/jenkins/jobs/devstack-gate.yaml @@ -716,6 +716,11 @@ export DEVSTACK_PROJECT_FROM_GIT="python-ironicclient" fi + export IRONIC_LIB_FROM_SOURCE={ironic-lib-from-source} + if [ "$IRONIC_LIB_FROM_SOURCE" == "1" ]; then + export DEVSTACK_PROJECT_FROM_GIT="ironic-lib" + fi + # The IPA ramdisk need at least 1GB of RAM to run export DEVSTACK_LOCAL_CONFIG="IRONIC_VM_SPECS_RAM=1024"$'\n'"IRONIC_VM_COUNT=1" @@ -783,6 +788,7 @@ deploy_driver: pxe_ssh deploy-with-ipa: 0 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 @@ -809,6 +815,7 @@ deploy_driver: pxe_ssh deploy-with-ipa: 1 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_FULL=1' devstack-timeout: 150 @@ -835,6 +842,7 @@ deploy_driver: pxe_ssh deploy-with-ipa: 0 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 @@ -899,6 +907,7 @@ deploy_driver: pxe_ssh deploy-with-ipa: 1 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 @@ -926,6 +935,7 @@ deploy_driver: pxe_ssh deploy-with-ipa: 1 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 @@ -953,6 +963,7 @@ deploy_driver: agent_ssh deploy-with-ipa: 0 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 @@ -979,6 +990,7 @@ deploy_driver: agent_ssh deploy-with-ipa: 1 client-from-source: 0 + ironic-lib-from-source: 0 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 @@ -1005,6 +1017,34 @@ deploy_driver: pxe_ssh deploy-with-ipa: 0 client-from-source: 1 + ironic-lib-from-source: 0 + branch-override: '{branch-override}' + tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' + devstack-timeout: 120 + publishers: + - devstack-logs + - console-log + +- job-template: + name: '{pipeline}-tempest-dsvm-ironic-lib-src{branch-designator}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 125 + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - devstack-virtual-ironic: + postgres: 0 + build-ramdisk: 1 + deploy_driver: pxe_ssh + deploy-with-ipa: 0 + client-from-source: 0 + ironic-lib-from-source: 1 branch-override: '{branch-override}' tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal' devstack-timeout: 120 diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index cc6b9bf465..e3ccb43363 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -572,6 +572,11 @@ jobs: - python-jobs - pypi-jobs + - '{pipeline}-tempest-dsvm-ironic-lib-src{branch-designator}': + pipeline: gate + node: 'devstack-precise || devstack-trusty' + branch-designator: '-nv' + branch-override: default - project: name: ironic-specs diff --git a/zuul/layout.yaml b/zuul/layout.yaml index b41020f715..5da3b66690 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -2276,10 +2276,10 @@ projects: - name: python3-jobs - name: check-requirements - name: publish-to-pypi - check: - gate-ironic-lib-pep8 - gate-ironic-lib-python27 + - gate-tempest-dsvm-ironic-lib-src-nv gate: - gate-ironic-lib-pep8 - gate-ironic-lib-python27