From nobody Mon Feb 9 02:28:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1694439846; cv=none; d=zohomail.com; s=zohoarc; b=LaLvWn6ZxizS7PMGhNc77zFD1wn9bor4NvdNcbgQeedQzmU5a2S1YINHjJmqWIykspKLa3LE9O7uxNy4Lp1hXY9NwZm3tOJM4vxlqejGYsDnRvGU2RjFhJZg+lSI35ckoKTe33FcGBUr0lvhlZmaOv2adpPsWi3e+ERgWQ+ihyQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694439846; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=F3b8FqmnPYr9BeFQznLDEKE2BN3S/mDYLIVcOPJqaDw=; b=Ni3pIDfqniJLAFU98lZ/B75B4m9PZ3VZ6M1bBpBcsawHFaHRKau3eGzN664AMeLk+98XBgrfsuA9lDf9A2kvR+K/bKWQU6o9Tx/SNOI6aIbvLUYn3r18N249xcifyXeEWkX/SdeAqSvhNTFYkKEAu9OmpqrJbuksjuvPSzTqALc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1694439846429443.5936464350764; Mon, 11 Sep 2023 06:44:06 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-85-P3cSEI-BO2yR_qCHD4QrZQ-1; Mon, 11 Sep 2023 09:43:59 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B83418BE341; Mon, 11 Sep 2023 13:43:47 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A85340C2020; Mon, 11 Sep 2023 13:43:45 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 1A1271946A4F; Mon, 11 Sep 2023 13:43:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 3DC531946597 for ; Mon, 11 Sep 2023 13:43:39 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1297B2024CDB; Mon, 11 Sep 2023 13:43:39 +0000 (UTC) Received: from orca.home.lan (unknown [10.45.225.151]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8029C2026D4B; Mon, 11 Sep 2023 13:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694439845; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=F3b8FqmnPYr9BeFQznLDEKE2BN3S/mDYLIVcOPJqaDw=; b=VJMdSR9lgyTHWGEAwcr+6FTQkSP+QnWCyFisxZumlS5crGmcHTbYGFHjB0yE/7EMWTustg /WJINJRldYw2zDuyzYlT8G6Lzyl8eX50Yp1bIDgS+d1LeE89/EyndXSyT7wqEUZOgL0TPJ WmF7GGG7aFxzhatM5L2VHbv8YFrCBKE= X-MC-Unique: P3cSEI-BO2yR_qCHD4QrZQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH v2 01/35] ci: build.sh: Add variables from .gitlab-ci.yml Date: Mon, 11 Sep 2023 15:43:02 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1694439848135100001 Content-Type: text/plain; charset="utf-8"; x-default="true" These are common variables we wish to use in containerized environments both in GitLab and locally. Having these defined in a single place rather than twice is highly preferable. Signed-off-by: Erik Skultety Erik Skultety : Reviewed-by: Daniel P. Berrang=C3=A9 --- ci/build.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ci/build.sh b/ci/build.sh index d5ed8ad104..5a9298c4b4 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -2,7 +2,17 @@ =20 cd "$CI_CONT_SRCDIR" =20 -export VIR_TEST_DEBUG=3D1 +export CCACHE_BASEDIR=3D"$(pwd)" +export CCACHE_DIR=3D"$CCACHE_BASEDIR/ccache" +export CCACHE_MAXSIZE=3D"500M" +export PATH=3D"$CCACHE_WRAPPERSDIR:$PATH" + +# Enable these conditionally since their best use case is during +# non-interactive workloads without having a Shell +if ! [ -t 1 ]; then + export VIR_TEST_VERBOSE=3D"1" + export VIR_TEST_DEBUG=3D"1" +fi =20 # $MESON_OPTS is an env that can optionally be set in the container, # populated at build time from the Dockerfile. A typical use case would --=20 2.41.0