CI: pin down the kas container version we use in CI

Message ID 20220210123349.24789-1-henning.schild@siemens.com
State Accepted, archived
Headers show
Series CI: pin down the kas container version we use in CI | expand

Commit Message

Henning Schild Feb. 10, 2022, 2:33 a.m. UTC
That is a very good idea anyhow, even though it will need regular
version bumping and cause some work.

But right now we are doing it to work around a problem in debian 11.

In Debian >= bullseye 'dpkg-deb --show --showformat' is currently broken
in case of requesting virtual fields like 'source:<FieldName>'.
This makes function 'debsrc_download' broken, so build fails when
ISAR_USE_CACHED_BASE_REPO is enabled in local.conf

The regression came with the fix for bug #972580 in Debian.
The issue is reported to Debian bugtracker as bug #1004372.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Mikanovich Feb. 22, 2022, 9:25 p.m. UTC | #1
10.02.2022 15:33, henning.schild@siemens.com wrote:
> That is a very good idea anyhow, even though it will need regular
> version bumping and cause some work.
>
> But right now we are doing it to work around a problem in debian 11.
>
> In Debian >= bullseye 'dpkg-deb --show --showformat' is currently broken
> in case of requesting virtual fields like 'source:<FieldName>'.
> This makes function 'debsrc_download' broken, so build fails when
> ISAR_USE_CACHED_BASE_REPO is enabled in local.conf
>
> The regression came with the fix for bug #972580 in Debian.
> The issue is reported to Debian bugtracker as bug #1004372.
>
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
>   .gitlab-ci.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 1693a8ab4037..37882efa1f18 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -1,4 +1,4 @@
> -image: ghcr.io/siemens/kas/kas-isar:latest
> +image: ghcr.io/siemens/kas/kas-isar:2.6.3
>   
>   variables:
>     GIT_STRATEGY: clone

Applied to next with author name fixed, thanks.

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1693a8ab4037..37882efa1f18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@ 
-image: ghcr.io/siemens/kas/kas-isar:latest
+image: ghcr.io/siemens/kas/kas-isar:2.6.3
 
 variables:
   GIT_STRATEGY: clone