From a01af004a72a4bae0d6e36ca4cd379df2a7f61fe Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 4 May 2024 03:36:02 +0930 Subject: [PATCH] ci(test): add two apt updates in an attempt to correct apt-key random errors error is "Unknown error executing apt-key" and "GPG error: < repo> InRelease: Unknown error executing apt-key" !65 --- .gitlab/integration_test.gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab/integration_test.gitlab-ci.yml b/.gitlab/integration_test.gitlab-ci.yml index ffc45a8..d1902e9 100644 --- a/.gitlab/integration_test.gitlab-ci.yml +++ b/.gitlab/integration_test.gitlab-ci.yml @@ -37,6 +37,8 @@ - | # enter test container docker exec -i test_image_${CI_JOB_ID} ps aux - docker ps + - docker exec -i test_image_${CI_JOB_ID} bash -c 'apt update || true' + - docker exec -i test_image_${CI_JOB_ID} bash -c 'apt update || true' - docker exec -i test_image_${CI_JOB_ID} apt update - docker exec -i test_image_${CI_JOB_ID} apt install -y --no-install-recommends python3-pip net-tools dnsutils iptables - |