From 5e9b543c7794ffe13c90ce24c0806ba4d3847af9 Mon Sep 17 00:00:00 2001 From: Kun Huang Date: Sun, 25 Oct 2015 12:47:32 +0800 Subject: [PATCH] [Scalpels] Removing tempest from dsvm job There are two fixes in Scalpels' job template: * remove tempest from its dsvm job * add support to pre_test_hook * mv the dsvm to experimental Change-Id: I955ab7f2904c0d27d88041eddad33c6a50457473 --- jenkins/jobs/scalpels.yaml | 11 ++++++++--- zuul/layout.yaml | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/jenkins/jobs/scalpels.yaml b/jenkins/jobs/scalpels.yaml index d08fd7a9c1..a415181039 100644 --- a/jenkins/jobs/scalpels.yaml +++ b/jenkins/jobs/scalpels.yaml @@ -14,7 +14,7 @@ - shell: | #!/bin/bash -xe # Start with the base set of services - ENABLED_SERVICES=mysql,rabbit,key,tempest,g-api,g-reg, + ENABLED_SERVICES=mysql,rabbit,key,g-api,g-reg, # Add Nova services (except for nova-network) ENABLED_SERVICES+=n-api,n-cond,n-cpu,n-crt,n-obj,n-sch # Enable Neutron @@ -22,9 +22,7 @@ export ENABLED_SERVICES export PYTHONUNBUFFERED=true export DEVSTACK_GATE_TIMEOUT=120 - export DEVSTACK_GATE_TEMPEST=1 export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_TEMPEST_FULL=1 export DEVSTACK_GATE_NEUTRON_DVR=1 export BRANCH_OVERRIDE={branch-override} export PROJECTS="openstack/scalpels $PROJECTS" @@ -32,6 +30,13 @@ if [ "$BRANCH_OVERRIDE" != "default" ] ; then export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE fi + + function pre_test_hook {{ + # setup DEVSTACK_GATE_* options here + $BASE/new/scalpels/tests/ci/pre-test-hook.sh + }} + export -f pre_test_hook + function post_test_hook {{ $BASE/new/scalpels/tests/ci/scalpels-ci.sh }} diff --git a/zuul/layout.yaml b/zuul/layout.yaml index f1d7a73265..d63f8aa3b3 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -8339,7 +8339,7 @@ projects: - name: python3-jobs - name: check-requirements - name: publish-to-pypi - check: + experimental: - gate-scalpels-dsvm-neutron - name: openstack/searchlight