From nobody Mon Feb 9 09:34:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@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 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1605024164; cv=none; d=zohomail.com; s=zohoarc; b=Eji+uj2IqrztvBPnR1bqlg78DaGzO3OkTCqXp4tM9JGK+nKUWlbEBqOVRoGtrhaIgk5PKg8f7D7k6fo5aFuHiihduYsQznXc/+CzXRpn8uirkAKiSsd2/Ui8ptS4V77FQFj/kWrKnmqVghC2Y+BCEUo7e1tJxyBPmYt1s3DGYgA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605024164; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=6ybWArdyMsKMTQbibxl2olpKdjku6BQuwFQ33YJqLDk=; b=hsZiiygO/0DUfYOcmgf538acTzcDMrdwhAf2yhDyiatc+cWdyJYbejK2nIktudTk57UXVhEPJmKbb0EYe1DkQ5tQ3olna7b062MmFsXev2a09K3TpTZJyNVo3bnFH7yTCTeGjuTsu6DpBhZkcMgYkulFRQPpZrAFqZ14VEojeJA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605024164138696.3119862777754; Tue, 10 Nov 2020 08:02:44 -0800 (PST) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-475--UI-3A8vOgeIX8fbGAAc2A-1; Tue, 10 Nov 2020 11:02:39 -0500 Received: by mail-wr1-f72.google.com with SMTP id r16so5837417wrw.22 for ; Tue, 10 Nov 2020 08:02:39 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id t4sm3446598wmb.20.2020.11.10.08.02.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 08:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605024161; h=from:from: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; bh=6ybWArdyMsKMTQbibxl2olpKdjku6BQuwFQ33YJqLDk=; b=JLOSfTAxhdjP7DcFvUhFaFT/Y357ZGEKS627KzTrSf+avMjjF29Q14PNlQX9x7ouHPNLdS vMA3EhCfJ6mGTPnDw3NdiV8m+1tNeTX5KPXcpqRfroE+rG08MK5XU9eHdFE2FaDgTpATvx XtPeQA8hwvJGc+3JhdsvPt9D5QDIVnk= X-MC-Unique: -UI-3A8vOgeIX8fbGAAc2A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6ybWArdyMsKMTQbibxl2olpKdjku6BQuwFQ33YJqLDk=; b=A75GntYoFUjIn2kFMbct1fiqzOTiVFDm8PF/X3qmp9oXoQyGfnktC8xIGZQjH+n9rV 4JfZ23y19Oet2+z+oKMemWOuGhxokk33kuExv8orTrijpgkPuesejLQEDWoutZP5S4qL TLXgRRAYcsAolJtcgyZX6xiu3cfUuQ4tAQW6yTc3RuTzKBij2XfvHwoR97sqzz26mmuY u4eNlUZrmRVbEs4UGX+UkVDxiXeSrfnYlUNB1lFWWQ/xZPPupFnb/1A7trpVAnsYupH+ NHLTovdQRzyzgaWyf384Gtd3Zrj9GPujvHsWT6gTWRNQOdqR2nOXN3g0uCNNil0vIfKd NTZQ== X-Gm-Message-State: AOAM532d2GMgftABcHONAa4Sr2D0EM3WmH6Ieg/6anwTUlFkOJaCRzg/ tbVkhF6Iuc4Y+kSuEmY6lKAGim0LBUNdeIz2IXCohYEYViGIjAkDkrcVFA4mh0souJOZT7ImgT0 e/AIioDgmQv3ZCw== X-Received: by 2002:a1c:3c8a:: with SMTP id j132mr365843wma.75.1605024155415; Tue, 10 Nov 2020 08:02:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwynBm4ZUBzYH7MV5lnPTS1nw7H1XYIDvG5dOgpXublOvCug34dZnBhCVVrC8ZZkbrvL6DRzg== X-Received: by 2002:a1c:3c8a:: with SMTP id j132mr365809wma.75.1605024155166; Tue, 10 Nov 2020 08:02:35 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Laszlo Ersek , "Daniel P . Berrange" , Stefan Weil , Wainer dos Santos Moschetta , Fam Zheng , virt-ci-maint-team@redhat.com, Michael Tokarev , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Bin Meng , Bin Meng , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [RFC PATCH 10/16] gitlab-ci: Introduce the CI "job maintainer" concept Date: Tue, 10 Nov 2020 17:01:34 +0100 Message-Id: <20201110160140.2859904-11-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201110160140.2859904-1-philmd@redhat.com> References: <20201110160140.2859904-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com 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) When a job fails, someone has to take care of it. As we can not wait indefinitively of volunteers good will, introduce the concept of "job maintainers". A job maintainer is reponsible of keeping it working, or contact the developers having broken it to fix it. When a job is added, it must have a maintainer. A job without maintainer is not run automatically. It can however be run manually from the WebUI. To declare a maintainer, it is as easy as defining the JOB_MAINTAINER_NAME / JOB_MAINTAINER_EMAIL environment variables. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Ideally the runner will notify the maintainer by mail that a job fails. But we are not quite there yet. It would be nice if someone document this properly. --- .gitlab-ci.d/containers.yml | 4 ++++ .gitlab-ci.d/crossbuilds.yml | 6 ++++++ .gitlab-ci.yml | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml index 7e664878cab..bd2a05008d1 100644 --- a/.gitlab-ci.d/containers.yml +++ b/.gitlab-ci.d/containers.yml @@ -21,6 +21,10 @@ after_script: - docker logout rules: + # Skip unmaintained jobs + - if: $JOB_MAINTAINER_NAME =3D=3D null || $JOB_MAINTAINER_EMAIL =3D=3D= null + when: manual + allow_failure: true - changes: - .gitlab-ci.d/containers.yml - tests/docker/* diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml index 701550f028c..aecdb2a38f1 100644 --- a/.gitlab-ci.d/crossbuilds.yml +++ b/.gitlab-ci.d/crossbuilds.yml @@ -1,6 +1,12 @@ .cross_common_job: stage: build image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest + rules: + # Skip unmaintained jobs + - if: $JOB_MAINTAINER_NAME =3D=3D null || $JOB_MAINTAINER_EMAIL =3D=3D= null + when: manual + allow_failure: true + - when: always =20 .cross_system_build_job: extends: .cross_common_job diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e631d4f160..ded4f0bdd18 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,12 @@ include: =20 .native_common_job: image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest + rules: + # Skip unmaintained jobs + - if: $JOB_MAINTAINER_NAME =3D=3D null || $JOB_MAINTAINER_EMAIL =3D=3D= null + when: manual + allow_failure: true + - when: always =20 .native_build_job: extends: .native_common_job --=20 2.26.2