From nobody Sat May 4 14:45:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1587566355; cv=none; d=zohomail.com; s=zohoarc; b=EJObm4oyY4ZR45NOvBRayMM67AkAHZ9b7E7f7hafxx7qj4lMBfctFZMnbJUX3rLQzHIoGE+yFkdvBW7MR38J7P00cNcgIRn9V7Lrso0wiWmejXM2W18meAlMD9wwneVa3zCzCaLQZQjZKLxbN5Yd6OSSsKh3Vn59U/I/2BOOaGA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587566355; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=B66lLfjqLDpRGCgMQ2NF1PhZMrnA2zQ44o9g41pPpvI=; b=Q/WtRNvgVeO0COJ8Z/HQUUekl6dAwd7ahDdHB2sPfDVrbsWkdUsPrMaU5Sx+WiydN9ZqgGlmviygX9HeX3cTNcCjdqXJrpZJHFbmqZa7I1DOs3DZtkF1jGb7FAjmKLf9gyFMWIrJc0i6aT7dfFriq1FsoVK+eVTNIqayQUyAmW4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1587566355423397.25612249569224; Wed, 22 Apr 2020 07:39:15 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-366-hCDpFh-1Nm-SZss3e9nE6A-1; Wed, 22 Apr 2020 10:39:11 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F13EB1080D95; Wed, 22 Apr 2020 14:38:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 480AA271B4; Wed, 22 Apr 2020 14:38:51 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3F668941C3; Wed, 22 Apr 2020 14:38:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03MEcjob012202 for ; Wed, 22 Apr 2020 10:38:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3CAA95DA87; Wed, 22 Apr 2020 14:38:45 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 094D75D9E2; Wed, 22 Apr 2020 14:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587566354; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=B66lLfjqLDpRGCgMQ2NF1PhZMrnA2zQ44o9g41pPpvI=; b=XRSxySSW4ONHp5vzHXo3KueXkwyhrVPKaTfUuIMCJUCPbRP98SJKa7sQUj0RF5duNjqvI+ Am21HNdsbUhpL+KQnqJ+M+mowht4ftU4uH6ODJnhTLEFiyZDWYePVfnHRR+VIYA5nqrXmg cwTRcec/r8Zroq9jLjxg8dRNP2PvriU= X-MC-Unique: hCDpFh-1Nm-SZss3e9nE6A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [all PATCH] gitlab: add CI job for validating DCO signoff Date: Wed, 22 Apr 2020 15:37:45 +0100 Message-Id: <20200422143743.1063944-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" This job uses the shared "check-dco" image to validate that all commits on a developer's branch have a suitable Signed-off-by statement present. Signed-off-by: Daniel P. Berrang=C3=A9 --- This patch was against the Perl repo, but if this is approved then I'll also apply it to *all* the other repos which currently lack a DCO check, without reposting further patches for each repo. For libvirt.git I'll send a patch to update its existing DCO job. .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..56e0e02 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ + +stages: + - prebuild + +# Check that all commits are signed-off for the DCO. Skip +# on master branch and -maint branches, since we only need +# to test developer's personal branches. +check-dco: + stage: prebuild + image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master + script: + - /check-dco + only: + - branches + except: + - master --=20 2.25.2