From 9f33ee5633446e8c34081892df6d4ae94c597d06 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Mon, 30 Nov 2020 16:39:20 -0600
Subject: [PATCH] Fix CI unit uploadInputBag

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb96c17..0a25a44 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -294,9 +294,9 @@ uploadInputBag:
     fi
   - echo THIS IS A TEST FILE > test.txt
   - >
-    md5=$(md5sum ./test.txt | awk '{ print $1 }')
-    size=$(wc -c < ./test.txt)
-    exist=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' curl -s https://dev.gudmap.org/ermrest/catalog/2/entity/RNASeq:Input_Bag/File_MD5=${md5})
+    md5=$(md5sum ./test.txt | awk '{ print $1 }') &&
+    size=$(wc -c < ./test.txt) &&
+    exist=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' curl -s https://dev.gudmap.org/ermrest/catalog/2/entity/RNASeq:Input_Bag/File_MD5=${md5}) &&
     if [ "${exist}" == "[]" ]; then
       cookie=$(cat credential.json | grep -A 1 '\"dev.gudmap.org\": {' | grep -o '\"cookie\": \".*\"')
       cookie=${cookie:11:-1}
-- 
GitLab