Integration jobs: Increase default swap size
This change increases default swap size, installed by the run-test.sh
script, from 4GiB to 8GiB, because now we see frequent failures caused
by memory shortage.
This removes the separate ansible task to create an additional swap
space (added by f4429e07d8 ) because now
the enough amount is created by run-test.sh.
Change-Id: I24ebef234c79e636b24e47535732aea74e52a241
This commit is contained in:
2 changed files with 1 additions and 10 deletions
@@ -42,12 +42,3 @@
EOF
environment:
GEM_HOME:"{{ ansible_user_dir }}/workspace/puppet-openstack-integration/.bundled_gems"
- name:Prepare swap
shell:
cmd:|
dd if=/dev/zero of=/tmp/swapfile bs=1GiB count=4 && \
chmod 0600 /tmp/swapfile && \
mkswap /tmp/swapfile && \
swapon /tmp/swapfile
become:yes
@@ -23,7 +23,7 @@ export SCENARIO=${SCENARIO:-scenario001}
export MANAGE_PUPPET_MODULES=${MANAGE_PUPPET_MODULES:-true}
export MANAGE_REPOS=${MANAGE_REPOS:-true}
export ADD_SWAP=${ADD_SWAP:-true}
export SWAP_SIZE_GB=${SWAP_SIZE_GB:-4}
export SWAP_SIZE_GB=${SWAP_SIZE_GB:-8}
export HIERA_CONFIG=${HIERA_CONFIG:-${SCRIPT_DIR}/hiera.yaml}
export MANAGE_HIERA=${MANAGE_HIERA:-true}
export PUPPET_ARGS="${PUPPET_ARGS} --detailed-exitcodes --color=false --test --summarize --trace --hiera_config ${HIERA_CONFIG} --logdest ${WORKSPACE}/puppet.log"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.