From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7075593626590380032 X-Received: by 2002:a05:651c:b23:b0:247:ee17:e9ed with SMTP id b35-20020a05651c0b2300b00247ee17e9edmr19324096ljr.243.1647415023169; Wed, 16 Mar 2022 00:17:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3f8e:b0:448:2012:773d with SMTP id x14-20020a0565123f8e00b004482012773dls693948lfa.3.gmail; Wed, 16 Mar 2022 00:17:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOCWiulw2yhh40T0DUQIl+i/s8Dk0OE60FhUK9JvrbSY0xo+ZswzUHqphOmCFdxT3wnLkO X-Received: by 2002:a05:6512:3401:b0:448:31b:f053 with SMTP id i1-20020a056512340100b00448031bf053mr17867893lfr.410.1647415022252; Wed, 16 Mar 2022 00:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647415022; cv=none; d=google.com; s=arc-20160816; b=IGZvFAxCatp5u0LFGJyAGQIXX/WISoAhAURZremk2fle1toiJa+dgoQpOWqrf3bByI 9gccoQma6wesQPbdyx5m4WkLnztyUa1RnQeHwd0E4TYErW3aZzo0fx5h6eyqgp/mUltg rffoEryESqNMZUZgHfx3AlLWqFYJ+Hpi5fgVbpBT+dQ4AZs75CGXsVYVfS9hK51s73V7 3WKKN2P4VbajJNkDd4qBugG+mcRfLGusExPRensHBThNkc0fKSik4ibFusVEzOvyivUD eX+NJIuT4JAASHpQI68s2fWkpVTi1Y5UoTcRRBv120XWcx6VRI9ebTJz5fFFvC2T5oPk V5cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=r3jJD8mJwrqH69ARgqqQ/lRmFls9Fb9qFpcRB5raZgk=; b=P/hn98CgRQjcH6DnXE4TeLqh7RFkozyBjSELCeVpOcpBquRbUaUPqANF0L3GDLrMOR yBKJ5pcGgVmB3mptpenByR8khOz6RoNYJaWLrCmt7UzWQwFbRNRWHA88n6odlBJgNgi/ 5FTPcUyf2MpSJy8jpIuEvAaa+zt14DwjI2+c+ehN4sb4D1B6K4Tl9v6Qy/Yzc+GbiICM DjUbnzK2JpT4NG5S7ntLgbgVvc/Yo2LBDiYQw9fhZfRo9xGIv8pgVC2CLn8kwjQwFtrP mBPqV2BFfXNk0J3D3sw/sRX5uzpXKbi5AB30KDLWmDFvnoht2KHEyXlEXmVlNcVuWbiv NEVQ== 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 m20-20020a0565120a9400b00448a84db62dsi66040lfu.10.2022.03.16.00.17.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Mar 2022 00:17:02 -0700 (PDT) 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-14-51-214-37.mgts.dynamic.pppoe.byfly.by [37.214.51.14] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 22G7GtBO021311 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Mar 2022 08:17:01 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v3 4/7] CI: Do not run QEMU start tests from Gitlab Date: Wed, 16 Mar 2022 10:16:44 +0300 Message-Id: <20220316071647.8919-5-amikan@ilbers.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220316071647.8919-1-amikan@ilbers.de> References: <20220316071647.8919-1-amikan@ilbers.de> 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: ogJOtI4cnt+W 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.17.1