skyline-console/.zuul.yaml
zhangjingwei ffd7b1a481 feat: update e2e zuul tasks
There is no need to run E2E tasks when updating packaged files

Change-Id: Idfe7c72859343aeafbd36521ad6555f3bb52632a
2022-10-08 09:57:15 +08:00

797 lines
25 KiB
YAML

---
- job:
name: skyline-console-devstack-e2etests-compute
parent: devstack-multinode
description: |
Skyline-console e2e tests compute job based on devstack (multi-node).
pre-run: playbooks/devstack/pre.yaml
run:
- playbooks/devstack/compute/run-devstack.yaml
- playbooks/devstack/compute/run-e2etests.yaml
post-run:
- playbooks/devstack/post.yaml
required-projects:
- openstack/cinder
- openstack/devstack
- openstack/glance
- openstack/ironic
- openstack/ironic-python-agent
- openstack/ironic-python-agent-builder
- openstack/keystone
- openstack/neutron
- openstack/nova
- openstack/placement
- openstack/requirements
- openstack/virtualbmc
- openstack/skyline-apiserver
- openstack/skyline-console
timeout: 10800
vars:
devstack_services:
# Keystone services
key: true
# Nova services
n-api: true
n-api-meta: true
n-cond: true
n-cpu: true
n-novnc: true
n-sch: true
# Placement service
placement-api: true
placement-client: true
# Glance services
g-api: true
# Cinder services
c-api: true
c-bak: false
c-sch: true
c-vol: true
# OVN services
ovn-controller: false
ovn-northd: false
ovs-vswitchd: false
ovsdb-server: false
# Neutron services
q-svc: true
q-agt: true
q-dhcp: true
q-l3: true
q-meta: true
q-metering: false
q-qos: false
q-ovn-metadata-agent: false
# Horizon service
horizon: false
# Shared services
etcd3: true
memory_tracker: true
mysql: true
rabbit: true
# TODO: re-enable dstat once https://storyboard.openstack.org/#!/story/2008185
# is resolved
dstat: false
tls-proxy: false
# Tempest service
tempest: false
# Ironic services
ironic: true
ir-api: true
ir-cond: true
devstack_localrc:
# Credentials
DATABASE_PASSWORD: secretdatabase
RABBIT_PASSWORD: secretrabbit
ADMIN_PASSWORD: secretadmin
SERVICE_PASSWORD: secretservice
SERVICE_TOKEN: secrettoken
# Log all output to files
VERBOSE: true
LOG_COLOR: false
LOGFILE: /opt/stack/logs/devstacklog.txt
LOGDIR: /opt/stack/logs
IRONIC_VM_LOG_DIR: /opt/stack/ironic-bm-logs
# Set glance's default limit to be baremetal image friendly
GLANCE_LIMIT_IMAGE_SIZE_TOTAL: 5000
# Create 1 virtual machines to pose as Ironic's baremetal nodes.
IRONIC_VM_COUNT: 1
IRONIC_BAREMETAL_BASIC_OPS: True
DEFAULT_INSTANCE_TYPE: baremetal
IRONIC_RPC_TRANSPORT: json-rpc
IRONIC_RAMDISK_TYPE: tinyipa
IRONIC_DEPLOY_DRIVER: ipmi
# The parameters below represent the minimum possible values to create
# functional nodes.
IRONIC_VM_SPECS_RAM: 1024
IRONIC_VM_SPECS_DISK: 3
# Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
IRONIC_VM_EPHEMERAL_DISK: 0
# To build your own IPA ramdisk from source, set this to True
IRONIC_BUILD_DEPLOY_RAMDISK: False
INSTALL_TEMPEST: False
VIRT_DRIVER: ironic
# By default, DevStack creates a 10.0.0.0/24 network for instances.
# If this overlaps with the hosts network, you may adjust with the
# following.
IP_VERSION: 4
FIXED_RANGE: 10.1.0.0/20
IPV4_ADDRS_SAFE_TO_USE: 10.1.0.0/20
NETWORK_GATEWAY: 10.1.0.1
Q_AGENT: openvswitch
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
zuul_copy_output:
/var/log/skyline: logs
/etc/skyline: logs
/etc/nginx: logs
/opt/stack/skyline-console/test/e2e/report: logs
/opt/stack/skyline-console/test/e2e/screenshots: logs
/opt/stack/skyline-console/test/e2e/config: logs
/opt/stack/skyline-console/test/e2e/videos: logs
group-vars:
subnode:
devstack_services:
# Keystone services
key: false
# Nova services
n-api: false
n-api-meta: false
n-cond: false
n-cpu: true
n-novnc: false
n-sch: false
# Placement service
placement-api: false
placement-client: true
# Cinder services
c-api: false
c-bak: false
c-sch: false
c-vol: true
# OVN services
ovn-controller: false
ovn-northd: false
ovs-vswitchd: false
ovsdb-server: false
# Neutron services
q-svc: false
q-agt: true
q-dhcp: false
q-l3: false
q-meta: false
q-metering: false
q-qos: false
q-ovn-metadata-agent: false
# Horizon service
horizon: false
# Shared services
etcd3: false
memory_tracker: true
mysql: false
rabbit: false
# TODO: re-enable dstat once https://storyboard.openstack.org/#!/story/2008185
# is resolved
dstat: false
tls-proxy: false
# Tempest service
tempest: false
devstack_localrc:
# Subnode specific settings
GLANCE_HOSTPORT: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}:9292"
Q_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
NOVA_VNC_ENABLED: true
ENABLE_CHASSIS_AS_GW: false
VIRT_DRIVER: libvirt
Q_AGENT: openvswitch
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
- job:
name: skyline-console-devstack-e2etests-network
parent: devstack
description: |
Skyline-console e2e tests network job based on devstack (single-node).
pre-run: playbooks/devstack/pre.yaml
run:
- playbooks/devstack/network/run-devstack.yaml
- playbooks/devstack/network/run-e2etests.yaml
post-run:
- playbooks/devstack/post.yaml
required-projects:
- openstack/cinder
- openstack/devstack
- openstack/glance
- openstack/keystone
- openstack/neutron
- openstack/neutron-vpnaas
- openstack/nova
- openstack/octavia
- openstack/octavia-lib
- openstack/placement
- openstack/python-octaviaclient
- openstack/requirements
- openstack/skyline-apiserver
- openstack/skyline-console
- opendev.org/openstack/diskimage-builder
timeout: 10800
vars:
devstack_services:
# Keystone services
key: true
# Nova services
n-api: true
n-api-meta: true
n-cond: true
n-cpu: true
n-novnc: true
n-sch: true
# Placement service
placement-api: true
placement-client: true
# Glance services
g-api: true
# Cinder services
c-api: true
c-bak: false
c-sch: true
c-vol: true
# OVN services
ovn-controller: false
ovn-northd: false
ovs-vswitchd: false
ovsdb-server: false
# Neutron services
q-svc: true
q-agt: true
q-dhcp: true
q-l3: true
q-meta: true
q-metering: false
q-qos: true
q-ovn-metadata-agent: false
# Horizon service
horizon: false
# Shared services
etcd3: true
memory_tracker: true
mysql: true
rabbit: true
# TODO: re-enable dstat once https://storyboard.openstack.org/#!/story/2008185
# is resolved
dstat: false
tls-proxy: false
# Tempest service
tempest: false
# Octavia services
octavia: true
o-api: true
o-cw: true
o-hm: true
o-hk: true
o-da: true
devstack_localrc:
# Credentials
DATABASE_PASSWORD: secretdatabase
RABBIT_PASSWORD: secretrabbit
ADMIN_PASSWORD: secretadmin
SERVICE_PASSWORD: secretservice
SERVICE_TOKEN: secrettoken
# Log all output to files
VERBOSE: true
LOG_COLOR: false
LOGFILE: /opt/stack/logs/devstacklog.txt
LOGDIR: /opt/stack/logs
VIRT_DRIVER: libvirt
Q_AGENT: openvswitch
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
zuul_copy_output:
/var/log/skyline: logs
/etc/skyline: logs
/etc/nginx: logs
/opt/stack/skyline-console/test/e2e/report: logs
/opt/stack/skyline-console/test/e2e/screenshots: logs
/opt/stack/skyline-console/test/e2e/config: logs
/opt/stack/skyline-console/test/e2e/videos: logs
# octavia
/var/log/dib-build/: logs
/var/log/octavia-tenant-traffic.log: logs
/var/log/octavia-amphora.log: logs
- job:
name: skyline-console-devstack-e2etests-other
parent: devstack
description: |
Skyline-console e2e tests other job based on devstack (single-node).
pre-run: playbooks/devstack/pre.yaml
run:
- playbooks/devstack/other/run-devstack.yaml
- playbooks/devstack/other/run-e2etests.yaml
post-run:
- playbooks/devstack/post.yaml
required-projects:
- openstack/cinder
- openstack/devstack
- openstack/glance
- openstack/heat
- openstack/zun
- openstack/keystone
- openstack/neutron
- openstack/nova
- openstack/placement
- openstack/requirements
- openstack/skyline-apiserver
- openstack/skyline-console
timeout: 10800
vars:
devstack_services:
# Keystone services
key: true
# Nova services
n-api: true
n-api-meta: true
n-cond: true
n-cpu: true
n-novnc: true
n-sch: true
# Placement service
placement-api: true
placement-client: true
# Glance services
g-api: true
# Cinder services
c-api: true
c-bak: false
c-sch: true
c-vol: true
# OVN services
ovn-controller: false
ovn-northd: false
ovs-vswitchd: false
ovsdb-server: false
# Neutron services
q-svc: true
q-agt: true
q-dhcp: true
q-l3: true
q-meta: true
q-metering: false
q-qos: false
q-ovn-metadata-agent: false
# Horizon service
horizon: false
# Shared services
etcd3: true
memory_tracker: true
mysql: true
rabbit: true
# TODO: re-enable dstat once https://storyboard.openstack.org/#!/story/2008185
# is resolved
dstat: false
tls-proxy: false
# Tempest service
tempest: false
devstack_localrc:
# Credentials
DATABASE_PASSWORD: secretdatabase
RABBIT_PASSWORD: secretrabbit
ADMIN_PASSWORD: secretadmin
SERVICE_PASSWORD: secretservice
SERVICE_TOKEN: secrettoken
# Log all output to files
VERBOSE: true
LOG_COLOR: false
LOGFILE: /opt/stack/logs/devstacklog.txt
LOGDIR: /opt/stack/logs
INSTALL_TEMPEST: False
VIRT_DRIVER: libvirt
Q_AGENT: openvswitch
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
zuul_copy_output:
/var/log/skyline: logs
/etc/skyline: logs
/etc/nginx: logs
/opt/stack/skyline-console/test/e2e/report: logs
/opt/stack/skyline-console/test/e2e/screenshots: logs
/opt/stack/skyline-console/test/e2e/config: logs
/opt/stack/skyline-console/test/e2e/videos: logs
- job:
name: skyline-console-devstack-e2etests-storage
parent: devstack
description: |
Skyline-console e2e tests storage job based on devstack (single-node).
pre-run: playbooks/devstack/pre.yaml
run:
- playbooks/devstack/storage/run-devstack.yaml
- playbooks/devstack/storage/run-e2etests.yaml
post-run:
- playbooks/devstack/post.yaml
required-projects:
- openstack/cinder
- openstack/devstack
- openstack/glance
- openstack/keystone
- openstack/neutron
- openstack/nova
- openstack/placement
- openstack/requirements
- openstack/swift
- openstack/skyline-apiserver
- openstack/skyline-console
timeout: 10800
vars:
devstack_services:
# Keystone services
key: true
# Nova services
n-api: true
n-api-meta: true
n-cond: true
n-cpu: true
n-novnc: true
n-sch: true
# Placement service
placement-api: true
placement-client: true
# Glance services
g-api: true
# Cinder services
c-api: true
c-bak: true
c-sch: true
c-vol: true
# OVN services
ovn-controller: false
ovn-northd: false
ovs-vswitchd: false
ovsdb-server: false
# Neutron services
q-svc: true
q-agt: true
q-dhcp: true
q-l3: true
q-meta: true
q-metering: false
q-qos: false
q-ovn-metadata-agent: false
# Horizon service
horizon: false
# Shared services
etcd3: true
memory_tracker: true
mysql: true
rabbit: true
# TODO: re-enable dstat once https://storyboard.openstack.org/#!/story/2008185
# is resolved
dstat: false
tls-proxy: false
# Tempest service
tempest: false
# Swift services
swift: true
s-account: true
s-container: true
s-object: true
s-proxy: true
s3api: true
devstack_localrc:
# Credentials
DATABASE_PASSWORD: secretdatabase
RABBIT_PASSWORD: secretrabbit
ADMIN_PASSWORD: secretadmin
SERVICE_PASSWORD: secretservice
SERVICE_TOKEN: secrettoken
# Log all output to files
VERBOSE: true
LOG_COLOR: false
LOGFILE: /opt/stack/logs/devstacklog.txt
LOGDIR: /opt/stack/logs
VIRT_DRIVER: libvirt
Q_AGENT: openvswitch
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
zuul_copy_output:
/var/log/skyline: logs
/etc/skyline: logs
/etc/nginx: logs
/opt/stack/skyline-console/test/e2e/report: logs
/opt/stack/skyline-console/test/e2e/screenshots: logs
/opt/stack/skyline-console/test/e2e/config: logs
/opt/stack/skyline-console/test/e2e/videos: logs
- job:
name: skyline-nodejs14-run-lint-src
parent: nodejs-run-lint
description: |
Run lint using Node 14 for skyline-console src directory.
vars:
node_version: 14
js_build_command: lint
- job:
name: skyline-nodejs14-run-lint-test
parent: nodejs-run-lint
description: |
Run lint using Node 14 for skyline-console test directory.
vars:
node_version: 14
js_build_command: lint:test
- job:
name: skyline-nodejs14-run-unit-test
parent: nodejs-run-test
description: |
Run unit test using Node 14 for skyline-console.
vars:
node_version: 14
js_build_command: test:unit
- job:
name: publish-skyline-console-python-branch-tarball
parent: publish-openstack-artifacts
description: |
Publish the results tar.gz and whl packages to tarballs.openstack.org.
pre-run: playbooks/python-tarball/pre.yaml
run: playbooks/python-tarball/run.yaml
post-run: playbooks/python-tarball/post.yaml
vars:
release_python: python3
- project:
templates:
- release-notes-jobs-python3
- publish-openstack-docs-pti
check:
jobs:
- skyline-nodejs14-run-lint-src
- skyline-nodejs14-run-lint-test
- skyline-nodejs14-run-unit-test
- skyline-console-devstack-e2etests-compute:
irrelevant-files: &e2etests-compute-irrelevant-files
# network
- ^src/pages/network/.*$
- ^src/stores/neutron/.*$
- ^src/stores/octavia/.*$
- ^src/resources/neutron/.*$
- ^src/resources/octavia/.*$
- ^test/e2e/integration/pages/network/.*$
# storage
- ^src/pages/storage/.*$
- ^src/stores/cinder/.*$
- ^src/resources/cinder/.*$
- ^test/e2e/integration/pages/storage/.*$
# other
- ^src/pages/auth/.*$
- ^src/pages/base/.*$
- ^src/pages/basic/.*$
- ^src/pages/configuration/.*$
- ^src/pages/heat/.*$
- ^src/pages/identity/.*$
- ^src/pages/management/.*$
- ^src/pages/user-center/.*$
- ^src/pages/share/.*$
- ^src/pages/container-infra/.*$
- ^src/pages/container-service/.*$
- ^src/pages/database/.*$
- ^src/stores/heat/.*$
- ^src/stores/zun/.*$
- ^src/stores/keystone/.*$
- ^src/stores/manila/.*$
- ^src/stores/magnum/.*$
- ^src/stores/trove/.*$
- ^src/resources/heat/.*$
- ^src/resources/zun/.*$
- ^src/resources/keystone/.*$
- ^src/resources/manila/.*$
- ^src/resources/magnum/.*$
- ^src/resources/trove/.*$
- ^test/e2e/integration/pages/configuration/.*$
- ^test/e2e/integration/pages/heat/.*$
- ^test/e2e/integration/pages/zun/.*$
- ^test/e2e/integration/pages/identity/.*$
- ^test/e2e/integration/pages/manila/.*$
- ^test/e2e/integration/pages/error.spec.js
- ^test/e2e/integration/pages/login.spec.js
# no run
- ^src/styles/.*$
- ^src/locales/.*$
- ^src/asset/.*$
- ^src/layouts/.*$
# .zuul.yaml
- ^.zuul.yaml$
# markdown
- ^.*\.md$
# rst
- ^.*\.rst$
# releasenotes
- ^releasenotes/.*$
# dist
- ^skyline_console/.*$
- skyline-console-devstack-e2etests-network:
irrelevant-files: &e2etests-network-irrelevant-files
# compute
- ^src/pages/compute/.*$
- ^src/stores/glance/.*$
- ^src/stores/ironic/.*$
- ^src/stores/nova/.*$
- ^src/stores/skyline/.*$
- ^src/resources/glance/.*$
- ^src/resources/ironic/.*$
- ^src/resources/nova/.*$
- ^test/e2e/integration/pages/compute/.*$
# storage
- ^src/pages/storage/.*$
- ^src/stores/cinder/.*$
- ^src/resources/cinder/.*$
- ^test/e2e/integration/pages/storage/.*$
# other
- ^src/pages/auth/.*$
- ^src/pages/base/.*$
- ^src/pages/basic/.*$
- ^src/pages/configuration/.*$
- ^src/pages/heat/.*$
- ^src/pages/identity/.*$
- ^src/pages/management/.*$
- ^src/pages/user-center/.*$
- ^src/pages/share/.*$
- ^src/pages/container-infra/.*$
- ^src/pages/container-service/.*$
- ^src/pages/database/.*$
- ^src/stores/heat/.*$
- ^src/stores/zun/.*$
- ^src/stores/manila/.*$
- ^src/stores/keystone/.*$
- ^src/stores/magnum/.*$
- ^src/stores/trove/.*$
- ^src/resources/heat/.*$
- ^src/resources/zun/.*$
- ^src/resources/keystone/.*$
- ^src/resources/manila/.*$
- ^src/resources/magnum/.*$
- ^src/resources/trove/.*$
- ^test/e2e/integration/pages/configuration/.*$
- ^test/e2e/integration/pages/heat/.*$
- ^test/e2e/integration/pages/zun/.*$
- ^test/e2e/integration/pages/identity/.*$
- ^test/e2e/integration/pages/manila/.*$
- ^test/e2e/integration/pages/error.spec.js
- ^test/e2e/integration/pages/login.spec.js
# no run
- ^src/styles/.*$
- ^src/locales/.*$
- ^src/asset/.*$
- ^src/layouts/.*$
# .zuul.yaml
- ^.zuul.yaml$
# markdown
- ^.*\.md$
# rst
- ^.*\.rst$
# releasenotes
- ^releasenotes/.*$
# dist
- ^skyline_console/.*$
- skyline-console-devstack-e2etests-other:
irrelevant-files: &e2etests-other-irrelevant-files
# compute
- ^src/pages/compute/.*$
- ^src/stores/glance/.*$
- ^src/stores/ironic/.*$
- ^src/stores/nova/.*$
- ^src/stores/skyline/.*$
- ^src/resources/glance/.*$
- ^src/resources/ironic/.*$
- ^src/resources/nova/.*$
- ^test/e2e/integration/pages/compute/.*$
# network
- ^src/pages/network/.*$
- ^src/stores/neutron/.*$
- ^src/stores/octavia/.*$
- ^src/resources/neutron/.*$
- ^src/resources/octavia/.*$
- ^test/e2e/integration/pages/network/.*$
# storage
- ^src/pages/storage/.*$
- ^src/stores/cinder/.*$
- ^src/resources/cinder/.*$
- ^test/e2e/integration/pages/storage/.*$
# no run
- ^src/styles/.*$
- ^src/locales/.*$
- ^src/asset/.*$
- ^src/layouts/.*$
# .zuul.yaml
- ^.zuul.yaml$
# markdown
- ^.*\.md$
# rst
- ^.*\.rst$
# releasenotes
- ^releasenotes/.*$
# dist
- ^skyline_console/.*$
- skyline-console-devstack-e2etests-storage:
irrelevant-files: &e2etests-storage-irrelevant-files
# compute
- ^src/pages/compute/.*$
- ^src/stores/glance/.*$
- ^src/stores/ironic/.*$
- ^src/stores/nova/.*$
- ^src/stores/skyline/.*$
- ^src/resources/glance/.*$
- ^src/resources/ironic/.*$
- ^src/resources/nova/.*$
- ^test/e2e/integration/pages/compute/.*$
# network
- ^src/pages/network/.*$
- ^src/stores/neutron/.*$
- ^src/stores/octavia/.*$
- ^src/resources/neutron/.*$
- ^src/resources/octavia/.*$
- ^test/e2e/integration/pages/network/.*$
# other
- ^src/pages/auth/.*$
- ^src/pages/base/.*$
- ^src/pages/basic/.*$
- ^src/pages/configuration/.*$
- ^src/pages/heat/.*$
- ^src/pages/identity/.*$
- ^src/pages/management/.*$
- ^src/pages/user-center/.*$
- ^src/pages/share/.*$
- ^src/pages/container-infra/.*$
- ^src/pages/container-service/.*$
- ^src/pages/database/.*$
- ^src/stores/heat/.*$
- ^src/stores/zun/.*$
- ^src/stores/keystone/.*$
- ^src/stores/manila/.*$
- ^src/stores/magnum/.*$
- ^src/stores/trove/.*$
- ^src/resources/heat/.*$
- ^src/resources/zun/.*$
- ^src/resources/keystone/.*$
- ^src/resources/manila/.*$
- ^src/resources/magnum/.*$
- ^src/resources/trove/.*$
- ^test/e2e/integration/pages/configuration/.*$
- ^test/e2e/integration/pages/heat/.*$
- ^test/e2e/integration/pages/zun/.*$
- ^test/e2e/integration/pages/identity/.*$
- ^test/e2e/integration/pages/manila/.*$
- ^test/e2e/integration/pages/error.spec.js
- ^test/e2e/integration/pages/login.spec.js
# no run
- ^src/styles/.*$
- ^src/locales/.*$
- ^src/asset/.*$
- ^src/layouts/.*$
# .zuul.yaml
- ^.zuul.yaml$
# markdown
- ^.*\.md$
# rst
- ^.*\.rst$
# releasenotes
- ^releasenotes/.*$
# dist
- ^skyline_console/.*$
gate:
jobs:
- skyline-nodejs14-run-lint-src
- skyline-nodejs14-run-lint-test
- skyline-nodejs14-run-unit-test
- skyline-console-devstack-e2etests-compute:
irrelevant-files: *e2etests-compute-irrelevant-files
- skyline-console-devstack-e2etests-network:
irrelevant-files: *e2etests-network-irrelevant-files
- skyline-console-devstack-e2etests-other:
irrelevant-files: *e2etests-other-irrelevant-files
- skyline-console-devstack-e2etests-storage:
irrelevant-files: *e2etests-storage-irrelevant-files
post:
jobs:
- publish-skyline-console-python-branch-tarball