Skip to content
Snippets Groups Projects
Commit f8c2c290 authored by Gervaise Henry's avatar Gervaise Henry 🤠
Browse files

Pass whole json file to curl for lamda into AWS qc table

parent e8f9080e
2 merge requests!58Develop,!57Prep of 1.0.0 release
Pipeline #8944 passed with stages
in 2 hours, 1 minute, and 15 seconds
...@@ -1876,9 +1876,8 @@ process aggrQC { ...@@ -1876,9 +1876,8 @@ process aggrQC {
multiqc -c ${multiqcConfig} . -n ${repRID}.multiqc.html multiqc -c ${multiqcConfig} . -n ${repRID}.multiqc.html
cp ${repRID}.multiqc_data/multiqc_data.json ${repRID}.multiqc_data.json cp ${repRID}.multiqc_data/multiqc_data.json ${repRID}.multiqc_data.json
rpt=`cat ${repRID}.multiqc_data.json`
curl -H 'Content-Type: application/json' -X PUT -d \ curl -H 'Content-Type: application/json' -X PUT -d \
\${rpt} \ @./${repRID}.multiqc_data.json \
"https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/qc" "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/qc"
""" """
} }
......
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