| Message ID | 20240314073047.29465-12-ubely@ilbers.de |
|---|---|
| State | Superseded, archived |
| Headers | show
Return-Path: <isar-users+bncBDMIDDH5TIOBBMWPZKXQMGQEDNU5KIA@googlegroups.com>
Received: from shymkent.ilbers.de ([unix socket])
by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA;
Thu, 14 Mar 2024 08:31:46 +0100
X-Sieve: CMU Sieve 2.4
Received: from mail-lf1-f61.google.com (mail-lf1-f61.google.com
[209.85.167.61])
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id
42E7V4aJ021591
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <iupwgm@isar-build.org>; Thu, 14 Mar 2024 08:31:05 +0100
Received: by mail-lf1-f61.google.com with SMTP id
2adb3069b0e04-513c9f60a60sf637726e87.3
for <iupwgm@isar-build.org>; Thu, 14 Mar 2024 00:31:05 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1710401459; cv=pass;
d=google.com; s=arc-20160816;
b=MSL/6eEEwDgW0L4mYdVCtv8Orq6zcYNIzMH8SF4qeIEX1I+PzjFmrZzYQHcZR01Qar
K1ZvvOcWbKyyJ0FOfnbRJPot+MRrWDdNuO6PUKuJW9yP+FERaK6hBJJ+Wiv5MVzwH7tZ
j3cKGZSNZCqxhqtlSuDxgx0ttQaq92nR+9mTVWvyFsLa9vqnTfJalpgcGcYfzRUVw8cr
5fxnck8mLbsieScTDn8jgsblVVs6vZJe8LbVCndgop4RzxXjSvEvXx4Pi4taT29Zm1HC
wqQUwAr5P5b24Gda/+ze/CsKN87zMWP1EYbdeCN2ycnmrrv6bE/ioycL4ztcQRrVVfzm
vnqg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:mime-version:references:in-reply-to
:message-id:date:subject:to:from:sender:dkim-signature;
bh=O1qvl3Jp8IbBdTngy0gkuHqoBTF9sSU90N+RAqy0+1c=;
fh=TcdJoYWi01U0KAyuQ3bpPbggGBifVu4nBWWTx0tvwfk=;
b=UZ64aHXylPgUGTok05HMovaYfyVGM16/F11hhzkhMh/0hHBO6+61NMBucW+dl7oaqJ
3H23WT8iWmQRmkuGFZclS3IL/cFkSNMaGxPYYMPTLe9C2JgHPxMteqi5iyJjuepzGs1w
QDEr0H8UbhkDxoDuFRPjg47oUGOVkbRJ1qW+9/KukNfoylAhcCbHa+BGcKvppIwIirtM
sSvZ0lTAAthSNqqg3+XmtT0POGRQZQmqbrcezvMouQnyeXV4SaI1MGHqAXGSb0XCltRk
NNuAk8xh09mn8vtC6M6u6YgjWPV79fO9mANQO3g5ch6l9r+5MWXsvOr28ilGfBXOpTGu
K0hQ==;
darn=isar-build.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
spf=pass (google.com: domain of ubely@ilbers.de designates
85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1710401459; x=1711006259;
darn=isar-build.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:references:in-reply-to:message-id
:date:subject:to:from:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=O1qvl3Jp8IbBdTngy0gkuHqoBTF9sSU90N+RAqy0+1c=;
b=FBEWgBozxWYxJ+O1NcM7F8+Cha2eNJiSjmHyXOiwyuRMEsLNteFSxjA9ze/415lc9D
U/onLlRA38OXBmEZfszTUlOQgxUknT5X9b+yprM8wOtYlWwV6zo2717+g33rWT9VBlKd
qKroEzjEXayIBIZVWI2iH6QcB5zxNPPAltiY2w9Gwn6++uib9g0fuliv1UWYLJCxzMeG
q3DA0lv/Nc5gkhaWhavh032cXwgGevQxRGo7LyiJPfmXhe5ePZd1K4RbOwfBLVWTE6/1
sIq0JEbf4I/7AHB/+XoqRhJ+d9Qrun0wd9yvGhrKs65yEroYJKP018ThsKDoHUnOM9+c
nMlA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1710401459; x=1711006259;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:to:from:x-beenthere
:x-gm-message-state:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=O1qvl3Jp8IbBdTngy0gkuHqoBTF9sSU90N+RAqy0+1c=;
b=wI5eLUushhv6jYOCDPDgwxqvMwctyHKnfLf8vur9KSDrrLa2J0cyueW15iZHiTM/uc
uCRi82by5kQ+3f8wYfdqXM8sHDBV7j4wW5JtgRsB9WbbT/QKQ69hk3mOGuxb5Kp/ZSei
TqTGv2EiU2m7KI2g1/FgkeAzd0WV0oBqfICEk7mbmeu2T6pl//V4OI02qhxnC6yPBXZF
nLmVXc9gkJl+ViOTShu9dgEDIrXAt2cbvlpb3QcEqGnDz+/XcWHBnWaGhXMKbKYjPv7q
0TN0uQyGQjzZasbSbZu2v7tHinoECERgw/+S/kQy+YRNWCK3d+mrl3m83BTBXnusspFF
pEkA==
Sender: isar-users@googlegroups.com
X-Forwarded-Encrypted: i=2;
AJvYcCWlQXmi2KOSEOdVOPv0SHM+dh7Tjc+m5xEIySS2kPVshgAsqcdbIlPuB9i6fWAIuOVxO0C/5V1LSVVQGsKv023pCuwHptI=
X-Gm-Message-State: AOJu0Yx8h1Ju230cQbsFl5vh/eWcdFrAWSyOKAmJkG+cWV0P15/1Wl2F
h4S6M1HtZsaXFYoWTXp1ji3lt0/hN+iIlSi1Sw0IXXmkDQmJpyP9
X-Google-Smtp-Source:
AGHT+IEo8Qsv/IcvNwlLmjq2JZ2ym12vVItNROuAy1gOGVWU4nA/FsFWb3xbIZaBS4GbR0gdcf1udg==
X-Received: by 2002:ac2:4d8a:0:b0:513:177e:4254 with SMTP id
g10-20020ac24d8a000000b00513177e4254mr495278lfe.14.1710401458468;
Thu, 14 Mar 2024 00:30:58 -0700 (PDT)
X-BeenThere: isar-users@googlegroups.com
Received: by 2002:a05:600c:5125:b0:413:c1d:cfa5 with SMTP id
o37-20020a05600c512500b004130c1dcfa5ls316036wms.1.-pod-prod-09-eu; Thu, 14
Mar 2024 00:30:56 -0700 (PDT)
X-Received: by 2002:a05:600c:5013:b0:413:f3b4:fd6b with SMTP id
n19-20020a05600c501300b00413f3b4fd6bmr398858wmr.7.1710401456518;
Thu, 14 Mar 2024 00:30:56 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1710401456; cv=none;
d=google.com; s=arc-20160816;
b=Y3le9dIlkha0A0+o+PbghAzOLfpNeVChA6xtTqgevbgyJlhxVnPViTOyjRRQlK4cFO
zsAYG3jjN5xe7SlQEARHaXGkKjmdEHuj00udAjAH2ezLxp5XqZzT85zpbZFwj+wcCRZU
p1Z1vpM9KXFtC688ycjG3Q1Pg8cZHH6q8kZsjq8QSkmpSCLOIOVUveJej7bGOMN2bmQu
/RrwB7WtTYkHy3KJRvbyJxgGjUbp1t1sBSe/xCHtYedxAtCW/04/r6gY+fO4XtZ6sTfs
Cc7vjNA0DPGT/w7cuMnI7nIrMO7oz66OaTMxCnT+oKFWlA7RnkOf9bEHWtPQxQp+xMro
ihmw==
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:to:from;
bh=5CWp3OmA9+Yw2s/raugYEsntGWgTd8rDDdctQUTHmIg=;
fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=;
b=cWm/gxZ8ZSuBC4oGAgk5V/VE/bqjwu9VEHWC+R7QnmkQoSvfFIZ4rALu/aJjMJR6VA
j0tXEHzX5paF2SyYioc7BW2Z36O0YIWDvQlSi6FdfuCcjwW3JSZT6ZBW855emG5EiSIC
owmcNBHK2aYprkUyw/jca5bQUbeYF2LfsdpmswwpjKYW9w+z15KFWmAuKX6KvX+iwaRd
iFHOqyxCqSP2zCesgMm3q6iVcZM0+e0MeI9gIyPfDLJYX8MN4Yf++qNtSuQM3sPwdsIE
9CdypaBl92Ut6Y7evdu+Zr9YzSrUFRLME5i92qvISMQM0JY96N9rCM75+kdC9lZ38g3l
n33A==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
spf=pass (google.com: domain of ubely@ilbers.de designates
85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de
Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166])
by gmr-mx.google.com with ESMTPS id
j13-20020a05600c190d00b00413ebf7640dsi156610wmq.1.2024.03.14.00.30.56
for <isar-users@googlegroups.com>
(version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
Thu, 14 Mar 2024 00:30:56 -0700 (PDT)
Received-SPF: pass (google.com: domain of ubely@ilbers.de designates
85.214.156.166 as permitted sender) client-ip=85.214.156.166;
Received: from hp15.localdomain
(mm-209-185-213-37.mogilev.dynamic.pppoe.byfly.by [37.213.185.209])
(authenticated bits=0)
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id
42E7UoA6021482
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <isar-users@googlegroups.com>; Thu, 14 Mar 2024 08:30:55 +0100
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v6 11/11] ci_build.sh: Install python3-apt if not installed
Date: Thu, 14 Mar 2024 10:27:28 +0300
Message-ID: <20240314073047.29465-12-ubely@ilbers.de>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20240314073047.29465-1-ubely@ilbers.de>
References: <20240314073047.29465-1-ubely@ilbers.de>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,
MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS 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-Original-Sender: ubely@ilbers.de
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass
(google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted
sender) smtp.mailfrom=ubely@ilbers.de
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list isar-users@googlegroups.com;
contact isar-users+owners@googlegroups.com
List-ID: <isar-users.googlegroups.com>
X-Spam-Checked-In-Group: isar-users@googlegroups.com
X-Google-Group-Id: 914930254986
List-Post: <https://groups.google.com/group/isar-users/post>,
<mailto:isar-users@googlegroups.com>
List-Help: <https://groups.google.com/support/>,
<mailto:isar-users+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/isar-users
List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>,
<mailto:isar-users+subscribe@googlegroups.com>
List-Unsubscribe:
<mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/isar-users/subscribe>
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
Improving base-apt usage
|
expand
|
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh index 51ed3920..b2fa6b9c 100755 --- a/scripts/ci_build.sh +++ b/scripts/ci_build.sh @@ -19,7 +19,7 @@ if ! command -v avocado > /dev/null; then sudo apt-get update -qq sudo apt-get install -y virtualenv rm -rf /tmp/avocado_venv - virtualenv --python python3 /tmp/avocado_venv + virtualenv --python python3 /tmp/avocado_venv --system-site-packages # shellcheck source=/dev/null source /tmp/avocado_venv/bin/activate pip install avocado-framework==100.1 @@ -131,6 +131,12 @@ if echo "$TAGS" | grep -Fqive "-startvm"; then fi fi +# install python3-apt +if [ ! -f /usr/share/doc/python3-apt/copyright ]; then + sudo apt-get update -qq + sudo apt-get install -y python3-apt +fi + # Provide working path mkdir -p .config/avocado cat <<EOF > .config/avocado/avocado.conf
This is mostly related to gitlab CI that migth use an image without preinstalled python3-apt. Also, make system python packages available in virtualenv. Signed-off-by: Uladzimir Bely <ubely@ilbers.de> --- scripts/ci_build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)