public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v4 11/15] CI: Get rid of setting repro from outside
Date: Mon,  6 Feb 2023 13:33:58 +0100	[thread overview]
Message-ID: <20230206123402.2727-12-ubely@ilbers.de> (raw)
In-Reply-To: <20230206123402.2727-1-ubely@ilbers.de>

From: Anton Mikanovich <amikan@ilbers.de>

To make test cases more unified do not allow to change repro test
execution. This test case will always run for "full" now.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 .gitlab-ci.yml      |  2 +-
 scripts/ci_build.sh | 15 +--------------
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1d22a6f..d1e82492 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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 -r;
+          scripts/ci_build.sh -q;
       fi
   cache:
     key: "$CI_COMMIT_REF_SLUG"
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index 20c6d9e9..5350ad85 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -51,7 +51,6 @@ show_help() {
     echo "    -d, --debug              enable debug bitbake output."
     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 "    -t, --timeout SEC        specify time in seconds to wait before stop QEMU."
     echo "                             The default is: 300"
@@ -90,14 +89,6 @@ do
     -q|--quiet)
         QUIET="1"
         ;;
-    -r|--repro)
-        REPRO_BUILD="1"
-        # This switch is deprecated, just here to not cause failing CI on
-        # legacy configs
-        case "$2" in
-        -s|--sign) shift ;;
-        esac
-        ;;
     -n|--norun)
         NORUN="1"
         ;;
@@ -105,7 +96,7 @@ do
         TIMEOUT=$2
         shift
         ;;
-    -c|--cross)
+    -c|--cross|-r|--repro|-s|--sign)
         # Just not to cause CI failures on legacy configs
         echo "warning: deprecated parameter '$key'"
         ;;
@@ -118,10 +109,6 @@ do
     shift
 done
 
-if [ -z "$REPRO_BUILD" ]; then
-    TAGS="$TAGS,-repro"
-fi
-
 if [ -n "$NORUN" ]; then
     TAGS="$TAGS,-startvm"
 else
-- 
2.20.1


  parent reply	other threads:[~2023-02-06 12:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06 12:33 [PATCH v4 00/15] Add developers test Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 01/15] CI: Enable downloads dir sharing Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 02/15] CI: Add IMAGE_INSTALL override Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 03/15] CI: Add developers test Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 04/15] CI: Remove duplicated targets Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 05/15] CI: move to avocado to 99.0 Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 06/15] CI: fix shell coding style Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 07/15] CI: install qemu-system when qemu testing is requested Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 08/15] testsuite: remove tests from "fast" set Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 09/15] CI: Get rid of setting cross from outside Uladzimir Bely
2023-02-06 12:33 ` [PATCH v4 10/15] CI: Make cross compile to be default Uladzimir Bely
2023-02-06 12:33 ` Uladzimir Bely [this message]
2023-02-06 12:33 ` [PATCH v4 12/15] CI: Allow example module checking disabling Uladzimir Bely
2023-02-06 12:34 ` [PATCH v4 13/15] testsuite: Fix terminal broken after run test executed Uladzimir Bely
2023-02-06 12:34 ` [PATCH v4 14/15] CI: Update testsuite documentation Uladzimir Bely
2023-02-06 12:34 ` [PATCH v4 15/15] CI: Add single target test case Uladzimir Bely
2023-02-09  8:39 ` [PATCH v4 00/15] Add developers test Uladzimir Bely
2023-02-09 15:46   ` Henning Schild
2023-02-10  2:42     ` Uladzimir Bely
2023-02-10  9:44       ` Henning Schild
2023-02-10  9:51         ` Uladzimir Bely
2023-02-10 10:19           ` Henning Schild
2023-02-10 17:13             ` Baurzhan Ismagulov
2023-02-10 19:54               ` Henning Schild
2023-02-10 20:04                 ` Henning Schild
2023-02-12 17:16                 ` Baurzhan Ismagulov
2023-02-10 17:36             ` Henning Schild
2023-02-14  5:43 ` Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230206123402.2727-12-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox