From patchwork Mon Aug 27 00:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145148 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3593059ljw; Sun, 26 Aug 2018 17:00:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYOsqMHbxox4KNwzO1I9rsH96iCuiGsWdvJH+lWguXelMiZnZlCjJRe/GLSRYGa1X4GZVQ4 X-Received: by 2002:a37:dc41:: with SMTP id v62-v6mr11256410qki.109.1535328043823; Sun, 26 Aug 2018 17:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535328043; cv=none; d=google.com; s=arc-20160816; b=CIXrJljcmXNkEjyBkPzSqa7btUvcPk6cERbinrN72Br47VOh9WAew4ZGjF8X8KaphK /42HXJZdD3PZmLf2tRKa+S6thwE1AtakQDB7A7+/ASRgEMyJLoT/a8ZurX8bTEaNRQLT ZIFfO3CSgF8eiCn0a2Z9+ge/G2sNwGQdzibvxcDouNLyVVWgk3gg63yk5Ph1GS0NOGxR Mcq43ZfBOI9NNevKuIN0s4IMx3rULREFZsPps3JHp0NjPCTJeuAgoLmxWQvyCnR2qh/V YzhQyy5ZWnJyTEZ36uwNFkdWyuKJFh2NjQI6Zn5pKokgjHYIskRHXrjOyfhcWoYaPjr1 WZ/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=p7PQwrQBqCvfgTFdqDa0uS/7ZA12aaX4RkDZREnrX68=; b=m6IM3kvWxHqYkSLuBmR2DxydCr85kDcI4m/80kY4v7V/esExOwCsSUz3ahGDlYX54J REG3JBE/LHthBcLiOnmTZAdbJXzAsI85H/F33LvKE2S8qcYt9tZdEussNxDJTDvI27/f UucEjLnHCVMnQn/7dmje4+hHKIrQvGH4T5IuCQZVAZHJzqp3UfQWAGXpWc/Of1YqzU5e he1L5cnDaNj+/13+zppkY0P52rQ7j2M76TRjSt+DqOyA1MzEdTwix0OG0AJ5xCdNJ4DM /47RtjX/sm4TVD0x/78mYKbDZ9zjaTQ11ql+4v7HCKCPjy65WFkyU/+iX4xqyxe85H2I LZSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id k1-v6si3916753qkc.104.2018.08.26.17.00.43; Sun, 26 Aug 2018 17:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 6F9FA68638; Mon, 27 Aug 2018 00:00:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 984F160862; Mon, 27 Aug 2018 00:00:26 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id CFFC268621; Mon, 27 Aug 2018 00:00:13 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id 94E0C68603 for ; Mon, 27 Aug 2018 00:00:09 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 2A68E43AAB for ; Mon, 27 Aug 2018 03:00:08 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id pcSaYwspT3-08fGp4pD; Mon, 27 Aug 2018 03:00:08 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Z4DrP3fobC-07viXwcX; Mon, 27 Aug 2018 03:00:07 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 27 Aug 2018 00:00:05 +0000 Message-Id: <1535328005-27646-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535328005-27646-1-git-send-email-odpbot@yandex.ru> References: <1535328005-27646-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 684 Subject: [lng-odp] [PATCH v1 1/1] travis: fix DOCKER_NAMESPACE variable setting X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov First, original commit missed one quote mark. Second, conditional ifs do not work in env: part of .travis.yml. Set DOCKER_NAMESPACE properly. Signed-off-by: Dmitry Eremin-Solenikov Fixes: 989df5d2f97ab4711328b11282dcc743f5740e00 --- /** Email created from pull request 684 (lumag:docker-ns-fix) ** https://github.com/Linaro/odp/pull/684 ** Patch: https://github.com/Linaro/odp/pull/684.patch ** Base sha: 989df5d2f97ab4711328b11282dcc743f5740e00 ** Merge commit sha: e3810b543a5dd8cc9bdef2b98f0d6f696b6e6194 **/ .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d1520aa1a..23629d538 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,6 @@ env: # you need generated new one at https://codecov.io specific for your repo. - CODECOV_TOKEN=a733c34c-5f5c-4ff1-af4b-e9f5edb1ab5e - DPDK_VERS="17.11.3" - - if [ -z "${DOCKER_NAMESPACE} ] ; then export DOCKER_NAMESPACE="opendataplane"; fi matrix: - CONF="" - CONF="--disable-abi-compat" @@ -75,6 +74,7 @@ compiler: install: - sudo apt-get install linux-headers-`uname -r` script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - if [ "${CC#clang}" != "${CC}" ] ; then LD="" CXX=clang++; fi - if [ -n "${CROSS_ARCH}" ] ; then docker run -i -t -v `pwd`:/odp @@ -104,6 +104,7 @@ jobs: env: TEST=coverage compiler: gcc script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run --privileged -i -t -v `pwd`:/odp --shm-size 8g -e CODECOV_TOKEN="${CODECOV_TOKEN}" @@ -114,6 +115,7 @@ jobs: env: TEST=distcheck compiler: gcc script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run --privileged -i -t -v `pwd`:/odp --shm-size 8g -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" @@ -150,6 +152,7 @@ jobs: - stage: "build only" env: Ubuntu14.04_arm64 script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run -i -t -v `pwd`:/odp ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_14.04.05 /odp/scripts/ci/build_arm64.sh - stage: test @@ -174,6 +177,7 @@ jobs: compiler: gcc env: CROSS_ARCH="i386" script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run --privileged -i -t -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" @@ -183,6 +187,7 @@ jobs: compiler: clang env: CROSS_ARCH="i386" script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run --privileged -i -t -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" @@ -210,6 +215,7 @@ jobs: compiler: gcc env: CROSS_ARCH="i386" CONF="--disable-abi-compat" script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run --privileged -i -t -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}" @@ -219,6 +225,7 @@ jobs: compiler: clang env: CROSS_ARCH="i386" CONF="--disable-abi-compat" script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi - docker run --privileged -i -t -v `pwd`:/odp -e CC="${CC}" -e LD="${LD}" -e CXX="${CXX}"