From nobody Mon Feb 9 01:06:26 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=1692986178; cv=none; d=zohomail.com; s=zohoarc; b=WRdAnmzptLN0IugfW2MhxVkyPsgyfWM+IDEs3Cm4qQP7zM4+/PNnNE6/2z2Z8Wd2jVEdXGzHeKbcHNNUOLdXM942AhhdMK0fTXp/DhHQUWGdRE8V2v7Mn2oFYBvGJvvp7DvQ6XMJSIovqtQBetm30H8Fi8omfjgWc7Wt8QvbcD0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692986178; 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=y+i5LpXDgo5zdqQweP5/C0FsQGlWJDHyEufuTUT9vTs=; b=VMIyRjYBTk2QqkllJMVB0f9YtHr6UvBYRHHHbw34r94VRIHpu3N6n8MU+B/95hrXtTlHdrP68FrzaBx+Egs9ATlOfiBaVQwWJg0JAeoqiCgpFC490Z4fY7ZjSWPfdbXUkLcTGZYLuaWaG4s0fcm5Rnh9QBUmVrkVijO4DBXh/zY= 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 1692986178393815.0041331602271; Fri, 25 Aug 2023 10:56:18 -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-625-FTOJ-9xkNI6-_XLa1UGFDg-1; Fri, 25 Aug 2023 13:56:13 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0CDC610504AD; Fri, 25 Aug 2023 17:56:01 +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 DACBF1121320; Fri, 25 Aug 2023 17:56:00 +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 753B41946A4E; Fri, 25 Aug 2023 17:56:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 3AF9719465A8 for ; Fri, 25 Aug 2023 17:55:59 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 26037492C14; Fri, 25 Aug 2023 17:55:59 +0000 (UTC) Received: from orca.. (unknown [10.45.225.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id A2DD64A9004; Fri, 25 Aug 2023 17:55:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692986177; 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=y+i5LpXDgo5zdqQweP5/C0FsQGlWJDHyEufuTUT9vTs=; b=ei5lrU1WBHEPbLUttFgNzh8+2Rk3jNpqYC949DxPq8RxIHEm/lIp2kt7/xu8j8PBRQWr6L V4HiZg9ckgcXD9pBRYcP52ayN3soD+r/neHUsPkoDHZvud3HmczK76w2g6hroQo2jnlXBe 0XgUL/XdQSYCGkcnL9Z6Yfr65tW8U6Y= X-MC-Unique: FTOJ-9xkNI6-_XLa1UGFDg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 20/33] .gitlab-ci.yml: Convert the codestyle job to the build.sh usage Date: Fri, 25 Aug 2023 19:55:28 +0200 Message-ID: <2c143db00e9a4302399b6aada0e3afe0ae58fa34.1692986130.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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.3 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: 1692986179991100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Individual shell command executions are replaced by respective functions in the ci/build.sh base script. This will make sure we use the same recipes in GitLab jobs as well as in local executions. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0450c1f6ad..0ed6504dc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -114,10 +114,8 @@ website_local_env: .codestyle_job: stage: sanity_checks script: - - *script_variables - - meson setup build --werror || (cat build/meson-logs/meson-log.txt &&= exit 1) - - meson compile -C build libvirt-pot-dep - - meson test -C build --suite syntax-check --no-rebuild --print-errorl= ogs + - source ci/build.sh + - run_codestyle =20 codestyle_prebuilt_env: extends: --=20 2.41.0