From c5ca778fa835aa7c4c0700e824f1b54fa52222c6 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 14 Oct 2021 12:50:17 -0700 Subject: [PATCH] ci: temporarily disable criu repo gpg check This unblocks our CI, which is broken by the repo's expired signing key. Stolen-from: https://github.com/moby/moby/pull/42935 Signed-off-by: Kir Kolyshkin --- .github/workflows/test.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 557725a4d29..653c5c9fdbb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: run: | # criu repo curl -fSsl $REPO/Release.key | sudo apt-key add - - echo "deb $REPO/ /" | sudo tee /etc/apt/sources.list.d/criu.list + echo "deb [allow-insecure=yes trusted=yes] $REPO/ /" | sudo tee /etc/apt/sources.list.d/criu.list sudo apt update sudo apt install libseccomp-dev criu diff --git a/Dockerfile b/Dockerfile index 03475b8b3bd..f313de26715 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ARG CRIU_REPO=https://download.opensuse.org/repositories/devel:/tools:/criu/Debi RUN KEYFILE=/usr/share/keyrings/criu-repo-keyring.gpg; \ wget -nv $CRIU_REPO/Release.key -O- | gpg --dearmor > "$KEYFILE" \ - && echo "deb [signed-by=$KEYFILE] $CRIU_REPO/ /" > /etc/apt/sources.list.d/criu.list \ + && echo "deb [allow-insecure=yes trusted=yes signed-by=$KEYFILE] $CRIU_REPO/ /" > /etc/apt/sources.list.d/criu.list \ && dpkg --add-architecture armel \ && dpkg --add-architecture armhf \ && dpkg --add-architecture arm64 \