From 3837fca7a2ee85be6f395557fb52d3fe17daf7e7 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Fri, 19 May 2023 15:34:22 +0100 Subject: [PATCH] compute-node-image: fix postgis download (#4280) ## Problem `osgeo.org` is experiencing some problems with DNS resolving which breaks `compute-node-image` (because it can't download postgis) ## Summary of changes - Add `140.211.15.30 download.osgeo.org` to /etc/hosts by passing it via the container option --- .github/workflows/build_and_test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 5d588aaa85..564251ef8f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -711,7 +711,11 @@ jobs: compute-node-image: runs-on: [ self-hosted, gen3, large ] - container: gcr.io/kaniko-project/executor:v1.9.2-debug + container: + image: gcr.io/kaniko-project/executor:v1.9.2-debug + # Workaround for "Resolving download.osgeo.org (download.osgeo.org)... failed: Temporary failure in name resolution."" + # Should be prevented by https://github.com/neondatabase/neon/issues/4281 + options: --add-host=download.osgeo.org:140.211.15.30 needs: [ tag ] strategy: fail-fast: false