From nobody Sat Dec 21 18:30:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1694439872; cv=none; d=zohomail.com; s=zohoarc; b=Mc831qAVJX18aAo6+LRul5AsCL6XbzKByeykAH1UAy40L6+CPWjBawmQZ5ihzgi0JYBVbbsw94fMcZUAVXNLKdcARB/ya9NKX0HZ4adF3TbBya6BbZ8g9MhiSMF4ZnOBfCHGNAmW6WRK1Bhss+QcCXF+qkuRRLTLzx/iUj67avk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694439872; 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=fyggVrS/DfX3Y8pLduSG6lIPBbuSlYW/FhqZ6ZFwnMA=; b=cdgggFsdO09FOn20HjNegFhGc+74ncf1ucqZwwwhqOCKkLZgCnn+B2ur9ofiaCeHl7iJfIr6gW04r9AcrTLqkLMjdxvJPxkv5bXv3llhqVJwJ4jtcLUwqbS7QR3jCfEIy0S6dHdIMEclbXayChdxWCrj0WdG+T+iAWSB3VqZrQQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1694439872145648.1754767136924; Mon, 11 Sep 2023 06:44:32 -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-626-yUcp7--zNEqgL8dwk_QOdQ-1; Mon, 11 Sep 2023 09:44:24 -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 53FA38AF7BB; Mon, 11 Sep 2023 13:44:10 +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 3A14140C200B; Mon, 11 Sep 2023 13:44:10 +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 7E6F0194974A; Mon, 11 Sep 2023 13:43:57 +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 8604B19451E5 for ; Mon, 11 Sep 2023 13:43:55 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7FEAD2027046; Mon, 11 Sep 2023 13:43:55 +0000 (UTC) Received: from orca.home.lan (unknown [10.45.225.151]) by smtp.corp.redhat.com (Postfix) with ESMTP id DAEEE2026D4B; Mon, 11 Sep 2023 13:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694439871; 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=fyggVrS/DfX3Y8pLduSG6lIPBbuSlYW/FhqZ6ZFwnMA=; b=IahR0tWiY3VlCjA7hqA5Z2tdBdRxj4GOmYr9JF66Z8U9dmGTKYPtif9ZgKJdnrQhZBWgFg +KRPxnr+neLCLDN9dhe/JaDkHaCt0qgtsIou6Nt6ZG5gF/Tt7KBECGS4gs3STVfEwNdfDb p5jfgMKed3ZjMWSFB6VmtrS9Mw5n+Bw= X-MC-Unique: yUcp7--zNEqgL8dwk_QOdQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH v2 21/35] .gitlab-ci.yml: Convert the codestyle job to the build.sh usage Date: Mon, 11 Sep 2023 15:43:22 +0200 Message-ID: <6cf38b8df57eca38fe9faf3651abd4a4cfc22aa9.1694439815.git.eskultet@redhat.com> 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1694439874220100003 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 Erik Skultety : --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d41cc63ec2..35f1a1e135 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/jobs.sh + - run_codestyle =20 codestyle_prebuilt_env: extends: --=20 2.41.0