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

Change pipeline tracking to curl

parent 53505b86
Branches
Tags
2 merge requests!37v0.0.1,!29Track.pipeline
Pipeline #6741 passed with stages
in 1 hour, 13 minutes, and 20 seconds
...@@ -3,6 +3,9 @@ process { ...@@ -3,6 +3,9 @@ process {
queue = 'super' queue = 'super'
clusterOptions = '--hold' clusterOptions = '--hold'
withLabel: trackStart {
executor = 'local'
}
withName: getBag { withName: getBag {
executor = 'local' executor = 'local'
} }
......
...@@ -11,9 +11,6 @@ profiles { ...@@ -11,9 +11,6 @@ profiles {
} }
process { process {
withName:trackStart {
container = 'bicf/awscli:1.1'
}
withName:getBag { withName:getBag {
container = 'bicf/gudmaprbkfilexfer:1.3' container = 'bicf/gudmaprbkfilexfer:1.3'
} }
......
...@@ -47,6 +47,7 @@ script_inferMeta = Channel.fromPath("${baseDir}/scripts/inferMeta.sh") ...@@ -47,6 +47,7 @@ script_inferMeta = Channel.fromPath("${baseDir}/scripts/inferMeta.sh")
/* /*
* trackStart: track start of pipeline * trackStart: track start of pipeline
*/ */
params.ci = false
process trackStart { process trackStart {
script: script:
""" """
...@@ -54,15 +55,15 @@ process trackStart { ...@@ -54,15 +55,15 @@ process trackStart {
ulimit -a ulimit -a
export https_proxy=\${http_proxy} export https_proxy=\${http_proxy}
aws dynamodb put-item \ curl -H 'Content-Type: application/json' -X PUT -d '{ \
--table-name pipeline.tracking \ "sessionId": "${workflow.sessionId}", \
--item '{ \ "pipeline": "gudmap.rbk_rnaseq", \
"sessionId": {"S": "${workflow.sessionId}"}, \ "start": "${workflow.start}", \
"pipeline": {"S": "GUDMAP/RBK RNA-Seq"}, \ "astrocyte": false, \
"start": {"S": "${workflow.start}"}, \ "status": "started", \
"astrocyte": {"BOOL": false}, \ "nextflowVersion": "${workflow.nextflow.version}",
"status": {"S": "started"}, \ "ci": ${params.ci}}' \
"nextflowVersion": {"S": "${workflow.nextflow.version}"}}' "https://xku43pcwnf.execute-api.us-east-1.amazonaws.com/ProdDeploy/pipeline-tracking"
""" """
} }
......
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