From ea28ec3d784c23993e38f0db4680e420a9779d29 Mon Sep 17 00:00:00 2001 From: James Guthrie Date: Tue, 26 Nov 2024 17:35:21 +0100 Subject: [PATCH 1/2] Update pgai to 0.5.0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d250327..42e73365 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ PG_MAJOR?=17 PG_VERSIONS?= # Additional PostgreSQL extensions we want to include with specific version/commit tags -PGAI_VERSION?=extension-0.4.1 +PGAI_VERSION?=extension-0.5.0 PGVECTORSCALE_VERSIONS?=all POSTGIS_VERSIONS?=3 PG_AUTH_MON?=v3.0 From 7c4a1148b823a7104580552eabf0a61bd271b955 Mon Sep 17 00:00:00 2001 From: Brent Graveland Date: Wed, 27 Nov 2024 07:44:15 -0700 Subject: [PATCH 2/2] Bring in changes from publish images - clean up 13G worth of unneeded software in the runner - don't install docker since it's not needed anymore. --- .github/workflows/build_branch.yaml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build_branch.yaml b/.github/workflows/build_branch.yaml index c5fe9238..f0980163 100644 --- a/.github/workflows/build_branch.yaml +++ b/.github/workflows/build_branch.yaml @@ -35,28 +35,18 @@ jobs: runs_on: cloud-image-runner-arm64 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: Checkout code uses: actions/checkout@v4 - - name: Install docker (arm64 beta) - if: matrix.platform == 'arm64' - run: | - sudo apt-get update - sudo apt-get install -y ca-certificates curl acl build-essential - sudo install -m 0755 -d /etc/apt/keyrings - sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc - sudo chmod a+r /etc/apt/keyrings/docker.asc - - echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - sudo apt-get update - - sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - sudo usermod -aG docker $USER - sudo setfacl --modify user:$USER:rw /var/run/docker.sock - - name: Login to Docker Hub uses: docker/login-action@v3 with: