From patchwork Fri Jun 12 02:24:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl4Z0PLyz9sRN for ; Fri, 12 Jun 2020 12:27:42 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hdx/zUCM; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl4Y6tcWzDqsy for ; Fri, 12 Jun 2020 12:27:41 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::329; helo=mail-wm1-x329.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hdx/zUCM; dkim-atps=neutral Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49jl1x03Z0zDqtp for ; Fri, 12 Jun 2020 12:25:24 +1000 (AEST) Received: by mail-wm1-x329.google.com with SMTP id l26so6692670wme.3 for ; Thu, 11 Jun 2020 19:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PIrx4LG6IqUIaTlBzfS2Sv96mKhw3ZXsRnNuMxrwtw0=; b=hdx/zUCMLXi9NiZXqZoxHXUSnGxccXmSw/+n9vms5emnZsaSK6WV9xF11dtNWnTtjX y+aTB8mapNoPrefrmm6S1dO/kMsKwtdUhPbIszCcuTNdm7vcqooSVLrwti9+hui5gnrf Zg3CJ/AuVc0rLwuNabVlM/NaCpsW9+mfDUkn9Bb2EwiBJCdMMUMCDUXHNK80SMDGiCFD fmNsKvG8HP1muk8+h7dPv3/2vDHlSAHR2hTr7mtQlw12qqNfQ6sFBSEzTTQLpCOm6fm8 1KwGHA6HG2TneyYB6F9CA6nm/iv8ZMsYYkrxQ4usOg7hLsllhVPWuB2m6lUj7yF1CXUJ GoQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PIrx4LG6IqUIaTlBzfS2Sv96mKhw3ZXsRnNuMxrwtw0=; b=ucLCt52wQ5bpdM2rOAJtrzIqzaP4GwzqeMLycd/tWHr2hCgNRfi5f0pelJC3crLhrY Ey8bEF+7tZaoCzvwlQtXsX4ojU1kbQzcQZdu9A5JVYVDi3UlxTzlMsGtT3zbeGUbUFRS 1vnws7py6VKC2lSPVH0uE0XHQktAQKI0dB3ztjoikFvOJj5sBHWHZn1LS01nQCftW9Hl GTu90rIURcUzE+S+b3NUmuYxTU8J+yral8OXeZTFC6uNrbqT6f3m7yYSW8OFlojNswZc I+GHq7FwfcNXx26cv5K1owlFIWmaUebyTXSGP1RSfbQODse8otXmIfnbHf2D+g3EdtwZ XQrg== X-Gm-Message-State: AOAM533B9Pj2eGYO80owbBxpTpaAEwbBplbNXMU6yH56q+1e5VBKiAO3 Bzp8B+iY8fSb9S6JOUjETeCe4cxI X-Google-Smtp-Source: ABdhPJzXb0g+t6XkXcvL/gtb5vHCf1Sn0n75Gg5VlxhUGdIG+pnITWMfgysXs99l05nDcQbATJJ8DA== X-Received: by 2002:a1c:df57:: with SMTP id w84mr11573525wmg.52.1591928721512; Thu, 11 Jun 2020 19:25:21 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:21 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:44 +1000 Message-Id: <20200612022452.371685-8-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 07/15] travis: move container build into the install step X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Travis automatically hides the output of completed build stages. Moving the `docker build` output into the install stage results in less spam to wade through while looking at CI failures. Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f34d48d049ad..1ca5dd7cacd2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,9 +31,18 @@ jobs: - os: linux-ppc64le env: RUN_ON_CONTAINER=docs +install: + - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . + - mkdir -p ci_build_cache/${RUN_ON_CONTAINER} + script: - - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && - docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"; + - > + docker run + --volume $HOME/.ccache:/root/.ccache + --volume `pwd`:/build + --volume `pwd`/ci_build_cache/${RUN_ON_CONTAINER}:/root/ci_build_cache/ + --rm -t $RUN_ON_CONTAINER + bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh" # apparently this needs to be in the master branch in order for it to work on