tobiko/zuul.d/tobiko-devstack.yaml
Federico Ressi fe717a8c9b Re-assign voting flag to Fedora 28 job
Change-Id: I8f36a3584bbb908e25dd6fa96a16cfa10d623d20
2019-04-17 19:50:59 +00:00

196 lines
7.1 KiB
YAML

- job:
name: tobiko-devstack
parent: devstack
abstract: true
nodeset: openstack-single-node
description: |
Base Tobiko devstack job.
This job provides the base for both the single and multi-node
test setup. To run a multi-node test inherit from tobiko-devstack and
set the nodeset to a multi-node one.
required-projects:
- openstack-infra/devstack-gate
- openstack/heat
- openstack/neutron
- openstack/tobiko
timeout: 7200
vars:
devstack_localrc:
USE_PYTHON3: true
NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-domain-ports,dns-integration,dvr,empty-string-filtering,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,filter-validation,fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-bw-minimum-ingress,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-mac-address-regenerate,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-segment,standard-attr-timestamp,standard-attr-tag,subnet_allocation,trunk,trunk-details,uplink-status-propagation
TOBIKO_KEYSTONE_USERNAME: tobiko
TOBIKO_KEYSTONE_PASSWORD: secret_tobiko
TOBIKO_KEYSTONE_PROJECT_NAME: tobiko
devstack_plugins:
heat: https://git.openstack.org/openstack/heat.git
neutron: https://git.openstack.org/openstack/neutron.git
tobiko: https://git.openstack.org/openstack/tobiko.git
devstack_services:
heat: true
h-api: true
h-api-cfn: true
h-eng: true
n-cpu: false
# NOTE(slaweq): we need to enable it as "legacy" service because for Fedora job
# it has to be disabled. If it would be disabled as "neutron-dns: false" then it
# devstack would consider that neutron-legacy isn't used and would not load proper
# files
q-dns: true
neutron-qos: true
neutron-segments: true
neutron-trunk: true
neutron-uplink-status-propagation: true
tempest: false
tls-proxy: false
# NOTE(slaweq): Swift can't run with python3 currently
s-account: false
s-container: false
s-object: false
s-proxy: false
# NOTE(slaweq): without Swift, c-bak cannot run (in the Gate at least)
c-bak: false
devstack_local_conf:
post-config:
$NEUTRON_CONF:
QUOTAS:
quota_router: 100
quota_floatingip: 500
quota_security_group: 100
quota_security_group_rule: 1000
test-config:
$TEMPEST_CONFIG:
compute:
min_compute_nodes: "{{ groups['compute'] | default(['controller']) | length }}"
test_results_stage_name: test_results
zuul_copy_output:
'{{ devstack_base_dir }}/tobiko/etc/tobiko.conf': logs
'{{ devstack_base_dir }}/tobiko/etc/accounts.yaml': logs
'{{ devstack_base_dir }}/tobiko/tobiko.log': logs
'{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
'{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
'{{ stage_dir }}/stackviz': logs
extensions_to_txt:
conf: true
log: true
yaml: true
yml: true
group-vars:
subnode:
devstack_localrc:
USE_PYTHON3: true
devstack_plugins:
neutron: git://git.openstack.org/openstack/neutron.git
devstack_services:
tempest: false
heat: false
h-api: false
h-api-cfn: false
h-eng: false
n-api-meta: false
n-cpu: true
placement-client: true
neutron-agent: true
c-vol: true
peakmem_tracker: true
dstat: true
tls-proxy: false
run: playbooks/tobiko-devstack.yaml
post-run: playbooks/post-tobiko-devstack.yaml
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- job:
name: tobiko-devstack-multinode
parent: tobiko-devstack
abstract: true
description: |
Base Tobiko devstack job with multinode.
vars:
devstack_localrc:
ENABLE_FILE_INJECTION: true
MULTI_HOST: 1
topology: multinode
group-vars:
subnode:
devstack_localrc:
MULTI_HOST: 1
- job:
name: tobiko-devstack-neutron
parent: tobiko-devstack-multinode
abstract: true
description: |
Integration test that runs all tests against DevStack provided cloud
vars:
tox_envlist: neutron
- job:
name: tobiko-devstack-neutron-centos-7
parent: tobiko-devstack-neutron
nodeset: openstack-three-node-centos-7
voting: false
vars:
devstack_localrc:
USE_PYTHON3: false
group-vars:
subnode:
devstack_localrc:
USE_PYTHON3: false
- job:
name: tobiko-devstack-neutron-centos-7-queens
parent: tobiko-devstack-neutron-centos-7
override-checkout: stable/queens
voting: false
- job:
name: tobiko-devstack-neutron-centos-7-rocky
parent: tobiko-devstack-neutron-centos-7
override-checkout: stable/rocky
voting: false
- job:
name: tobiko-devstack-neutron-centos-7-stein
parent: tobiko-devstack-neutron-centos-7
override-checkout: stable/stein
voting: false
- job:
name: tobiko-devstack-neutron-fedora-28
parent: tobiko-devstack-neutron
nodeset: openstack-three-node-fedora-28
vars:
devstack_localrc:
# Add dns-domain-ports,dns-integration extensions again when bug
# https://bugzilla.redhat.com/show_bug.cgi?id=1695647
# will be fixed for Fedora
NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dvr,empty-string-filtering,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,filter-validation,fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-bw-minimum-ingress,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-mac-address-regenerate,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-segment,standard-attr-timestamp,standard-attr-tag,subnet_allocation,trunk,trunk-details,uplink-status-propagation
devstack_services:
q-dns: false
- job:
name: tobiko-devstack-neutron-ubuntu-bionic
parent: tobiko-devstack-neutron
nodeset: openstack-three-node-bionic
vars:
devstack_services:
tls-proxy: true
group-vars:
subnode:
devstack_services:
tls-proxy: true