diff options
author | Ed Kern <ejk@cisco.com> | 2018-01-16 21:21:12 -0700 |
---|---|---|
committer | Ed Kern <ejk@cisco.com> | 2018-01-17 10:07:11 -0700 |
commit | 9777f13acbd29a71f72c4090aac1d3ba27732b1f (patch) | |
tree | ea8f8847aa5beb82aca40d00a46215773453e40a | |
parent | f3564c0231be51ad6ed33087ff3a401e9f6268c4 (diff) |
Expand shm for docker ubuntu images
Change-Id: Ida2d9bc4974795b4d9e6277ca191356ddecaba9a
Signed-off-by: Ed Kern <ejk@cisco.com>
-rw-r--r-- | jjb/scripts/setup_vpp_ubuntu_docker_test.sh | 14 | ||||
-rw-r--r-- | jjb/vpp/vpp.yaml | 1 |
2 files changed, 15 insertions, 0 deletions
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: |