
Implement mypy in the most non-breaking way possible. There's still some changes of behavior that crept in, merely due to incorrect edge case handling. Charm libraries are generally well typed, include py.typed marker for all of the libraries, to allow mypy analyzing their usage. Change-Id: I7bda1913fa08dd4954a606526272ac80b45197cc Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
207 lines
7.1 KiB
YAML
207 lines
7.1 KiB
YAML
- project-template:
|
|
name: openstack-python3-sunbeam-jobs
|
|
# NOTE(hemanth): This template is used in openstack sunbeam charms since
|
|
# stable/2023.1. The stable/2023.1 and stable/2023.2 charm branches
|
|
# support py310 unit tests and main support py310, py311 tests.
|
|
description: |
|
|
Runs unit tests for an OpenStack Sunbeam project under the CPython
|
|
version 3 releases designated for testing the latest release.
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- openstack-tox-pep8
|
|
- openstack-tox-py310:
|
|
branches:
|
|
- stable/2023.1
|
|
- stable/2023.2
|
|
- main
|
|
- openstack-tox-py311:
|
|
branches:
|
|
- main
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- openstack-tox-pep8
|
|
- openstack-tox-py310:
|
|
branches:
|
|
- stable/2023.1
|
|
- stable/2023.2
|
|
- main
|
|
- openstack-tox-py311:
|
|
branches:
|
|
- main
|
|
|
|
- project-template:
|
|
name: openstack-sunbeam-charm-build-jobs
|
|
description: |
|
|
Build the charms in OpenStack Sunbeam project.
|
|
check:
|
|
fail-fast: true
|
|
jobs:
|
|
- charm-build-keystone-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-glance-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-nova-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-placement-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-neutron-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-ovn-central-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-ovn-relay-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-cinder-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-cinder-ceph-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-horizon-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-heat-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-octavia-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-aodh-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-ceilometer-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-gnocchi-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-barbican-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-magnum-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-designate-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-designate-bind-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-keystone-ldap-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-openstack-exporter-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-openstack-hypervisor:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-openstack-images-sync-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-sunbeam-machine:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-sunbeam-clusterd:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-tempest-k8s:
|
|
nodeset: ubuntu-jammy
|
|
gate:
|
|
fail-fast: true
|
|
jobs:
|
|
- charm-build-keystone-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-glance-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-nova-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-placement-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-neutron-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-ovn-central-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-ovn-relay-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-cinder-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-cinder-ceph-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-horizon-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-heat-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-octavia-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-aodh-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-ceilometer-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-gnocchi-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-barbican-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-magnum-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-designate-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-designate-bind-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-keystone-ldap-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-openstack-exporter-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-openstack-hypervisor:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-openstack-images-sync-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-sunbeam-machine:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-sunbeam-clusterd:
|
|
nodeset: ubuntu-jammy
|
|
- charm-build-tempest-k8s:
|
|
nodeset: ubuntu-jammy
|
|
|
|
- project-template:
|
|
name: charm-publish-jobs
|
|
description: |
|
|
The set of publish jobs for the OpenStack Sunbeam Charms
|
|
promote:
|
|
jobs:
|
|
- publish-charm-keystone-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-glance-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-nova-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-placement-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-neutron-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-ovn-central-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-ovn-relay-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-cinder-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-cinder-ceph-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-horizon-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-heat-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-octavia-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-aodh-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-ceilometer-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-gnocchi-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-barbican-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-magnum-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-designate-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-designate-bind-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-keystone-ldap-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-openstack-exporter-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-openstack-hypervisor:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-openstack-images-sync-k8s:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-sunbeam-machine:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-sunbeam-clusterd:
|
|
nodeset: ubuntu-jammy
|
|
- publish-charm-tempest-k8s:
|
|
nodeset: ubuntu-jammy
|