From patchwork Sun Dec 6 18:55:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11954247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-23.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E74FAC4361B for ; Sun, 6 Dec 2020 18:55:43 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 A421622D08 for ; Sun, 6 Dec 2020 18:55:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A421622D08 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.45755.81185 (Exim 4.92) (envelope-from ) id 1klzBq-0005cL-OS; Sun, 06 Dec 2020 18:55:22 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 45755.81185; Sun, 06 Dec 2020 18:55:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1klzBq-0005cE-Kz; Sun, 06 Dec 2020 18:55:22 +0000 Received: by outflank-mailman (input) for mailman id 45755; Sun, 06 Dec 2020 18:55:21 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1klzBp-0005bW-J3 for xen-devel@lists.xenproject.org; Sun, 06 Dec 2020 18:55:21 +0000 Received: from us-smtp-delivery-124.mimecast.com (unknown [216.205.24.124]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id ff6edc66-9128-4fcf-9263-2bed66b4cdd6; Sun, 06 Dec 2020 18:55:20 +0000 (UTC) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-431-YPwrwj12MxSAPXxn5W2S1g-1; Sun, 06 Dec 2020 13:55:18 -0500 Received: by mail-wm1-f71.google.com with SMTP id a134so3245209wmd.8 for ; Sun, 06 Dec 2020 10:55:18 -0800 (PST) Received: from localhost.localdomain (101.red-88-21-206.staticip.rima-tde.net. [88.21.206.101]) by smtp.gmail.com with ESMTPSA id v7sm11353163wma.26.2020.12.06.10.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 10:55:16 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: ff6edc66-9128-4fcf-9263-2bed66b4cdd6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607280920; 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=J0caE/rg850u7bwr+Q+jKihpcnbP+o9Z+fIMhlSMarg=; b=P4Z0ATzxM3uQDdwrsK6NPVownN6Vh+jBf4n3ODAK1USO/vJkWtEq1fS3XVAStP9lHUi67h DXQhgJabcFgtRXmBgqWLIvkq4K7qDiYSc9Ir4b2KnA2+74GOqu4ghOJFX4Ov6GhvlNy0mq EOgAjr9IyO3oJOxUL+q/I8fiNahWczg= X-MC-Unique: YPwrwj12MxSAPXxn5W2S1g-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=J0caE/rg850u7bwr+Q+jKihpcnbP+o9Z+fIMhlSMarg=; b=ZGstSD7YyPdWZ/VfsSAxsPKxuZG1rtsA+6Fi+v1almZpxYYZUHfQJvX6mUnPh5AUR2 +uqBdOM9zwUcoDShmNbOf9XoU++eRWRkje/xvk5OIE5AzPEH1CMxVW9KqmhHFkAwrfwE jO0pOQ4FGk9K784gsQ+isSTfR1mR3IkrdNEqdXXTtnuS09s/PAyzaiNvcnMnZeQirX1y 5+sXc1HGg6dza7hVxXEOIGt7GZyfC5GBR7oJEwPobZrGc7QIhpz366xtxZBNPc/O+zfl bATIX8+NE/9W6hsDmhmOM0wjlpMLeeF2ckgwxb04mkiYSMfxwqvyNOmzPDUr5Dn+/W38 KfZQ== X-Gm-Message-State: AOAM532AYSGe16zKXYzI3zbhGOM3zSbSYH/eNq0ZYN8HUkUerrsJxfeH C96i9x3G0y4gZeDMNax3XnrjmCnNnpDuVuUR4CxWVSe3xt3OXOCNXbLaLjhK/yUyPH+rsYB3jzz ToB/7JxdIRzpPuL7DFPMCCtjVHq8= X-Received: by 2002:a5d:6447:: with SMTP id d7mr15842847wrw.96.1607280917541; Sun, 06 Dec 2020 10:55:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5Mv3+kYooSf15r+r2aJLz/Qnqkoua9wFQmOH5L1QMkE6WgvTm77oljoy/QdNzxy3aicjEtQ== X-Received: by 2002:a5d:6447:: with SMTP id d7mr15842818wrw.96.1607280917387; Sun, 06 Dec 2020 10:55:17 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?A?= =?utf-8?q?lex_Benn=C3=A9e?= , Aleksandar Rikalo , xen-devel@lists.xenproject.org, kvm@vger.kernel.org, Wainer dos Santos Moschetta , Jiaxun Yang , Willian Rampazzo , Paul Durrant , Huacai Chen , Anthony Perard , Marcelo Tosatti , Stefano Stabellini , Claudio Fontana , Halil Pasic , Peter Maydell , Christian Borntraeger , Cornelia Huck , David Gibson , Thomas Huth , Paolo Bonzini , qemu-s390x@nongnu.org, Aurelien Jarno , qemu-arm@nongnu.org Subject: [PATCH 1/8] gitlab-ci: Replace YAML anchors by extends (cross_system_build_job) Date: Sun, 6 Dec 2020 19:55:01 +0100 Message-Id: <20201206185508.3545711-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201206185508.3545711-1-philmd@redhat.com> References: <20201206185508.3545711-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 '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 More importantly it allows exploding YAML jobs. Reviewed-by: Wainer dos Santos Moschetta Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- .gitlab-ci.d/crossbuilds.yml | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml index 03ebfabb3fa..099949aaef3 100644 --- a/.gitlab-ci.d/crossbuilds.yml +++ b/.gitlab-ci.d/crossbuilds.yml @@ -1,5 +1,5 @@ -.cross_system_build_job_template: &cross_system_build_job_definition +.cross_system_build_job: stage: build image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest timeout: 80m @@ -13,7 +13,7 @@ xtensa-softmmu" - make -j$(expr $(nproc) + 1) all check-build -.cross_user_build_job_template: &cross_user_build_job_definition +.cross_user_build_job: stage: build image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest script: @@ -24,91 +24,91 @@ - make -j$(expr $(nproc) + 1) all check-build cross-armel-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-armel-cross cross-armel-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-armel-cross cross-armhf-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-armhf-cross cross-armhf-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-armhf-cross cross-arm64-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-arm64-cross cross-arm64-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-arm64-cross cross-mips-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-mips-cross cross-mips-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-mips-cross cross-mipsel-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-mipsel-cross cross-mipsel-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-mipsel-cross cross-mips64el-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-mips64el-cross cross-mips64el-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-mips64el-cross cross-ppc64el-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-ppc64el-cross cross-ppc64el-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-ppc64el-cross cross-s390x-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-s390x-cross cross-s390x-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-s390x-cross cross-win32-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: fedora-win32-cross cross-win64-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: fedora-win64-cross