From d3c344e39b7897b707acf781ab635ed77fa02801 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Wed, 22 May 2024 21:24:53 +0530 Subject: [PATCH] fix: debugging 502s in pinging (6) --- .github/workflows/quick-testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/quick-testing.yml b/.github/workflows/quick-testing.yml index cbdfd1dd..6c53238d 100644 --- a/.github/workflows/quick-testing.yml +++ b/.github/workflows/quick-testing.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v2 - name: Set up opensearch directory - run: mkdir shuffle-database && chmod -R 1000:1000 shuffle-database + run: mkdir shuffle-database && chown -R 1000:1000 shuffle-database - name: Build the stack run: docker-compose up -d @@ -21,7 +21,7 @@ jobs: - name: Check for restarting containers in a loop and fixing perms again once run: | - chmod -R 1000:1000 shuffle-database + chown -R 1000:1000 shuffle-database ATTEMPTS=30 # Total time = ATTEMPTS * 5 seconds = 30 seconds for i in $(seq 1 $ATTEMPTS); do RESTARTING_CONTAINERS=$(docker ps --filter "status=restarting" --format "{{.Names}}")