From patchwork Mon Oct 28 06:05:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13853064 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88CBBD1358C for ; Mon, 28 Oct 2024 06:05:58 +0000 (UTC) Received: from EUR03-AM7-obe.outbound.protection.outlook.com (EUR03-AM7-obe.outbound.protection.outlook.com [40.107.105.45]) by mx.groups.io with SMTP id smtpd.web11.45143.1730095555034005693 for ; Sun, 27 Oct 2024 23:05:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=ThJAy67a; spf=pass (domain: siemens.com, ip: 40.107.105.45, mailfrom: jan.kiszka@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OscM3EmjJKh0WryjB0r7SUnjRuRCbFLalSoUDriVfLb5223By2efpl8KT1+jaBSmLyyL2JOoCqSX0NvHPh/09mU40rKlCdGl2Q9O56zaTYqyXhenddXu4JqJWHbVw6kSAbsZN3w1ORGa4cW9SsHSsHcn4btnBoQbdZo0/ppEoSP8shubEQFmMuCm43g86lZ6HauTWv87xw3b8P04lNhfrmHUnf654s2Z/vra9LxcXws5pzr0Cbo9RT/5ZiFHmHyX9nI/UTjlIqKqTDRohLhk+XjA4l98/rbMuXbmLnH7ib5Lz/mX/znVgPJaUpHQTLukSRaz3AZRHfXBMs7Ifdm1hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iiXd3bbmZtRpMiHtSBA2gQcIyBgLFqOIq0LFY++QB7E=; b=Nu1KiiOMPMOq2snSgrEzrknIJ5kfSwVQlBV1KKKHMofUjjxR3RbjO8pyz0atXbNSzeFyRfujdOyp6kNbZUEV4uU5BsagzTup4yOGpNvbvOCc7JKbJiSGGxCM595JDyqFNYGgRJpOaVyd2OKmfeY854+7xwe7tG2mFCtmSOEQRHkyb0a5F6mT3PVrqtDaP5uZROWNp9hPFERVzAMro1NknxHR+OEl1KZ5C3PF3Z3uWQKBTTV0vBdK7NV8aj6miCkDCTPIWpimHqKClXIsB5Lm4CWxw5xthc20+VhTdH0JZ0XRv/2dCVrQS/g1oq0Ii51O7AyRTDIrNwk7TzGtR0ajLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iiXd3bbmZtRpMiHtSBA2gQcIyBgLFqOIq0LFY++QB7E=; b=ThJAy67aSHPFOqsiHge72Z06XWiZBCkyqLLCyGcfD39wNdSPbPkb2YJb7FWQVxX98u+BluN3vJqrPxtkqhFsA3IzI594pU96s3t+7rt2Y7PZsaQpc82H5hFCYHQxulBjVQzoHT9kYGBvDE40WosdE+z8DOP7/O4CE2iCo+XLdTsnB1I7alkIkf2VTJdnjbCznRrXKrNpqDu7qckEfwFTG1oZBttGoXDfjBg6E5ylPxkhs2Kgmvi8gskBjaYL6XSTkEKOxZYgtwrhbW0XSejmSguFjWz92UVJ34w47VUPDrtU75cO2b46kDiCjmctlzWLku/fNO2aBK9uBFSxZITlyw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by AS2PR10MB7201.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:60b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.18; Mon, 28 Oct 2024 06:05:52 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408%3]) with mapi id 15.20.8114.007; Mon, 28 Oct 2024 06:05:52 +0000 Message-ID: Date: Mon, 28 Oct 2024 07:05:51 +0100 User-Agent: Mozilla Thunderbird From: Jan Kiszka To: cip-dev Subject: [isar-cip-core][PATCH] kas: Update to release 4.5 Content-Language: en-US Autocrypt: addr=jan.kiszka@siemens.com; keydata= xsFNBGZY+hkBEACkdtFD81AUVtTVX+UEiUFs7ZQPQsdFpzVmr6R3D059f+lzr4Mlg6KKAcNZ uNUqthIkgLGWzKugodvkcCK8Wbyw+1vxcl4Lw56WezLsOTfu7oi7Z0vp1XkrLcM0tofTbClW xMA964mgUlBT2m/J/ybZd945D0wU57k/smGzDAxkpJgHBrYE/iJWcu46jkGZaLjK4xcMoBWB I6hW9Njxx3Ek0fpLO3876bszc8KjcHOulKreK+ezyJ01Hvbx85s68XWN6N2ulLGtk7E/sXlb 79hylHy5QuU9mZdsRjjRGJb0H9Buzfuz0XrcwOTMJq7e7fbN0QakjivAXsmXim+s5dlKlZjr L3ILWte4ah7cGgqc06nFb5jOhnGnZwnKJlpuod3pc/BFaFGtVHvyoRgxJ9tmDZnjzMfu8YrA +MVv6muwbHnEAeh/f8e9O+oeouqTBzgcaWTq81IyS56/UD6U5GHet9Pz1MB15nnzVcyZXIoC roIhgCUkcl+5m2Z9G56bkiUcFq0IcACzjcRPWvwA09ZbRHXAK/ao/+vPAIMnU6OTx3ejsbHn oh6VpHD3tucIt+xA4/l3L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i2yYCXMOgBUifm0 T6Hbf3SHQpbA56wcKPWJqAC2iFaxNDowcJij9LtEqOlToCMtDBekDwchRvqrWN1mDXLg+av8 qH4kDzsqKX8zzTzfAWFxrkXA/kFpR3JsMzNmvextkN2kOLCCHkym0zz5Y3vxaYtbXG2wTrqJ 8WpkWIE8STUhQa9AkezgucXN7r6uSrzW8IQXxBInZwFIyBgM0f/fzyNqzThFT15QMrYUqhhW ZffO4PeNJOUYfXdH13A6rbU0y6xE7Okuoa01EqNi9yqyLA8gPgg/DhOpGtK8KokCsdYsTbk= X-ClientProxiedBy: FR3P281CA0140.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:95::12) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|AS2PR10MB7201:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d617748-6a38-408e-3099-08dcf71693d7 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?0YzZeqWnvcrDiGpREGUdacPCimf0nSg?= =?utf-8?q?x7+wAY7V/+se0RJ9e5NlUePdYef5DGqnoMXzofY7pTR2QrnjrOC0TxtebmAyaQz2a?= =?utf-8?q?XJ7+M1hRqR4k0qheGjF7CDZnSq/T4wrgsruTA73mWX4cckMezYeVqU9TqU9ExjmFW?= =?utf-8?q?gtQfPgJuqNEiQOyV5o1kuXCF/SWqWY/QUcLwc0aOnxdpxtKoINatoObTmTnRbk+AU?= =?utf-8?q?U61xQ4ui6/1KG9WR6j2AxWCfcn+nvM5DMRaJ2qtyCSPaPtVqN6rLkfsHmiE2VC0Y/?= =?utf-8?q?iCFp/jc6L4S6/fKxbz6uF4BAZm11mLxo55HH4ADDg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NJj0KCJxSE1guR0?= =?utf-8?q?QrcyHSKM8YLjUQ?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?yj5DKKvHlNgqk6Gye+sJdmGgWQPk?= =?utf-8?q?awijvyxnjS9ZIplGpRaAwLcXMUNNeKcOJ7Hxspt08mTPsbbesx9f0v56Ppra9Q1qb?= =?utf-8?q?qRJYLEFqpijzh2jaZ3QVwK5OFn7Nsm4o00h4wUf9nhaU+DdjCeTSvaTwJmT6+CoNP?= =?utf-8?q?3vDC+F5VCQlqFnC4tzigIGrC51wyAfc1hoZL6ExU7VJq2T5Vt4wXdTdT+bchC81Y9?= =?utf-8?q?6IWJo0a7fkPDg2DnHQoJ+6aei/SnxxUuGFHmvIhJfIGB6+YiQ+N/lxWjj/y6/Pc/E?= =?utf-8?q?0mQz9qcnLN4cBCpk9Vn8Dx99fdIJCOscx2YwRqB9s3cs3hSx1OHFFPCCk2VMfNdzq?= =?utf-8?q?stqoGlWQC2fB2JblIAqbdiyW1/uk+BA64bRwZkXuFsc3Yj6AQofKdSdIriH89FtfQ?= =?utf-8?q?Q1W3X6WAitcL0rl0IEZ+khvo1C1wCuozvWodW7xJGXeiAwUdmnNG+Yyyj0C9pXRUO?= =?utf-8?q?sv+XiQLQP7BGbcGbUN/0FCRc/9udO8XSnlvvtNPFAQwKvE5e04B/GJBGtg3Alyu/f?= =?utf-8?q?yZw6BEZrkERw4Ns3k+k6dFqPmkDTin6UY+ONabfywxl9ImaGDZLv3oeo16N3VuS1Z?= =?utf-8?q?/glb8VWk4afxcrT0R6DALdFiEqg8nvqcB86vSusx2ADiLDKVMzZ1iHYQRV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f-8?q?oycRgU2+S91t?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d617748-6a38-408e-3099-08dcf71693d7 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 06:05:52.2349 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DCN+sVZDcHJTLeTWUGkhRoX6Z9talMujILl2+uYV7soXf3FprqsnW8SNeB9zGfB8D73KtRql50+rATc49E4Ybw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR10MB7201 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 28 Oct 2024 06:05:58 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/17082 From: Jan Kiszka No direct impact, just housekeeping. Signed-off-by: Jan Kiszka --- .gitlab-ci.yml | 2 +- kas-container | 53 ++++++++++++++++++++++++++++++++++---------------- 2 files changed, 37 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c92927f..2c6a688b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ # SPDX-License-Identifier: MIT # -image: ghcr.io/siemens/kas/kas-isar:4.3.1 +image: ghcr.io/siemens/kas/kas-isar:4.5 variables: GIT_STRATEGY: clone diff --git a/kas-container b/kas-container index af938285..6b2131c3 100755 --- a/kas-container +++ b/kas-container @@ -2,7 +2,7 @@ # # kas - setup tool for bitbake based projects # -# Copyright (c) Siemens AG, 2018-2022 +# Copyright (c) Siemens AG, 2018-2024 # # Authors: # Jan Kiszka @@ -27,6 +27,11 @@ set -e +KAS_IMAGE_VERSION_DEFAULT="4.5" +KAS_CONTAINER_IMAGE_PATH_DEFAULT="ghcr.io/siemens/kas" +KAS_CONTAINER_IMAGE_NAME_DEFAULT="kas" +KAS_CONTAINER_SELF_NAME="$(basename "$0")" + usage() { SELF="${KAS_CONTAINER_SELF_NAME}" @@ -144,11 +149,6 @@ run_clean() { fi } -KAS_IMAGE_VERSION_DEFAULT="4.3.1" -KAS_CONTAINER_IMAGE_PATH_DEFAULT="ghcr.io/siemens/kas" -KAS_CONTAINER_IMAGE_NAME_DEFAULT="kas" -KAS_CONTAINER_SELF_NAME="$(basename "$0")" - set_container_image_var() { KAS_IMAGE_VERSION="${KAS_IMAGE_VERSION:-${KAS_IMAGE_VERSION_DEFAULT}}" KAS_CONTAINER_IMAGE_NAME="${KAS_CONTAINER_IMAGE_NAME:-${KAS_CONTAINER_IMAGE_NAME_DEFAULT}}" @@ -330,15 +330,22 @@ while [ $# -gt 0 ] && [ $KAS_EXTRA_BITBAKE_ARGS -eq 0 ]; do case "$1" in --skip|--target|--task) KAS_OPTIONS="${KAS_OPTIONS} $1 $2" - shift 2 + shift 1 + shift 1 || KAS_OPTIONS="--help" ;; -c|--cmd|--command) KAS_BITBAKE_C_OPTION_ARGS="$2" - shift 2 + shift 1 + shift 1 || KAS_OPTIONS="--help" ;; -E|--preserve-env) fatal_error "$1 is not supported with ${KAS_CONTAINER_SELF_NAME}" ;; + --provenance) + KAS_OPTIONS="${KAS_OPTIONS} $1 $2" + shift 1 + shift 1 || KAS_OPTIONS="--help" + ;; --) KAS_EXTRA_BITBAKE_ARGS=$# ;; @@ -347,10 +354,21 @@ while [ $# -gt 0 ] && [ $KAS_EXTRA_BITBAKE_ARGS -eq 0 ]; do shift 1 ;; *) + ARG="$1" + shift 1 + if [ "$KAS_CMD" = "for-all-repos" ]; then + if [ $# -gt 0 ]; then + KAS_REPO_CMD="$1" + shift 1 + else + KAS_REPO_CMD="$ARG" + unset ARG + fi + fi KAS_FILES= # SC2086: Double quote to prevent globbing and word splitting. # shellcheck disable=2086 - for FILE in $(IFS=':'; echo $1); do + for FILE in $(IFS=':'; echo $ARG); do if ! KAS_REAL_FILE="$(realpath -qe "$FILE")"; then fatal_error "configuration file '${FILE}' not found" fi @@ -361,11 +379,6 @@ while [ $# -gt 0 ] && [ $KAS_EXTRA_BITBAKE_ARGS -eq 0 ]; do KAS_FILES="${KAS_FILES}:${KAS_REAL_FILE}" fi done - shift 1 - if [ "$KAS_CMD" = "for-all-repos" ]; then - KAS_REPO_CMD="$1" - shift 1 - fi ;; esac done @@ -401,7 +414,7 @@ if [ "${KAS_CMD}" = "menu" ]; then set -- "$@" -e _KAS_REPO_DIR_HOST="$(readlink -fv "${KAS_REPO_DIR}")" fi - BUILD_SYSTEM=$(tr '\n' '\f' 2>/dev/null < ${KAS_FIRST_FILE} | \ + BUILD_SYSTEM=$(tr '\n' '\f' 2>/dev/null < "${KAS_FIRST_FILE}" | \ sed -e 's/\(.*\fconfig KAS_BUILD_SYSTEM\f\(.*\)\|.*\)/\2/' \ -e 's/\f\([[:alpha:]].*\|$\)//' \ -e 's/.*default \"\(.*\)\".*/\1/') @@ -439,7 +452,7 @@ if [ "$(id -u)" -eq 0 ] && [ "${KAS_ALLOW_ROOT}" != "yes" ] ; then "KAS_ALLOW_ROOT=yes to override." fi -set -- "$@" -v "${KAS_REPO_DIR}":/repo:${KAS_REPO_MOUNT_OPT} \ +set -- "$@" -v "${KAS_REPO_DIR}:/repo:${KAS_REPO_MOUNT_OPT}" \ -v "${KAS_WORK_DIR}":/work:rw -e KAS_WORK_DIR=/work \ -v "${KAS_BUILD_DIR}":/build:rw \ --workdir=/repo \ @@ -505,6 +518,11 @@ if [ -f "${GITCONFIG_FILE}" ]; then -e GITCONFIG_FILE="/var/kas/userdata/.gitconfig" fi +if [ -f "${REGISTRY_AUTH_FILE}" ]; then + set -- "$@" -v "$(readlink -fv "${REGISTRY_AUTH_FILE}")":/var/kas/userdata/.docker/config.json:ro \ + -e REGISTRY_AUTH_FILE="/var/kas/userdata/.docker/config.json" +fi + if [ -t 1 ]; then set -- "$@" -t -i fi @@ -539,7 +557,7 @@ if [ -n "${KAS_REPO_REF_DIR}" ]; then -e KAS_REPO_REF_DIR=/repo-ref fi -for var in TERM KAS_DISTRO KAS_MACHINE KAS_TARGET KAS_TASK \ +for var in TERM KAS_DISTRO KAS_MACHINE KAS_TARGET KAS_TASK KAS_CLONE_DEPTH \ KAS_PREMIRRORS DISTRO_APT_PREMIRRORS BB_NUMBER_THREADS PARALLEL_MAKE \ GIT_CREDENTIAL_USEHTTPPATH; do if [ -n "$(eval echo \$${var})" ]; then @@ -587,4 +605,5 @@ while [ $KAS_EXTRA_BITBAKE_ARGS -gt 0 ]; do KAS_EXTRA_BITBAKE_ARGS=$((KAS_EXTRA_BITBAKE_ARGS - 1)) done +# shellcheck disable=SC2086 trace ${KAS_CONTAINER_COMMAND} run "$@"