From 664ea5446477a63f80e9ad13d081eac894ca08d9 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Wed, 28 Feb 2024 12:28:18 -0600 Subject: [PATCH] Update pattern when check gpfs mount --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdc4940..938283d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -294,11 +294,11 @@ test_ood_image: || FAILED=true - | if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then - ssh -o StrictHostKeyChecking=no acctsvc@$FLOATING_IP '[ $(mount | grep "type nfs" | wc -l) -eq 6 ]' || FAILED=true + ssh -o StrictHostKeyChecking=no acctsvc@$FLOATING_IP '[ $(mount | grep "etc/auto" | wc -l) -eq 6 ]' || FAILED=true elif [ $CI_PIPELINE_SOURCE == 'schedule' ]; then cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts - ssh acctsvc@$FLOATING_IP '[ $(mount | grep "type nfs" | wc -l) -eq 6 ]' || FAILED=true + ssh acctsvc@$FLOATING_IP '[ $(mount | grep "etc/auto" | wc -l) -eq 6 ]' || FAILED=true fi - | if [ "$FAILED" = true ]; then -- GitLab