Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
97195142
Commit
97195142
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI lint
parent
7ae99ad5
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!58
Develop
,
!53
Resolve "process_derivaUpload"
Pipeline
#8417
failed with stages
in 1 minute and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-7
8 additions, 7 deletions
.gitlab-ci.yml
with
8 additions
and
7 deletions
.gitlab-ci.yml
+
8
−
7
View file @
97195142
...
...
@@ -181,7 +181,7 @@ dedupData:
-
>
for i in {"chr8","chr4","chrY"}; do
echo "samtools view -b Q-Y5F6_1M.se.sorted.deduped.bam ${i} > Q-Y5F6_1M.se.sorted.deduped.${i}.bam; samtools index -@ 20 -b Q-Y5F6_1M.se.sorted.deduped.${i}.bam Q-Y5F6_1M.se.sorted.deduped.${i}.bam.bai;";
done | singularity run 'docker://bicf/gudmaprbkdedup:2.0.0' parallel -j 20 -k
done | singularity run 'docker://bicf/gudmaprbkdedup:2.0.0' parallel -j 20 -k
-
pytest -m dedupData
artifacts
:
name
:
"
$CI_JOB_NAME"
...
...
@@ -278,7 +278,7 @@ outputBag:
-
singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' bdbag test --archiver zip
-
pytest -m outputBag
out
putBag
:
uploadIn
putBag
:
stage
:
unit
only
:
-
push
...
...
@@ -290,20 +290,20 @@ outputBag:
-
hatrac=$(singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' deriva-hatrac-cli --host dev.gudmap.org ls /hatrac/resources/rnaseq/pipeline/input_bag/ | grep -o TEST)
-
>
if [ -z "${hatrac}" ]; then
singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' deriva-hatrac-cli --host $
{source}
mkdir /hatrac/resources/rnaseq/pipeline/input_bag/TEST
singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' deriva-hatrac-cli --host $
dev.gudmap.org
mkdir /hatrac/resources/rnaseq/pipeline/input_bag/TEST
fi
-
echo
"
THIS IS A TEST FILE
"
> test.txt
-
echo THIS IS A TEST FILE > test.txt
-
md5=$(md5sum ./test.txt | awk '{ print $1 }')
-
size=$(wc -c < ./test.txt)
-
exist=$(singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' curl -s https://${source}/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\": \".*\"')
if [ "${exist}" == "[]" ]; then
cookie=$(cat credential.json | grep -A 1 '\"dev.gudmap.org
\
": {' | grep -o '\"cookie\": \".*\"')
cookie=${cookie:11:-1}
loc=$(singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' deriva-hatrac-cli --host dev.gudmap.org put ./test.txt /hatrac/resources/rnaseq/pipeline/input_bag/TEST/test.txt)
inputBag_rid=$(singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' python3 uploadInputBag.py -f test.txt -l ${loc} -s ${md5} -b ${size} -o dev.gudmap.org -c ${cookie})
fi
-
#pytest -m uploadInputBag
generateVersions
:
stage
:
aggregation
...
...
@@ -449,6 +449,7 @@ integration_pe:
when
:
-
always
override_inputBag
:
stage
:
integration
only
:
[
merge_requests
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment