diff mbox series

[ima-evm-utils] ci: Replace groovy -> impish

Message ID 20211231222916.12994-1-pvorel@suse.cz (mailing list archive)
State New, archived
Headers show
Series [ima-evm-utils] ci: Replace groovy -> impish | expand

Commit Message

Petr Vorel Dec. 31, 2021, 10:29 p.m. UTC
From: Petr Vorel <petr.vorel@gmail.com>

groovy is EOL, which is probably the reason why it's archives has been
removed:

Ign:1 http://security.ubuntu.com/ubuntu groovy-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu groovy InRelease
Err:3 http://security.ubuntu.com/ubuntu groovy-security Release
  404  Not Found [IP: 91.189.91.39 80]
Ign:4 http://archive.ubuntu.com/ubuntu groovy-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu groovy-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu groovy Release
  404  Not Found [IP: 91.189.88.142 80]
Err:7 http://archive.ubuntu.com/ubuntu groovy-updates Release
  404  Not Found [IP: 91.189.88.142 80]
Err:8 http://archive.ubuntu.com/ubuntu groovy-backports Release
  404  Not Found [IP: 91.189.88.142 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu groovy-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu groovy Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu groovy-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu groovy-backports Release' does not have a Release file.

Using impish requires to use workaround to avoid apt asking to
interactively configure tzdata.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 .github/workflows/ci.yml | 2 +-
 ci/debian.sh             | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

Comments

Mimi Zohar Jan. 18, 2022, 7:25 p.m. UTC | #1
Hi Petr,

On Fri, 2021-12-31 at 23:29 +0100, Petr Vorel wrote:
> From: Petr Vorel <petr.vorel@gmail.com>
> 
> groovy is EOL, which is probably the reason why it's archives has been
> removed:
> 
> Ign:1 http://security.ubuntu.com/ubuntu groovy-security InRelease
> Ign:2 http://archive.ubuntu.com/ubuntu groovy InRelease
> Err:3 http://security.ubuntu.com/ubuntu groovy-security Release
>   404  Not Found [IP: 91.189.91.39 80]
> Ign:4 http://archive.ubuntu.com/ubuntu groovy-updates InRelease
> Ign:5 http://archive.ubuntu.com/ubuntu groovy-backports InRelease
> Err:6 http://archive.ubuntu.com/ubuntu groovy Release
>   404  Not Found [IP: 91.189.88.142 80]
> Err:7 http://archive.ubuntu.com/ubuntu groovy-updates Release
>   404  Not Found [IP: 91.189.88.142 80]
> Err:8 http://archive.ubuntu.com/ubuntu groovy-backports Release
>   404  Not Found [IP: 91.189.88.142 80]
> Reading package lists...
> E: The repository 'http://security.ubuntu.com/ubuntu groovy-security Release' does not have a Release file.
> E: The repository 'http://archive.ubuntu.com/ubuntu groovy Release' does not have a Release file.
> E: The repository 'http://archive.ubuntu.com/ubuntu groovy-updates Release' does not have a Release file.
> E: The repository 'http://archive.ubuntu.com/ubuntu groovy-backports Release' does not have a Release file.
> 
> Using impish requires to use workaround to avoid apt asking to
> interactively configure tzdata.
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

Thanks, Petr.   A similar one line change needs to be made to
.travis.yml.  I've already tested it internally.  Do you mind including
in this patch?

thanks,

Mimi
diff mbox series

Patch

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ad611ad..4316ede 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -59,7 +59,7 @@  jobs:
               CC: gcc
               TSS: tpm2-tss
 
-          - container: "ubuntu:groovy"
+          - container: "ubuntu:impish"
             env:
               CC: gcc
               TSS: ibmtss
diff --git a/ci/debian.sh b/ci/debian.sh
index ae5c9c1..005b1f6 100755
--- a/ci/debian.sh
+++ b/ci/debian.sh
@@ -2,6 +2,9 @@ 
 # Copyright (c) 2020 Petr Vorel <pvorel@suse.cz>
 set -ex
 
+# workaround for Ubuntu impish asking to interactively configure tzdata
+export DEBIAN_FRONTEND="noninteractive"
+
 if [ -z "$CC" ]; then
 	echo "missing \$CC!" >&2
 	exit 1