From b6b83938ab52c295859046b03ac8d0d333930469 Mon Sep 17 00:00:00 2001 From: Gustavo Valverde Date: Tue, 3 Oct 2023 22:28:10 +0100 Subject: [PATCH] fix(ci): wait for disk to be mounted in VM --- .github/workflows/deploy-gcp-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy-gcp-tests.yml b/.github/workflows/deploy-gcp-tests.yml index b51e6d08bb0..65cd9c93bf8 100644 --- a/.github/workflows/deploy-gcp-tests.yml +++ b/.github/workflows/deploy-gcp-tests.yml @@ -432,6 +432,8 @@ jobs: --ssh-flag="-o ConnectTimeout=5" \ --command \ "\ + # Wait for the disk to be attached + while [[ ! -e /dev/sdb ]]; do sleep 1; done && \ sudo docker run \ --name ${{ inputs.test_id }} \ --tty \ @@ -480,6 +482,8 @@ jobs: --ssh-flag="-o ConnectTimeout=5" \ --command \ "\ + # Wait for the disk to be attached + while [[ ! -e /dev/sdb ]]; do sleep 1; done && \ sudo docker run \ --name ${{ inputs.test_id }} \ --tty \