Add a new gate for network policies
This commit adds a new gate for network policy tests. Change-Id: Ia479af4b4fd9b5387af08cb0fa843166784fbfb1 Depends-On: https://review.openstack.org/#/c/589521/
This commit is contained in:
parent
5b32ed07fc
commit
8e8c3fcca7
@ -120,6 +120,17 @@
|
||||
KURYR_ENABLED_HANDLERS: vif,lb,lbaasspec,namespace
|
||||
voting: false
|
||||
|
||||
- job:
|
||||
name: kuryr-kubernetes-tempest-daemon-containerized-octavia-network-policy
|
||||
description: |
|
||||
Tempest with Octavia, CNI daemon, containers and network policy driver
|
||||
parent: kuryr-kubernetes-tempest-daemon-containerized-octavia
|
||||
vars:
|
||||
tempest_test_regex: '^(kuryr_tempest_plugin.tests.scenario.test_network_policy.TestNetworkPolicyScenario)'
|
||||
devstack_localrc:
|
||||
KURYR_ENABLED_HANDLERS: vif,lb,lbaasspec,policy
|
||||
voting: false
|
||||
|
||||
- job:
|
||||
name: kuryr-kubernetes-tempest-daemon-containerized-openshift-octavia
|
||||
description: Tempest with Octavia, CNI daemon enabled, containers and OpenShift
|
||||
|
@ -40,6 +40,7 @@
|
||||
- kuryr-kubernetes-tempest-daemon-pools-octavia
|
||||
- kuryr-kubernetes-tempest-daemon-containerized-octavia-l2
|
||||
- kuryr-kubernetes-tempest-daemon-containerized-octavia-namespace
|
||||
- kuryr-kubernetes-tempest-daemon-containerized-octavia-network-policy
|
||||
- kuryr-kubernetes-tempest-daemon-containerized-openshift-octavia-serial
|
||||
- kuryr-kubernetes-tempest-daemon-ovn
|
||||
- kuryr-kubernetes-tempest-daemon-openshift-octavia-ingress
|
||||
|
@ -955,6 +955,9 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
||||
if is_service_enabled tempest && [[ "$KURYR_MULTI_VIF_DRIVER" == "npwg_multiple_interfaces" ]]; then
|
||||
iniset $TEMPEST_CONFIG kuryr_kubernetes npwg_multi_vif_enabled True
|
||||
fi
|
||||
if is_service_enabled tempest && [[ "$KURYR_ENABLED_HANDLERS" =~ .*policy.* ]]; then
|
||||
iniset $TEMPEST_CONFIG kuryr_kubernetes network_policy_enabled True
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$1" == "unstack" ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user