From 3248c4c38b69634f74d9af5ef57bbf80915df25d Mon Sep 17 00:00:00 2001 From: Gustavo Valverde Date: Wed, 4 Oct 2023 09:25:02 +0100 Subject: [PATCH] fix(ci): wait for disk to be mounted in VM (#7662) --- .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 b51e6d08..65cd9c93 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 \