Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2082DC433EF for ; Wed, 12 Jan 2022 00:14:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6B81383082; Wed, 12 Jan 2022 01:14:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 84181830DC; Wed, 12 Jan 2022 01:14:39 +0100 (CET) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C6EE482F91 for ; Wed, 12 Jan 2022 01:14:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f175.google.com with SMTP id w27so715236qkj.7 for ; Tue, 11 Jan 2022 16:14:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wS+TWnf8nPx40rsV9fw0zTQrln6lx24Hk2vGsxJ+I2s=; b=NBXSTAVpLRaH5irIOPRaKFvS2fZd4DndaS0vqn7ZUBxdD4DMQ8Do5Rf1FwGGaI8AYI k5rIaZGky5HRXZPy1uXMyOTYlTRhTkOpV4C2WpJL1mWctTsmhO1ekjhzRq+keLIAALC0 /KsOpiGZlyiimTewkuxm6M9kcz9zRnLRe7pw3pJ8m5I3SGc/L/dtWtZqROilNgBC0Lwe 7vJ7b48EVwylO9ZXa3DpsPakF7iaPpUIDp+2nIoHPzNdxzjeabelKMEJNJYglLJZHxkh G2P8XWCL5zUFkoYaTC5SHhaWwrgieaHifLdaHbtDLtuNKJO3m0b/qmV9FZUzE9yldaOX n8rA== X-Gm-Message-State: AOAM530WaYpi+Ll3BPhkqg9Bqn+RVkmWFMGwHuDWkAFsisWVOKP2nt28 xUWi8fEE8YFpP5eko8ZnDVljZTZCvA== X-Google-Smtp-Source: ABdhPJxFQ2jp+vht1a6Wolro/B4cIzOpIDIsbiX/2OhH/Dg+iAY8cepUadcmyGqpMUomt2PzO1pKGg== X-Received: by 2002:a05:620a:2221:: with SMTP id n1mr4880278qkh.741.1641946475247; Tue, 11 Jan 2022 16:14:35 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-456a-4482-4d5b-efcf.res6.spectrum.com. [2603:6081:7b01:cbda:456a:4482:4d5b:efcf]) by smtp.gmail.com with ESMTPSA id u10sm8023192qtx.3.2022.01.11.16.14.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 16:14:34 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 1/4] ci: azure: Update to use stages Date: Tue, 11 Jan 2022 19:14:28 -0500 Message-Id: <20220112001431.1280749-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Follow what we do in GitLab CI where we break the jobs up in to stages such that if earlier and often quicker sanity tests fail we don't run everything else. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 670bbc0e1636..d97115668167 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -9,7 +9,9 @@ variables: container_option: -u 0 work_dir: /u -jobs: +stages: +- stage: testsuites + jobs: - job: tools_only_windows displayName: 'Ensure host tools build for Windows' pool: @@ -199,6 +201,8 @@ jobs: export PATH=/opt/gcc-11.1.0-nolibc/arm-linux-gnueabi/bin:$PATH test/nokia_rx51_test.sh +- stage: test_py + jobs: - job: test_py displayName: 'test.py' pool: @@ -381,6 +385,8 @@ jobs: # Some tests using libguestfs-tools need the fuse device to run docker run "$@" --device /dev/fuse:/dev/fuse -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh +- stage: world_build + jobs: - job: build_the_world displayName: 'Build the World' pool: -- 2.25.1