Add job for networking-ofagent
This change adds check job for networking-ofagent project and avoids to run python3 job for stable/icehouse. Change-Id: Idcd91e445cfaeffd42e440602031f906c6f2dbcc
This commit is contained in:
parent
db3f896fbe
commit
b2db3afff9
63
jenkins/jobs/networking-ofagent.yaml
Normal file
63
jenkins/jobs/networking-ofagent.yaml
Normal file
@ -0,0 +1,63 @@
|
||||
- job-template:
|
||||
name: '{pipeline}-tempest-dsvm-networking-ofagent{job-suffix}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 125
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PROJECTS="openstack/networking-ofagent $PROJECTS"
|
||||
export KEEP_LOCALRC=1
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_TIMEOUT=120
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export DEVSTACK_GATE_TEMPEST=1
|
||||
|
||||
# localrc
|
||||
DEVSTACK_LOCAL_CONFIG="Q_PLUGIN=ml2"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_AGENT=ofagent"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ML2_PLUGIN_FLAT_TYPE_OPTIONS='flat_networks=\*'"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ML2_PLUGIN_MECHANISM_DRIVERS=ofagent,l2population"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_USE_PROVIDERNET_FOR_PUBLIC=True"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_USE_PUBLIC_VETH=True"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"PUBLIC_BRIDGE=br-int"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"PUBLIC_PHYSICAL_NETWORK=public"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"OFAGENT_PHYSICAL_INTERFACE_MAPPINGS=public:veth-pub-int"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_TENANT_TUNNELS=True"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"TENANT_TUNNEL_RANGES=1:1000"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-ofagent git://git.openstack.org/openstack/networking-ofagent"
|
||||
export DEVSTACK_LOCAL_CONFIG
|
||||
|
||||
# tempest tests
|
||||
export DEVSTACK_GATE_TEMPEST_REGEX='(?!.*\[.*\bslow\b.*\])((network)|(neutron))'
|
||||
|
||||
# pre_test_hook
|
||||
function pre_test_hook {{
|
||||
local pre_test_hook_sh=$BASE/new/networking-ofagent/devstack_gate/pre_test_hook.sh
|
||||
if [[ -e "$pre_test_hook_sh" ]]; then
|
||||
bash -x $pre_test_hook_sh
|
||||
fi
|
||||
}}
|
||||
export -f pre_test_hook
|
||||
|
||||
# gate_hook
|
||||
function gate_hook {{
|
||||
$BASE/new/devstack-gate/devstack-vm-gate.sh
|
||||
local retval=$?
|
||||
local post_test_sh=$BASE/new/networking-ofagent/devstack_gate/post_test.sh
|
||||
if [[ -e "$post_test_sh" ]]; then
|
||||
bash -x $post_test_sh
|
||||
fi
|
||||
return $retval
|
||||
}}
|
||||
export -f gate_hook
|
||||
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
./safe-devstack-vm-gate-wrap.sh
|
@ -2939,6 +2939,11 @@
|
||||
- python-jobs
|
||||
- openstack-publish-jobs
|
||||
- pypi-jobs
|
||||
- '{pipeline}-tempest-dsvm-networking-ofagent{job-suffix}':
|
||||
pipeline: gate
|
||||
node: 'devstack-precise || devstack-trusty'
|
||||
job-suffix: ''
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: networking-onos
|
||||
|
@ -1854,7 +1854,11 @@ jobs:
|
||||
voting: false
|
||||
|
||||
- name: gate-networking-ofagent-python34
|
||||
branch: ^(?!stable/kilo).*$
|
||||
branch: ^(?!stable/(icehouse|juno|kilo)).*$
|
||||
voting: false
|
||||
|
||||
- name: gate-tempest-dsvm-networking-ofagent
|
||||
branch: ^(?!stable/(icehouse|juno)).*$
|
||||
voting: false
|
||||
|
||||
- name: gate-sdk-dsvm-functional
|
||||
@ -6300,6 +6304,7 @@ projects:
|
||||
- gate-networking-ofagent-pep8
|
||||
- gate-networking-ofagent-docs
|
||||
- gate-networking-ofagent-python27
|
||||
- gate-tempest-dsvm-networking-ofagent
|
||||
gate:
|
||||
- gate-networking-ofagent-docs
|
||||
- gate-networking-ofagent-pep8
|
||||
|
Loading…
x
Reference in New Issue
Block a user