From patchwork Wed Jul 1 13:56:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 11636505 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9835913BD for ; Wed, 1 Jul 2020 14:04:47 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EAF120663 for ; Wed, 1 Jul 2020 14:04:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="evcPGZDx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EAF120663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:56174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqdLy-0006Vy-LX for patchwork-qemu-devel@patchwork.kernel.org; Wed, 01 Jul 2020 10:04:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqdEu-0002cC-Vt for qemu-devel@nongnu.org; Wed, 01 Jul 2020 09:57:29 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:40071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqdEj-0005tW-4e for qemu-devel@nongnu.org; Wed, 01 Jul 2020 09:57:28 -0400 Received: by mail-wr1-x443.google.com with SMTP id h5so23947241wrc.7 for ; Wed, 01 Jul 2020 06:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hCA6Fp1zjl/YcdAD2qr1JaESX1/DMtcBS8XPo6xk3BI=; b=evcPGZDx6VcoAplJ+O3WTf/V0gdN7LFhhqY+tWhKnSlyof1wl3pDaslalzqlh2Dtf3 NUPMVrksla/BXss5p/QiJWzXEtzlOS997usukFS6idwW1PXEdmyPgT4c3a7PqDl0bHl/ M01tgp2ktTtRsnjkOIip6Nsm80ZaKTcy+Wzv2ZW8ve4fWbbMMBWqxq6axU7AEsV9SdUg PEoDKzZWFXYOkAa2BjbCAMoCTUm/SKAk2uhIDtP7KXQIg9ZfNOsNKjBJv2d/pIj5mHvQ K+zO0Z+WVPBC/696VzTC0KyCT5CgzKrOO2fJUpeF1b+KUmh9cVkwKtV+GOKuEZxhNQxh cFsw== 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=hCA6Fp1zjl/YcdAD2qr1JaESX1/DMtcBS8XPo6xk3BI=; b=m2+jBrbvfjpLHDN3h/qqsKqCHUmpYVcacrpLBOCqF8RPqKQxo7rb7q5sjSAFo/Gj4D bWbjVnsHXoYcP4lxcvwjVAOfTs0vVvEjb0GqCedSYUbNY0BEmB6zrH2U+/UQb8jqgfXg qZtKRzGKRCfcQi/6kNhJYCtPukFVI9Jm1GIvtYANQPmksqzYeMiVsKI2gReVuA43tnSs iqlj1GbuDGXhFGaSo/w24m6F5sd0FLtMTMNGfp/m8vMHDRRsH8AqTfI9WoQ8l1PbWSge IspLvILWWbJ/Hb3IHsaeDXjE42cena/cTNIsuSfkdM6IhpWHGeNOJEbBAKgrozggizBC rHUQ== X-Gm-Message-State: AOAM531ZxbbEgWxlYGU5e23TfhHESey+mjW2R4af6ByQgLwBJEpmECbY E6Z9sc12WOBM/JmaZI6xRGNlSw== X-Google-Smtp-Source: ABdhPJxqgGVcfXz/iXjs/wbts7Lh6N2/8Y1sAaQWeDpU1J/HgXNYgEIKNN8zJ8Z7cWUia4GkyyJ2wA== X-Received: by 2002:adf:8b5a:: with SMTP id v26mr26527074wra.165.1593611835351; Wed, 01 Jul 2020 06:57:15 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y20sm7266415wmi.8.2020.07.01.06.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 06:57:05 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 973331FFBE; Wed, 1 Jul 2020 14:56:56 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v4 37/40] gitlab: limit re-builds of the containers Date: Wed, 1 Jul 2020 14:56:49 +0100 Message-Id: <20200701135652.1366-38-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200701135652.1366-1-alex.bennee@linaro.org> References: <20200701135652.1366-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?q?aud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Most of the time we are just rebuilding the same things. We can skip this although currently there is no mechanism for picking up new distro releases. Rather than try to be too fine grained allow any change to trigger all the images being rebuilt. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- v4 - try and include branches - use rules instead --- .gitlab-ci.d/containers.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml index a7621c4204c..ea350eacff7 100644 --- a/.gitlab-ci.d/containers.yml +++ b/.gitlab-ci.d/containers.yml @@ -17,6 +17,12 @@ - docker push "$TAG" after_script: - docker logout + rules: + - changes: + - .gitlab-ci.d/containers.yml + - tests/docker/* + - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + - if: '$CI_COMMIT_REF_NAME == "testing/next"' amd64-centos7-container: <<: *container_job_definition