From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7067428780549079040 X-Received: by 2002:a50:cc89:0:b0:400:8f82:99e8 with SMTP id q9-20020a50cc89000000b004008f8299e8mr19744939edi.7.1646063262344; Mon, 28 Feb 2022 07:47:42 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:d302:0:b0:40b:657:ac46 with SMTP id p2-20020aa7d302000000b0040b0657ac46ls2562033edq.3.gmail; Mon, 28 Feb 2022 07:47:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzP5B34fGo3gCKZnvdKEbh7tKVVZtgLC42/mtT0kp0JiZtivpzb10fgv4Q3y+lx1j907Gt+ X-Received: by 2002:a05:6402:375:b0:404:c2be:3b8c with SMTP id s21-20020a056402037500b00404c2be3b8cmr19671844edw.247.1646063261576; Mon, 28 Feb 2022 07:47:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646063261; cv=none; d=google.com; s=arc-20160816; b=S32AmLbrXDsmqzVKv4SwGkVHIQCQ9JQXE95eUl7awC2IY1shyYqDxsicEsflTnThwS JcKCZWuTygpgvXkxJjy93YoL5DOS/DRZoGCLEkPVg1LUbglFQpQOK6ixxXOKbvQZY4/C zZOBoNfrs/aHTTpACpK3YwTxfZOk9815FW+okgJv8P58PlsT2rjnrqNZ2x18B0BR6lkU h2FRlWfDqQCb6VMGFXm/vP7VF1UwfTe0jG3uSf00dodYcEWpz0CDvEdIb0tk2VbXZKk6 MbvAr8T7TpUrw58QimVRHOtlKQTGACzGozV8BQ2hUYVERNQmHf5lubDN9cEYRJEvz0n8 D6bw== 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=PNerNDeCFMkzaq7CEjgV8i8m40eCMIpcD2wSQyE43YH9pocXelD1jCwG39E3NrBVp2 CN5/MVy5tlg6vXfIdd4h2t8JlKIJpcQQNpeYw7Iw0+8hCJqOPxXUpfa4xIyLKUMKIOXq w6o8SMK6pxW+WdDVCpAjR546AozIj6ZwbBS3Zy4Jmp3kybsulfJpvlJXEdnOWKqOdah9 rruPdzls6dGz3fZNu6gjbUeySU+1VVSy6Ygosk4iZnoXE1B2fj7RO/K8BNWt91FX96/J RfRlL5XtMkEp8ES8baDxrzGTrUzsheM+bpPApXjI3mh6L0HCERmHwZq89O1+KcpmFkA/ 7mRQ== 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 r16-20020aa7cb90000000b00410871504d8si342893edt.0.2022.02.28.07.47.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Feb 2022 07:47:41 -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-213-32-214-37.mgts.dynamic.pppoe.byfly.by [37.214.32.213] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 21SFlZHK015068 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 28 Feb 2022 16:47:41 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v2 4/6] CI: Do not run QEMU start tests from Gitlab Date: Mon, 28 Feb 2022 18:47:25 +0300 Message-Id: <20220228154727.48007-5-amikan@ilbers.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220228154727.48007-1-amikan@ilbers.de> References: <20220228154727.48007-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: U/s5ow2Id+cp 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