afb521d18e
The IPA images we presently build/use for centos are now smaller than their peak size a few months ago. As such, we should be able to reduce that memory footprint and still execcute all of the necessary tests without any issues. Also increases the amount of swap to 8GB as the infra default is now 1GB. Change-Id: I5705f1f2504803a049ed88a0d8b1d6d0bbccf9e4
199 lines
5.6 KiB
YAML
199 lines
5.6 KiB
YAML
- job:
|
|
name: ironic-ipa-base
|
|
parent: ironic-base
|
|
irrelevant-files:
|
|
- ^examples/.*$
|
|
- ^test-requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^ironic_python_agent/tests/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
required-projects:
|
|
- openstack/ironic-lib
|
|
vars:
|
|
# The default is 1GB, we need a little more to prevent OOMs killing the jobs
|
|
configure_swap_size: 8192
|
|
devstack_localrc:
|
|
IRONIC_BUILD_DEPLOY_RAMDISK: True
|
|
IRONIC_VM_COUNT: 2
|
|
IRONIC_VM_SPECS_RAM: 2500
|
|
|
|
- job:
|
|
name: ipa-tempest-wholedisk-bios-ipmi-direct-dib-src
|
|
parent: ironic-ipa-base
|
|
vars:
|
|
devstack_services:
|
|
s-account: True
|
|
s-container: True
|
|
s-object: True
|
|
s-proxy: True
|
|
devstack_localrc:
|
|
IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
|
|
IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
|
|
IRONIC_VM_EPHEMERAL_DISK: 0
|
|
SWIFT_ENABLE_TEMPURLS: True
|
|
SWIFT_TEMPURL_KEY: secretkey
|
|
|
|
- job:
|
|
name: ipa-tempest-bios-ipmi-direct-src
|
|
parent: ironic-ipa-base
|
|
vars:
|
|
devstack_services:
|
|
s-account: True
|
|
s-container: True
|
|
s-object: True
|
|
s-proxy: True
|
|
devstack_localrc:
|
|
IRONIC_DEFAULT_BOOT_OPTION: netboot
|
|
IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
|
|
SWIFT_ENABLE_TEMPURLS: True
|
|
SWIFT_TEMPURL_KEY: secretkey
|
|
|
|
- job:
|
|
name: ipa-tempest-bios-ipmi-iscsi-src
|
|
parent: ironic-ipa-base
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_DEFAULT_BOOT_OPTION: netboot
|
|
|
|
# note(rpittau) alias to not brake other repos (dib and ipa-builder)
|
|
- job:
|
|
name: ipa-tempest-partition-bios-ipmi-iscsi-dib-src
|
|
parent: ipa-tempest-bios-ipmi-iscsi-src
|
|
|
|
- job:
|
|
name: ipa-tempest-wholedisk-bios-ipmi-iscsi-src
|
|
parent: ironic-ipa-base
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_VM_EPHEMERAL_DISK: 0
|
|
IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
|
|
|
|
- job:
|
|
name: ipa-tempest-ironic-inspector-src
|
|
parent: ironic-ipa-base
|
|
required-projects:
|
|
# These are in addition to what is in ironic-ipa-base
|
|
- openstack/ironic-inspector
|
|
- openstack/python-ironic-inspector-client
|
|
vars:
|
|
devstack_localrc:
|
|
DEVSTACK_GATE_TEMPEST_REGEX: InspectorBasicTest
|
|
DEVSTACK_GATE_IRONIC_INSPECTOR: 1
|
|
IRONIC_VM_EPHEMERAL_DISK: 0
|
|
IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
|
|
IRONIC_INSPECTOR_BUILD_RAMDISK: True
|
|
SWIFT_ENABLE_TEMPURLS: True
|
|
SWIFT_TEMPURL_KEY: secretkey
|
|
devstack_plugins:
|
|
ironic-inspector: https://opendev.org/openstack/ironic-inspector
|
|
|
|
|
|
- job:
|
|
# Security testing for known issues
|
|
name: ipa-tox-bandit
|
|
parent: openstack-tox
|
|
timeout: 2400
|
|
vars:
|
|
tox_envlist: bandit
|
|
irrelevant-files:
|
|
- ^examples/.*$
|
|
- ^test-requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^ironic_python_agent/tests/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tools/(?!bandit.yml).*$
|
|
- ^tox.ini$
|
|
|
|
- job:
|
|
name: ipa-tox-examples
|
|
parent: openstack-tox
|
|
timeout: 600
|
|
vars:
|
|
tox_envlist: examples
|
|
irrelevant-files:
|
|
- ^test-requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^ironic_python_agent/tests/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tools/(?!bandit.yml).*$
|
|
- ^tox.ini$
|
|
|
|
- job:
|
|
name: ironic-standalone-ipa-src
|
|
parent: ironic-standalone
|
|
nodeset: openstack-single-node-focal
|
|
description: Test ironic standalone with IPA from source
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_DEFAULT_BOOT_OPTION: netboot
|
|
IRONIC_BUILD_DEPLOY_RAMDISK: True
|
|
# NOTE(dtantsur): the ansible deploy doesn't depend on IPA code,
|
|
# excluding it from the enabled list to save gate time.
|
|
IRONIC_ENABLED_DEPLOY_INTERFACES: "iscsi,direct"
|
|
|
|
- job:
|
|
name: metalsmith-integration-ipa-src
|
|
parent: metalsmith-integration-glance-localboot-centos7
|
|
required-projects:
|
|
- openstack/ironic-python-agent
|
|
- openstack/ironic-python-agent-builder
|
|
- openstack/ironic-lib
|
|
vars:
|
|
devstack_localrc:
|
|
# Don't waste time on cleaning, it's checked everywhere else
|
|
IRONIC_AUTOMATED_CLEAN_ENABLED: False
|
|
IRONIC_BUILD_DEPLOY_RAMDISK: True
|
|
|
|
# NOTE(rpittau) leaving tinypa jobs definitions to not break other projects
|
|
# remove them after changing the references in the other projects like
|
|
# ironic-python-agent-builder and disk-image-builder
|
|
- job:
|
|
name: ipa-tempest-wholedisk-bios-ipmi-direct-tinyipa-src
|
|
parent: ipa-tempest-wholedisk-bios-ipmi-direct-dib-src
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_RAMDISK_TYPE: tinyipa
|
|
IRONIC_VM_SPECS_RAM: 512
|
|
|
|
- job:
|
|
name: ipa-tempest-partition-bios-ipmi-direct-tinyipa-src
|
|
parent: ipa-tempest-bios-ipmi-direct-tinyipa-src
|
|
|
|
- job:
|
|
name: ipa-tempest-partition-bios-ipmi-iscsi-tinyipa-src
|
|
parent: ipa-tempest-bios-ipmi-iscsi-tinyipa-src
|
|
|
|
- job:
|
|
name: ipa-tempest-wholedisk-bios-ipmi-iscsi-tinyipa-src
|
|
parent: ipa-tempest-wholedisk-bios-ipmi-iscsi-src
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_RAMDISK_TYPE: tinyipa
|
|
IRONIC_VM_SPECS_RAM: 512
|
|
|
|
# Cloning the jobs so we can update ipa-builder and then we can remove
|
|
# the old jobs.
|
|
- job:
|
|
name: ipa-tempest-bios-ipmi-direct-tinyipa-src
|
|
parent: ipa-tempest-bios-ipmi-direct-src
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_RAMDISK_TYPE: tinyipa
|
|
IRONIC_VM_SPECS_RAM: 512
|
|
|
|
- job:
|
|
name: ipa-tempest-bios-ipmi-iscsi-tinyipa-src
|
|
parent: ipa-tempest-bios-ipmi-iscsi-src
|
|
vars:
|
|
devstack_localrc:
|
|
IRONIC_RAMDISK_TYPE: tinyipa
|
|
IRONIC_VM_SPECS_RAM: 512
|