From nobody Mon Feb 9 07:55:43 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=1605024127; cv=none; d=zohomail.com; s=zohoarc; b=C/RSYULxG9n3YoaTqPRRDcpBoE5ynymytXSU3EzIcJ36NTFT9xBMpvyQwEs1NKHWgRlSrY6TzszxqPh+PJj7w85UDJm1iWUvGjtUUgWW00WZD/hjlcMnSm2s1WA/jjOnnGMETd0v4jfnERQb48Hfj+HFMurdi2xP41IbTQAMjRM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605024127; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vYOx8opSCoTULd2EmOhrq81Pwh9FMjyL0FWLrWxUzm8=; b=cFUmqZhtk9MgVKxOv2RjAMIi6TD/hlcqYfqaX5AFkLgMieVxRVi6a7ns46TNs4NTkbq/rZmIMpcSbiE86YWoWhf2zVKCM/Xr7qeXQYBHafrrVtmzgu3fbY5T/MXeCVQBkHZKH3sYaeMUiGiU40TMb9SfBZEk9ZtAxuxckmSFLBQ= 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 1605024127213128.51731017574957; Tue, 10 Nov 2020 08:02:07 -0800 (PST) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-43-xn3IFTeVN1ySgB9mNBq4Wg-1; Tue, 10 Nov 2020 11:02:01 -0500 Received: by mail-wm1-f72.google.com with SMTP id a130so1322991wmf.0 for ; Tue, 10 Nov 2020 08:02:01 -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 n22sm3268876wmk.40.2020.11.10.08.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 08:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605024123; 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=vYOx8opSCoTULd2EmOhrq81Pwh9FMjyL0FWLrWxUzm8=; b=RkMG3ue0SVLMSecfCHqkgUVmBoRb9ibn0plMUKt7ynUMdTkfet0aeWYbrkjq6Spr+c5bws oZQbiZI9JjXYzOOV3j4NYu0ga9zSOjK4bBnLRJUAuIms+Lvjr7pcQLe1gbQmwQ6KA4IQSx l6cKRqwqldyZAt6iyLZa+09OmEt03ic= X-MC-Unique: xn3IFTeVN1ySgB9mNBq4Wg-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=vYOx8opSCoTULd2EmOhrq81Pwh9FMjyL0FWLrWxUzm8=; b=iw3ZB1tnbAx5O6dBPI/t5ARgHrP5sEVcqWYBFSLX6NmZf+uZ4JVPBCfUlGpo/+9eKg pv8Oxm4CPiFpmZsxsLDRe8atna4eUiG/h1mMftfu2v2MUcPLtl+z18LLGf3nEsyCGRGD 6iFCLPnUUC1GsP+RqFlmbCxG53lg4XBxX7si9K8Khmc6bI27qLhIULBFBVuH0ql4q0tf +AuysLUAFiBri2Rk8OKeGzVwftpTOGx84aw1alCD1RwcoK08oD4Uae14q1ovlcn5ExBZ mM9Uy7wqQXt0g29MOVmLZxaRupEXEYA6rPVB3X1rPCFbk4ZuTiDO8B8Gk0JEmWlSEfS2 YEHw== X-Gm-Message-State: AOAM533BXzjYlIYFqJX8sCu9GEWYOB2eD43EtozzNC91rI5Ng+KXS2I6 gnFoNlUc6FkkFiLoHmERNywin4cadTotMxYasitCK53mMTrMLBqGtEuUBeQS2a6CAhgMbJR9TP2 IFl+2sNUt6OBiJQ== X-Received: by 2002:a5d:44c1:: with SMTP id z1mr20631228wrr.375.1605024118686; Tue, 10 Nov 2020 08:01:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBGAi6m68fs5TkQwd+62rxmy1rHs9d+cjHH/skbR6GrwiXsXvCg9UjRHA4kl1i8CGtvMAkHQ== X-Received: by 2002:a5d:44c1:: with SMTP id z1mr20631198wrr.375.1605024118449; Tue, 10 Nov 2020 08:01:58 -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 03/16] gitlab-ci: Replace YAML anchors by extends (native_test_job) Date: Tue, 10 Nov 2020 17:01:27 +0100 Message-Id: <20201110160140.2859904-4-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) '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 d013504593a..c8fdaecaf51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,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: @@ -81,7 +81,7 @@ build-system-ubuntu: - build =20 check-system-ubuntu: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-ubuntu artifacts: true @@ -90,7 +90,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 @@ -113,7 +113,7 @@ build-system-debian: - build =20 check-system-debian: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-debian artifacts: true @@ -122,7 +122,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 @@ -145,7 +145,7 @@ build-system-fedora: - build =20 check-system-fedora: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-fedora artifacts: true @@ -154,7 +154,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 @@ -177,7 +177,7 @@ build-system-centos: - build =20 check-system-centos: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-centos artifacts: true @@ -186,7 +186,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 @@ -284,7 +284,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 @@ -348,7 +348,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 @@ -369,7 +369,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 @@ -390,7 +390,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