From nobody Mon Nov 17 15:59:37 2025 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=1604529980; cv=none; d=zohomail.com; s=zohoarc; b=V//AAq583UWM3wTiuPMNzyIS6B0wb5xAWIrgTbSWAlZgVVtnSnIM2IUAmlPLxpvXOUI0XvacoSUZs1NjVtBzdtLcYD+PvzJ+CgGzZfGpTyHQsY3W5edth9bByr6CMiSXg1SIaUQMzn0S0JCK8RF0QrmndOv4QJAr3soJYI4deZ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604529980; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=PCN6dfpZymVLf09y3AxbAjVnHuY6KWlk5zsogr0z+5M=; b=Z0/LjZJd/nhxkP9N07slmXU3iSNS6ZW+TyW18MUpZ9zJKKXqSuiJhs9P+AUC5UmDmsDaDwXJow5wBc1cA1qMFj3a1+eptDicMfN4gwQjKUnKn/+r5smOkGZ6OOPq1ufirrTaE3c+4yqY6dG8f4UQYq04sLvQoKM5fhvznGrCGs4= 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 1604529980741418.1508951978328; Wed, 4 Nov 2020 14:46:20 -0800 (PST) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-37-dqyRVaI6Ooe5ImWjHfVxDA-1; Wed, 04 Nov 2020 17:46:17 -0500 Received: by mail-wm1-f69.google.com with SMTP id z7so1803313wme.8 for ; Wed, 04 Nov 2020 14:46:17 -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 h7sm5214396wrt.45.2020.11.04.14.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 14:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604529979; 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=PCN6dfpZymVLf09y3AxbAjVnHuY6KWlk5zsogr0z+5M=; b=dlRn8gM6eJ2IAo/jHuZplyPA60of2suW40k03LyVY5kWxCNlg8qJRFfw1A7VxhAnUFSrIY yDorFNagdewhmQd2nlSwQTqpkieeD1AMkE7yzWOwnU4wWNVyrfrpm2Umd0di6rWOUDF7Zf n1YYK5FEe/Jg6MLsvBItCQgkg6+4x9M= X-MC-Unique: dqyRVaI6Ooe5ImWjHfVxDA-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=PCN6dfpZymVLf09y3AxbAjVnHuY6KWlk5zsogr0z+5M=; b=RpOg4ymuZi0dWZ8+UI9Q55b6BmQdgE0os83l76MpsxpZGCx81yJWSDIAM2leO3RLWu h1a+herZxEKpmxyO2JfVAfD40WotzkvpY6iwauKhH53v0KRQz5O2/GT9bnnWwmpVymUS 57ZBsQiSuT5OL4wabhCWk2OocgF/CYH9JdpUujl0fRwfR7YYef3qkmtM31IWelzumjJw 6wn5xp3dG46LzDfx5uVRhSqIM3/CQGTLvRUZsVVg/M8yfC5JM4dz6dP8jgdAWhvW9aGa dJLq3qViyspv+2HwupC84t1ZUSgc/QPvF/TX0NF34Er0+qmJCYtdpz2PUf/9yMcPqgZ7 AODg== X-Gm-Message-State: AOAM530hsGKyMcJzlSUFlzmxzc5iwRr+8n55/kKL4SJYOxGAU7+3tIJZ Muo28UGh3+8VArYNiyWfCG+brYWgi5CDtf0uPSNuUvmTs4qysAvtpBCZ2AnUbjSU2xAOe+9MLDx oYJFw3Z3MaOcyNA== X-Received: by 2002:adf:e5c4:: with SMTP id a4mr290247wrn.56.1604529976679; Wed, 04 Nov 2020 14:46:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQDxcp6PICXbfuovv6Dl9od1DCN1BfOTrENibDvKE0fFbxw1qSS8+S67r0rDJpGKalyPZ4dA== X-Received: by 2002:adf:e5c4:: with SMTP id a4mr290238wrn.56.1604529976532; Wed, 04 Nov 2020 14:46:16 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Daniel P . Berrange" , John Snow , Cornelia Huck , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Thomas Huth , Peter Maydell Subject: [RFC PATCH 3/9] gitlab-ci: Replace YAML anchors by extends (native_test_job) Date: Wed, 4 Nov 2020 23:45:52 +0100 Message-Id: <20201104224558.3384595-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201104224558.3384595-1-philmd@redhat.com> References: <20201104224558.3384595-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) 'extends' is an alternative to using YAML anchors and is a little more flexible and readable. See: https://docs.gitlab.com/ee/ci/yaml/#extends Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff3a8bd58cf..83beefa2c85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ include: make -j"$JOBS" $MAKE_CHECK_ARGS ; fi =20 -.native_test_job_template: &native_test_job_definition +.native_test_job: stage: test image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest script: @@ -86,7 +86,7 @@ build-system-ubuntu: - build =20 check-system-ubuntu: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-ubuntu artifacts: true @@ -95,7 +95,7 @@ check-system-ubuntu: MAKE_CHECK_ARGS: check =20 acceptance-system-ubuntu: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-ubuntu artifacts: true @@ -117,7 +117,7 @@ build-system-debian: - build =20 check-system-debian: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-debian artifacts: true @@ -126,7 +126,7 @@ check-system-debian: MAKE_CHECK_ARGS: check =20 acceptance-system-debian: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-debian artifacts: true @@ -149,7 +149,7 @@ build-system-fedora: - build =20 check-system-fedora: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-fedora artifacts: true @@ -158,7 +158,7 @@ check-system-fedora: MAKE_CHECK_ARGS: check =20 acceptance-system-fedora: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-fedora artifacts: true @@ -181,7 +181,7 @@ build-system-centos: - build =20 check-system-centos: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-centos artifacts: true @@ -190,7 +190,7 @@ check-system-centos: MAKE_CHECK_ARGS: check =20 acceptance-system-centos: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-centos artifacts: true @@ -288,7 +288,7 @@ build-deprecated: # We split the check-tcg step as test failures are expected but we still # want to catch the build breaking. check-deprecated: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-deprecated artifacts: true @@ -352,7 +352,7 @@ build-crypto-old-nettle: - build =20 check-crypto-old-nettle: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-crypto-old-nettle artifacts: true @@ -373,7 +373,7 @@ build-crypto-old-gcrypt: - build =20 check-crypto-old-gcrypt: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-crypto-old-gcrypt artifacts: true @@ -394,7 +394,7 @@ build-crypto-only-gnutls: - build =20 check-crypto-only-gnutls: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-crypto-only-gnutls artifacts: true --=20 2.26.2