From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7067428780549079040 X-Received: by 2002:a50:e1c6:0:b0:410:e2e8:9d3 with SMTP id m6-20020a50e1c6000000b00410e2e809d3mr24989141edl.180.1645513995896; Mon, 21 Feb 2022 23:13:15 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:a94a:b0:6d0:76e0:adbd with SMTP id hh10-20020a170906a94a00b006d076e0adbdls801448ejb.9.gmail; Mon, 21 Feb 2022 23:13:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2qUdXym5Ppj4jiU5HWTEYvT7RqX704tPDJAHYvQsia8s039dZwAEUfqgHQN7mcDbG1Yiw X-Received: by 2002:a17:906:4a41:b0:6a7:8167:bdb7 with SMTP id a1-20020a1709064a4100b006a78167bdb7mr17619818ejv.745.1645513995055; Mon, 21 Feb 2022 23:13:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645513995; cv=none; d=google.com; s=arc-20160816; b=Emanoy8S1tBJuS1xK4qTderI7qXBiKGdzXuHqGciVT8LkhwJcT/bbIBLgTZ4BiOg0/ JjH3H4/Nhzn8+G/gfvNslrxHVa0ay3bF7iFQXeaZAX4+TA0zFpi3zENJi23Hu5LCnYsq 6OL9PZwl864eQe1Zz+Jl4BmKVv0whK/t/aHtHgp3DLaLpV6sfh6J962zc8w2hrvcneeF 9k539zTbHwTAQuEb8ujxlTHsEzGd0U4+W1XjvSVLyMV5qCFGgLj0Xx8jbQngrhkQpoUj TBqy+SgAk2BM1AIR/wAh4Uc5yIsT7armlR0XHskSIsN77hCyGsdfL9QJwvJsNwQifCIz 7tlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Tm3ei3ac6AB8avVl8ezKccE1GrQSLMkoZ7lV7S+tvPU=; b=A5L+A0KOR2lMBOK6PWDGE4oZltRSFQ41BW+RCsyIvmvL/IcQfTWPfga431wQTuIdf6 rQ8086M3aBXddFF7/XI2zASTEc2fjY53eybgKQWA6Dxt+sQrG+R4mFSL4LKAQJt0BlTY GitS6ks0AZboYmi/9HssWlzI6YfLmT4FFLvRyjdgCTcBSKZRf0npi7VgLw8lySLbHSAd WKTs6FBZouYo4yJoo0vG1YiloOSfis+thVqqPDSjpHIpRYB62kBn5zNTSXMQrAI5zpl2 ZXy7BfNknPQ9PI4SF/zyb1BtnyiV85PyTZ2Cpv5EvImYVTmwciJLEygwoAL6RPg9dLA/ 8Syw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id x24si681306ejb.2.2022.02.21.23.13.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Feb 2022 23:13:15 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from localhost.localdomain (mm-5-27-214-37.mgts.dynamic.pppoe.byfly.by [37.214.27.5] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 21M7D8Wu019575 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Feb 2022 08:13:14 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH 4/6] CI: Do not run QEMU start tests from Gitlab Date: Tue, 22 Feb 2022 10:12:57 +0300 Message-Id: <20220222071259.157349-5-amikan@ilbers.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220222071259.157349-1-amikan@ilbers.de> References: <20220222071259.157349-1-amikan@ilbers.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: WC29uVK160XG To leave existing behaviour of vm_start tests execution introduce '--norun' flag to use it in .gitlab-ci.yml scripts. Signed-off-by: Anton Mikanovich --- .gitlab-ci.yml | 4 ++-- scripts/ci_build.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37882ef..d0488a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ fast-ci: except: - schedules script: - - scripts/ci_build.sh -q -f -d + - scripts/ci_build.sh -q -f -d -n full-ci: <<: *common-build @@ -37,7 +37,7 @@ full-ci: - PREVIOUS_SHA="$(cat .CI_COMMIT_SHA || true)" - if [ "$CI_COMMIT_SHA" != "$PREVIOUS_SHA" ]; then echo "$CI_COMMIT_SHA" > .CI_COMMIT_SHA; - scripts/ci_build.sh -q -c -r -d; + scripts/ci_build.sh -q -c -r -d -n; fi cache: key: "$CI_COMMIT_REF_SLUG" diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh index fe139d1..ea69553 100755 --- a/scripts/ci_build.sh +++ b/scripts/ci_build.sh @@ -52,6 +52,7 @@ show_help() { echo " -f, --fast cross build reduced set of configurations." echo " -q, --quiet suppress verbose bitbake output." echo " -r, --repro enable use of cached base repository." + echo " -n, --norun do not execute QEMU run tests." echo " --help display this message and exit." echo echo "Exit status:" @@ -100,6 +101,9 @@ do -s|--sign) shift ;; esac ;; + -n|--norun) + NORUN="1" + ;; *) echo "error: invalid parameter '$key', please try '--help' to get list of supported parameters" exit $ES_BUG @@ -113,6 +117,10 @@ if [ -z "$REPRO_BUILD" ]; then TAGS="$TAGS,-repro" fi +if [ -n "$NORUN" ]; then + TAGS="$TAGS,-startvm" +fi + # Provide working path mkdir -p .config/avocado cat < .config/avocado/avocado.conf -- 2.25.1