From nobody Sat May 18 05:34:46 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=1673507146; cv=none; d=zohomail.com; s=zohoarc; b=AtKFsF0xRrcpDDpujagnhfZI5i+m1fuBzdAjyxuZ5XExD4B3EfHHtAJBrd5H9iv9FUdgD6FwEzSy0t6WHsZhes9lX0K42vet2bK3DMBwVFGPUkFkbQuJc3pwqof65LG1lqUv9Xtns5BhE9IZmvyZGQ2Zfzx4JmJp907iOhBZglQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673507146; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=QtHP9EcMw+WesaPvk55R+WSyCVq3F3KNwiHDUQNeyok=; b=ZRFGqAyZ8SHakZfLB+f9x44uYj9SjpPc5b4vX7MgxE3VDwptOPFtqkCtuqo7r0LNNJ+9F1ULOgUle65a/QkpuKOxC+M7J8DFaH++nPz7JPVRtNYMs8CMEjq2o5A4CHrWlr33Tb0w6lKACzvHBv10xRsfnZr0yOZ6RDwJOXLeP3w= 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 1673507146250111.11887710822896; Wed, 11 Jan 2023 23:05:46 -0800 (PST) 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-tmSWeqDCPTuPmCp8KaLKPQ-1; Thu, 12 Jan 2023 02:05:41 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AB4E9857A85; Thu, 12 Jan 2023 07:05:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE32B492B00; Thu, 12 Jan 2023 07:05:37 +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 8BFFB1946A7A; Thu, 12 Jan 2023 07:05:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7AF361946A78 for ; Thu, 12 Jan 2023 07:05:36 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1166740C2004; Thu, 12 Jan 2023 07:05:36 +0000 (UTC) Received: from ridgehead.redhat.com (unknown [10.43.2.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9160440C2064; Thu, 12 Jan 2023 07:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673507145; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=QtHP9EcMw+WesaPvk55R+WSyCVq3F3KNwiHDUQNeyok=; b=YBPgq6CVxzDq5Ib/KkIMfYL+DSg66Tiv9jD1iJk08dQGjmpw8s/ssaKt7AiD4VqQDpbt/Y VFanyvM3p+RlAb+VGOAHmEdopen+slOYkJESXz+cs9y3tFcixNPq/ybD9IpoMQ2Wq+CIKw 7TiqzOGmQzDIR7yZPXsUEcSFxcz8scY= X-MC-Unique: tmSWeqDCPTuPmCp8KaLKPQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH] ci: integration: Set an expiration on logs artifacts Date: Thu, 12 Jan 2023 08:05:34 +0100 Message-Id: <6f8e781c8f60e72660ccc8b81f7e52d44661f411.1673507040.git.eskultet@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673507146734100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The default expiry time is 30 days. Since the RPM artifacts coming from the previous pipeline stages are set to expire in 1 day we can set the failed integration job log artifacts to the same value. The sentiment here is that if an integration job legitimately failed (i.e. not with an infrastructure failure) unless it was fixed in the meantime it will fail the next day with the scheduled pipeline again, meaning, that even if the older log artifacts are removed, they'll be immediately replaced with fresh ones. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrang=C3=A9 --- If you look at: - https://gitlab.com/libvirt/libvirt/-/jobs/3563902921 - https://gitlab.com/libvirt/libvirt/-/jobs/3557946738 you can clearly see that the artifacts are still taking up (although small) some GitLab storage space which is unnecessary since anyone interested in debugging would opt into getting the latest ones anyway. ci/integration-template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/integration-template.yml b/ci/integration-template.yml index 61cd034009..9141d5cedf 100644 --- a/ci/integration-template.yml +++ b/ci/integration-template.yml @@ -94,6 +94,7 @@ SCRATCH_DIR: "/tmp/scratch" artifacts: name: logs + expire_in: 1 day paths: - logs when: on_failure --=20 2.39.0