diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdc4940b2f7b2c8940ab982644335451d29b0037..938283ddcb18b6fd814ec3d9be341359bdc0dfc1 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