[codespell] Adding CI target for Tox Codespell

Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I82239bd5ca1b184e36c63d08413362c76fa8d4b4
This commit is contained in:
Sharpz7 2024-02-05 05:21:43 +00:00
parent d9283af213
commit 047b510417
2 changed files with 14 additions and 5 deletions

View File

@ -35,7 +35,7 @@
devstack_localrc:
DEFAULT_INSTANCE_TYPE: baremetal
FORCE_CONFIG_DRIVE: True
INSTALL_TEMPEST: False # Don't install a tempest package globaly
INSTALL_TEMPEST: False # Don't install a tempest package globally
VIRT_DRIVER: ironic
BUILD_TIMEOUT: 1800
IRONIC_BAREMETAL_BASIC_OPS: True
@ -65,7 +65,7 @@
# NOTE(TheJulia): Disable neutron firewall as bug
# https://bugs.launchpad.net/neutron/+bug/1944201
# causes us an abnormally high job failure rate due to the ports
# not being found (as neutron crashed on initailization).
# not being found (as neutron crashed on initialization).
Q_USE_SECGROUP: False
# Default API workers is 2, however only 1 is needed,
# which cuts API memory utilziation in half reducing the risk of
@ -272,7 +272,7 @@
# Reset the callback to a normal-ish value.
IRONIC_CALLBACK_TIMEOUT: 600
IRONIC_BOOT_MODE: bios
# Make sure this feature works even with the minumum implementation
# Make sure this feature works even with the minimum implementation
IRONIC_REDFISH_EMULATOR_FEATURE_SET: minimum
devstack_services:
# Parent job uses swift, this one does not, thus we can turn it off.
@ -607,7 +607,7 @@
GENERIC_SWITCH_KEY_FILE: /opt/stack/.ssh/id_rsa
HOST_TOPOLOGY: multinode
HOST_TOPOLOGY_ROLE: primary
INSTALL_TEMPEST: False # Don't install a tempest package globaly
INSTALL_TEMPEST: False # Don't install a tempest package globally
IRONIC_AUTOMATED_CLEAN_ENABLED: False
HOST_TOPOLOGY_SUBNODES: "{{ hostvars['compute1']['nodepool']['public_ipv4'] }}"
IRONIC_BAREMETAL_BASIC_OPS: True
@ -1058,7 +1058,7 @@
HOST_TOPOLOGY: multinode
HOST_TOPOLOGY_ROLE: primary
BUILD_TIMEOUT: 1200
INSTALL_TEMPEST: False # Don't install a tempest package globaly
INSTALL_TEMPEST: False # Don't install a tempest package globally
HOST_TOPOLOGY_SUBNODES: "{{ hostvars['compute1']['nodepool']['public_ipv4'] }}"
IRONIC_BAREMETAL_BASIC_OPS: True
IRONIC_AUTOMATED_CLEAN_ENABLED: False
@ -1208,3 +1208,10 @@
grenade_localrc:
# NOTE(iurygregory): This is required for skip upgrades.
NOVA_ENABLE_UPGRADE_WORKAROUND: True
- job:
name: ironic-tox-codespell
parent: openstack-tox
timeout: 7200
vars:
tox_envlist: codespell

View File

@ -63,6 +63,8 @@
voting: false
- bifrost-benchmark-ironic:
voting: false
- ironic-tox-codespell:
voting: false
gate:
jobs:
- ironic-tox-bandit