summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2020-09-21 09:01:00 -0700
committerJulia Kreger <juliaashleykreger@gmail.com>2020-09-23 14:16:35 +0000
commit37691742724493c625f28330e5154d6b2913c513 (patch)
treeef7efd175b7befba9a2bbb9c87038bdc6447b803
parent1a29800cc51f96ecd04708787f62e8b338e14676 (diff)
downloadironic-python-agent-37691742724493c625f28330e5154d6b2913c513.tar.gz
CI: Lower memory usage of VMs/Increase swap
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 (cherry picked from commit afb521d18ea6347fa6c39afa4785bf4a2fa04cc6)
-rw-r--r--zuul.d/ironic-python-agent-jobs.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul.d/ironic-python-agent-jobs.yaml b/zuul.d/ironic-python-agent-jobs.yaml
index 24256bdd..760e9645 100644
--- a/zuul.d/ironic-python-agent-jobs.yaml
+++ b/zuul.d/ironic-python-agent-jobs.yaml
@@ -13,6 +13,8 @@
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_RAMDISK_TYPE: tinyipa
IRONIC_VM_SPECS_RAM: 512