From: Ed Kern Date: Wed, 17 Jan 2018 04:21:12 +0000 (-0700) Subject: Expand shm for docker ubuntu images X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=9777f13acbd29a71f72c4090aac1d3ba27732b1f;p=ci-management.git Expand shm for docker ubuntu images Change-Id: Ida2d9bc4974795b4d9e6277ca191356ddecaba9a Signed-off-by: Ed Kern --- diff --git a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh new file mode 100644 index 000000000..41c8dd6ef --- /dev/null +++ b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh @@ -0,0 +1,14 @@ +#!/bin/bash +############################################################################## +# Copyright (c) 2018 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## +set -e -o pipefail + +if ! [ -z ${DOCKER_TEST} ] ; then + mount -o remount /dev/shm -o size=512M || true +fi diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index f88aed401..655320100 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -915,6 +915,7 @@ !include-raw-escape: include-raw-vpp-test-checkstyle.sh - shell: !include-raw-escape: + - ../scripts/setup_vpp_ubuntu_docker_test.sh - ../scripts/setup_vpp_dpdk_dev_env.sh - include-raw-vpp-build.sh publishers: