From b1c34bcc8f04f7bf2f0d3357989437b8e91c9019 Mon Sep 17 00:00:00 2001 From: Adol Rodriguez Date: Tue, 11 Feb 2025 19:38:52 +0100 Subject: [PATCH 1/3] switch back to ubuntu-22.04 --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 094866e..2a195f3 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -25,7 +25,7 @@ jobs: timescaledb: name: PG${{ matrix.pg }}${{ matrix.oss }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: From 5d39f166787ec00b1367c324433611a4348f8643 Mon Sep 17 00:00:00 2001 From: Adol Rodriguez Date: Tue, 11 Feb 2025 22:47:32 +0100 Subject: [PATCH 2/3] delete unrequired stuff from the runner clean up some space in the runner before building timecale image. --- .github/workflows/docker-image.yml | 9 +++++++++ .github/workflows/smoke-test.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2a195f3..04adb18 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -32,6 +32,15 @@ jobs: pg: [14, 15, 16, 17] oss: [ "", "-oss" ] steps: + # The github runners have a lot of space in /mnt, but apparently not enough in /. This step removes about 13G. + - name: remove unneeded runner software + run: | + df -h + du -chs /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo rm -fr /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo docker image prune --all --force || true + df -h + - uses: actions/checkout@v4 - name: Set up QEMU diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index b3411a8..c514175 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -20,6 +20,15 @@ jobs: pg: [14, 15, 16, 17] type: ['normal'] steps: + # The github runners have a lot of space in /mnt, but apparently not enough in /. This step removes about 13G. + - name: remove unneeded runner software + run: | + df -h + du -chs /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo rm -fr /usr/share/dotnet /usr/local/lib/android /opt/microsoft || true + sudo docker image prune --all --force || true + df -h + - name: Check out the source uses: actions/checkout@v4 From bff316407791540227c2b51fb2e9cd49ac728b36 Mon Sep 17 00:00:00 2001 From: Adol Rodriguez Date: Wed, 12 Feb 2025 07:55:17 +0100 Subject: [PATCH 3/3] Update Dockerfile Signed-off-by: Adol Rodriguez --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 628dbdc..34cefc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,6 +71,7 @@ RUN set -ex; \ # install required dependencies for building pyarrow from source apk add --no-cache --virtual .pgai-deps \ git \ + gcompat \ build-base \ cargo \ cmake \