From ce2e176f8202654402fdbb8114f7061997a64aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Thu, 8 Feb 2024 17:52:40 +0100 Subject: [PATCH] Use container ID and keep my fingers crossed --- .github/workflows/test-package.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index f0eaf166f..998cbf3b8 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -84,8 +84,7 @@ jobs: - name: Alter max connections run: | - docker ps -q --filter ancestor=postgres:10.8 - docker exec -i postgres bash << EOF + docker exec -i `docker ps -q --filter ancestor=postgres:10.8` bash << EOF sed -i -e 's/max_connections = 100/max_connections = 1000/' /var/lib/postgresql/data/postgresql.conf sed -i -e 's/shared_buffers = 128MB/shared_buffers = 512MB/' /var/lib/postgresql/data/postgresql.conf EOF