From nobody Tue Feb 10 09:02:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.42 as permitted sender) client-ip=209.85.221.42; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f42.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.42 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1620718220; cv=none; d=zohomail.com; s=zohoarc; b=Cp6Z+BuACGGsA3/ukZBRAYGFOnJNsHLmDw03WgcHQAbURn8KsJhVI3PQVaUZQ5CWr2uYF3eqm5oFOivyR2H2tNO2rSoFLMN15neYH7jzHJUhA+3X6MDTI98tWOe8h81COBf5chVX5dze4YUMaHX2lCxTPjnEsti3Qv8x33pscko= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620718220; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=cMLF+DiYB05VGczsv0EHFzokHqtb7UOcx/SnibJim1g=; b=QH+UX2rvVi+5J+mwmzSCaz2lKxNzLvhurIh+mStGq7kC3OYD6QrzAV2tdqlkHDodSif2VXJNGLJRQcb1VXikZNOEzswDDCA3AfmyTI4PSPgFm8kLcNZjEnMlYSSGpEVDFU9PYWcXlGMiJ/3uI3sGYoLk4C+VWzuwYZ2PyB8DuWM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.42 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mx.zohomail.com with SMTPS id 1620718220305304.7251530141615; Tue, 11 May 2021 00:30:20 -0700 (PDT) Received: by mail-wr1-f42.google.com with SMTP id z6so19040168wrm.4 for ; Tue, 11 May 2021 00:30:19 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id b10sm30859762wrr.27.2021.05.11.00.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 00:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cMLF+DiYB05VGczsv0EHFzokHqtb7UOcx/SnibJim1g=; b=d6okAlqbrVmawA1Y1tE6/sHsdh8ch4YpcEafWeOXftdL70tbkzgRarGND23SiHXIej Aq9f97SFLPJWe6mBSH6FfSFydJpuXOcBleSjrqIGnSynNUdxElz5NE3KP/hh76oUQObC YfNJsmX02k1lCEJsEJqp78YPvoTUCLqFNHNRCjoSalF8XuKf/TgYKcp5WKydcK8oTJSP zbale9YCDM08dQMgpi6aQy8Nw3noh4J07XU5DUfkZUy1whW//tzzZ6j3p+KLE68LaJwg FukPZ1wtFPOSOhK2Q0UvE/3PNAt/uOnSNWgoecy2w9B5+S3u3pDyAAAVksqvzc9n1cWG Osdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=cMLF+DiYB05VGczsv0EHFzokHqtb7UOcx/SnibJim1g=; b=m0awSgCKnsBTrF/piii88iWxVnJhkNEc6VnQngCvdGIoV3tD1p7OA9xB0LXwGogGjK mkPVhJnR6Te3PEIZIshspuyKw3eMDEtdGMld8blsSZZNv9urRJUWPpBws/+NrDyg9giy K9YeO87R+46Wp7L6YOv2QvrKEnc4yIl8y6CO0Be0KvCWWzq2KTRv0Yf0/OjKDjY76dY5 Wz8krfvVyH8OxXExTbJa7TYN3lXYxqS/uoGPgkiHU7/2fd5hUKxfp+QDDcLXcTXTU0F+ mfMHZKTnzQsYPQgAIoIA4AfSSQsImEvbVkXp92fn3ble2GJ6m8NN7aoUk3GV/4CTuEsC IDgg== X-Gm-Message-State: AOAM532IkoYL9OmSfQ+tIWgpWoVZR165OAW2wjxc2kVspYaAeQLq4CkW gGRmT44oZMSfG0HracbMtm/v3s1E1zwoeA== X-Google-Smtp-Source: ABdhPJzvtxYXjHxOcQ5ByOMI0THqw7/+CVyY6YcZcqjpuN06PPwyfOftvjPFK9zjCTdEeM+eA+FVSw== X-Received: by 2002:adf:cc85:: with SMTP id p5mr35828809wrj.75.1620718218539; Tue, 11 May 2021 00:30:18 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Cleber Rosa , Wainer dos Santos Moschetta Subject: [PATCH v2 05/10] gitlab-ci: Extract DCO/style check jobs to static_checks.yml Date: Tue, 11 May 2021 09:29:47 +0200 Message-Id: <20210511072952.2813358-6-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210511072952.2813358-1-f4bug@amsat.org> References: <20210511072952.2813358-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) Extract the DCO / checkpatch jobs to a new file (static_checks.yml) to be able to run them without having to run all the jobs included in the default .gitlab-ci.yml, which are mainly useful for the mainstream CI. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Willian Rampazzo --- v2: - renamed static_checks.yml (Wainer) - removed moved jobs (Thomas) --- .gitlab-ci.d/static_checks.yml | 24 ++++++++++++++++++++++++ .gitlab-ci.yml | 26 +------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 .gitlab-ci.d/static_checks.yml diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml new file mode 100644 index 00000000000..f695627b7cd --- /dev/null +++ b/.gitlab-ci.d/static_checks.yml @@ -0,0 +1,24 @@ +check-patch: + stage: build + image: $CI_REGISTRY_IMAGE/qemu/centos8:latest + needs: + job: amd64-centos8-container + script: .gitlab-ci.d/check-patch.py + except: + variables: + - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' + variables: + GIT_DEPTH: 1000 + allow_failure: true + +check-dco: + stage: build + image: $CI_REGISTRY_IMAGE/qemu/centos8:latest + needs: + job: amd64-centos8-container + script: .gitlab-ci.d/check-dco.py + except: + variables: + - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' + variables: + GIT_DEPTH: 1000 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d474ffa030a..ab9edc78879 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ include: - local: '/.gitlab-ci.d/opensbi.yml' - local: '/.gitlab-ci.d/containers.yml' - local: '/.gitlab-ci.d/crossbuilds.yml' + - local: '/.gitlab-ci.d/static_checks.yml' =20 .native_build_job_template: stage: build @@ -758,31 +759,6 @@ build-without-default-features: --target-list-exclude=3Darm-softmmu,i386-softmmu,mipsel-softmmu,mi= ps64-softmmu,ppc-softmmu MAKE_CHECK_ARGS: check-unit =20 -check-patch: - stage: build - image: $CI_REGISTRY_IMAGE/qemu/centos8:latest - needs: - job: amd64-centos8-container - script: .gitlab-ci.d/check-patch.py - except: - variables: - - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' - variables: - GIT_DEPTH: 1000 - allow_failure: true - -check-dco: - stage: build - image: $CI_REGISTRY_IMAGE/qemu/centos8:latest - needs: - job: amd64-centos8-container - script: .gitlab-ci.d/check-dco.py - except: - variables: - - $CI_PROJECT_NAMESPACE =3D=3D 'qemu-project' && $CI_COMMIT_BRANCH = =3D=3D 'master' - variables: - GIT_DEPTH: 1000 - build-libvhost-user: stage: build image: $CI_REGISTRY_IMAGE/qemu/fedora:latest --=20 2.26.3