Skip to content
Snippets Groups Projects
Commit 2f23de58 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix CI uploadQC

parent b05be1ee
Branches
Tags
2 merge requests!58Develop,!53Resolve "process_derivaUpload"
Pipeline #8573 canceled with stages
in 3 minutes and 12 seconds
......@@ -328,7 +328,7 @@ uploadQC:
- ln -sfn `readlink -e ./test_data/auth/credential.json` ./credential.json
- >
exist=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' curl -s https://staging.gudmap.org/ermrest/catalog/2/entity/RNASeq:mRNA_QC/Replicate=17-BTFJ) &&
cookie=$(cat credential.json | grep -A 1 '"staging.gudmap.org\: {' | grep -o '"cookie": ".*"') &&
cookie=$(cat credential.json | grep -A 1 '\"staging.gudmap.org\": {' | grep -o '\"cookie\": \".*\"') &&
cookie=${cookie:11:-1} &&
if [ "${exist}" != "[]" ]; then
rids=$(echo ${exist} | grep -o '\"RID\":\".\{7\}' | sed 's/^.\{7\}\/\/')
......
......@@ -25,7 +25,7 @@ def main(hostname, catalog_number, credential):
rid = args.RID
print(rid + "deleted")
print(rid + " deleted")
if __name__ == '__main__':
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment