From nobody Mon Feb 9 06:00:24 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=1604873990; cv=none; d=zohomail.com; s=zohoarc; b=kqvLykme4WdFLnmuR5/1+dWYgrdHhH2AgzqPQVgmhCMVTZUnZ4Rf26oUSDlP5TsMZA+OahIW837ydbqTT8UdYtUx9FMYUmB4By6jeeVjcYPfpmiqebQa6IzsiTH0BDoGDNRk7RbFNNiw5W2tuDFN16QJtQLr/R9EUEf8vzfi66w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604873990; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=EMPOslgUIn2gPkqETCgv4eVsfUBUm27ATWoJ+FEEAoc=; b=fEr4I6KL1tF9WCkEihf9rDf7PH1il0AY733E4pvNvRoNBzPLK/fJCTlMwYyT7JbRZjdVEAnbS4lW6a2qeXcF+PpRT8QQIDOdlOuO2Zhx0sZkLDQz8i3CY0lcaxo+CDVhjfMvO1cUEm1NaMpJOrcy8AodExx4daNjGrVfutBrZ3U= 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 1604873990892225.2851149572674; Sun, 8 Nov 2020 14:19:50 -0800 (PST) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-197-umGr_z8NOUWPYr2gCr0t5A-1; Sun, 08 Nov 2020 17:19:48 -0500 Received: by mail-wr1-f70.google.com with SMTP id r16so3442386wrw.22 for ; Sun, 08 Nov 2020 14:19:48 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id x10sm10538676wrp.62.2020.11.08.14.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Nov 2020 14:19:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604873989; 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=EMPOslgUIn2gPkqETCgv4eVsfUBUm27ATWoJ+FEEAoc=; b=UDGgX5scR9fVrnXT6kCS3Hip30Cqcm5rLQzw6tq2BTmqHU0PAQc4QQhL7mSWZyzkcF7o4H 2E2o4wQPRAFsSUcp2A4a2DhCDTaeWRbHaj2FEKFoGty66XCmv0mPKvCVRLTZHI2g8RihYi 3wGslQfTDSt6qYZU8j0egBaOsnXBb5M= X-MC-Unique: umGr_z8NOUWPYr2gCr0t5A-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=EMPOslgUIn2gPkqETCgv4eVsfUBUm27ATWoJ+FEEAoc=; b=cLWPCaCSelJCM4fKb2zY6lhn0OrW1K85byX6PgzrtcU4lz4OK1qCz3OivAmfhHHMJ5 k9TtXgCEetwbRzPNzFJe6rZxBaP0rLTX2Ycj7L/bt8cIMrNANGnUuz/OWIAjGPr2rF8g 35KXlLY11x6g34CWH7Pm7wvMmm3PeuCub+nN5JEtAF4gcBCH6niJ7mAdvXx6mqLLnieo KeNNkNmTSxPFshI4hxdMJJ1arDXod8dXoLXvM2Dkiq6HLFV9CyEO4FJ0X3tGdqlBcJe8 NNEKSobPFTuJLMC8Pv4bHpIVcGsTFoC9xpdso0NacUvT6A4J5S5qPlCuvN8eq68sGLh9 uTcg== X-Gm-Message-State: AOAM530Nz5P6QKErpP6RoSBuiYkIxBl61rPaIIlS69bq6un7iTwr/Sxj JegKdHb88SVsOodqMDGS1sAMybU+8UvZbPtWPDhKGnxt7razeTZxy/g2EN88C5CNXsLE2BMityJ mUUrm2AYbHsVKZw== X-Received: by 2002:a1c:1d51:: with SMTP id d78mr11136474wmd.60.1604873987326; Sun, 08 Nov 2020 14:19:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJx790b5XkPQ6PUx5vJM6dr0rGjJdTXYtHNpMdZF+xz0WZWWMx46WM0O0qNCw79SVOgroxt7Gw== X-Received: by 2002:a1c:1d51:: with SMTP id d78mr11136465wmd.60.1604873987193; Sun, 08 Nov 2020 14:19:47 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Cleber Rosa , "Daniel P . Berrange" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Subject: [PATCH v3 04/11] gitlab-ci: Replace YAML anchors by extends (native_test_job) Date: Sun, 8 Nov 2020 23:19:18 +0100 Message-Id: <20201108221925.2344515-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201108221925.2344515-1-philmd@redhat.com> References: <20201108221925.2344515-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 Reviewed-by: Wainer dos Santos Moschetta --- .gitlab-ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a96e7dd23e5..e11f80f6d65 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: @@ -80,7 +80,7 @@ build-system-ubuntu: - build =20 check-system-ubuntu: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-ubuntu artifacts: true @@ -89,7 +89,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 @@ -111,7 +111,7 @@ build-system-debian: - build =20 check-system-debian: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-debian artifacts: true @@ -120,7 +120,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 @@ -143,7 +143,7 @@ build-system-fedora: - build =20 check-system-fedora: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-fedora artifacts: true @@ -152,7 +152,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 @@ -175,7 +175,7 @@ build-system-centos: - build =20 check-system-centos: - <<: *native_test_job_definition + extends: .native_test_job needs: - job: build-system-centos artifacts: true @@ -184,7 +184,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 @@ -282,7 +282,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 @@ -346,7 +346,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 @@ -367,7 +367,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 @@ -388,7 +388,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