From nobody Mon Feb 9 16:51:18 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1605024114; cv=none; d=zohomail.com; s=zohoarc; b=JXVe7WXkt3zFO9rxffO/6UELbRNVmXiJVVBRAlH4O+UkzBSlluNty6+dieHf/wwVzTcGGj0vnmnoJLUSaW+Y3f9b39pB3P+sITueeHNeqLkvNsoxi1jPmlbwgixhcfzmyhKwLJdAQpOE+s4kGjwNot0L+HHL9PZshJ1PacaN50k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605024114; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=HkmWM8pdBxBAkh2ux+VVNAnnOD7tHToqsp9wNXfrvV8=; b=e6/heH+TT5UFKWRH7ZgllXg2PCf9lzbBsKzh0+AU+5z/OnxGlouWra5oX70ep5zf/uJCvEMBr0X4jVHBO77Fy87/3d6UVIn1MHwttyD6NJe2Pkc++NtCIHs12bzlo3RrFxTPbTwEmVB5YU+o5DaWQxpWDEVhq53S4e6ZnqwMh/8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 160502411474826.099621208129633; Tue, 10 Nov 2020 08:01:54 -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-174-92RVHYKnMtOliRNwzs-VRw-1; Tue, 10 Nov 2020 11:01:50 -0500 Received: by mail-wm1-f72.google.com with SMTP id 14so972403wmg.1 for ; Tue, 10 Nov 2020 08:01:49 -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 s202sm3223951wme.39.2020.11.10.08.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 08:01:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605024111; 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=HkmWM8pdBxBAkh2ux+VVNAnnOD7tHToqsp9wNXfrvV8=; b=hgilkgPfmbpTAY4eIyaEbqx5k/jtvVEA1wqBLpzRvIORfcjIpkdXnDjS63SPlXi3V+VKGa jp7P1fHNPpyqjorMKG5G2qNMVk5nblYQUgSIsxP6u6c4EFOPjEsR2eJw32H3gU1octxzPk QyE/T4+yQ6VaDUkJNpcfRkPJ8FFq+1Q= X-MC-Unique: 92RVHYKnMtOliRNwzs-VRw-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=HkmWM8pdBxBAkh2ux+VVNAnnOD7tHToqsp9wNXfrvV8=; b=AlOWnsZ2j5TXe8vJbkev0a6JzY4b+ho1qPkI+x2NnPSLeDUS0msFFWHkfzOzss6/Lx Y1uRmEY12e2Donl0HCjQgsfNzgQ0zALMSehhy2hcCbR5BtJCi+dDVCQFcVixIuNHSNKc MjB5f/+aNm1L7+OhVCf9/GGCxJawaTp7bVNhWk72/y66eD0HjK/yTBWwsrN4It79bEeC 0NtggDJbawoQAyIS30zPfowi5tw2csqnxIObDErsQXVEQt3kA4fqqavU82Vln9NPGK2j RhtxPVG/XAQ66F90Kz34X2VaO/o/ThGLscEDQEN+Vq0gZXKz7ymnq7d56cBLUj9th8P/ 249w== X-Gm-Message-State: AOAM5309XgdSjuDQIB4oeRJUB55pO7+GetEqT492MwdY9VYeJuPoHuut hRomJanCMcnfvb4lgrbfJPmZ1IV+AXA+mn2BIpM1giw5EU6E158q+Wlz6+raV6ggBHmoGe5VK8y c3iTg+QsCBKIKyQ== X-Received: by 2002:adf:e8d0:: with SMTP id k16mr24420340wrn.362.1605024108442; Tue, 10 Nov 2020 08:01:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxy2eFdPYW4fmnkH4NJbkKrmxRNyaQjXI7gT3ixkVz/hBLdql5e1+teZkKL9TZZ+2gQZC2QYQ== X-Received: by 2002:adf:e8d0:: with SMTP id k16mr24420304wrn.362.1605024108081; Tue, 10 Nov 2020 08:01:48 -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 01/16] gitlab-ci: Replace YAML anchors by extends (cross_system_build_job) Date: Tue, 10 Nov 2020 17:01:25 +0100 Message-Id: <20201110160140.2859904-2-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.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 @@ =20 -.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 =20 -.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 =20 cross-armel-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-armel-cross =20 cross-armel-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-armel-cross =20 cross-armhf-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-armhf-cross =20 cross-armhf-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-armhf-cross =20 cross-arm64-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-arm64-cross =20 cross-arm64-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-arm64-cross =20 cross-mips-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-mips-cross =20 cross-mips-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-mips-cross =20 cross-mipsel-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-mipsel-cross =20 cross-mipsel-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-mipsel-cross =20 cross-mips64el-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-mips64el-cross =20 cross-mips64el-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-mips64el-cross =20 cross-ppc64el-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-ppc64el-cross =20 cross-ppc64el-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-ppc64el-cross =20 cross-s390x-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: debian-s390x-cross =20 cross-s390x-user: - <<: *cross_user_build_job_definition + extends: .cross_user_build_job variables: IMAGE: debian-s390x-cross =20 cross-win32-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: fedora-win32-cross =20 cross-win64-system: - <<: *cross_system_build_job_definition + extends: .cross_system_build_job variables: IMAGE: fedora-win64-cross --=20 2.26.2