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
2d79f649
Commit
2d79f649
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'develop'
Master See merge request
!79
parents
fb4176a4
56f97599
2 merge requests
!81
Develop
,
!79
Master
Pipeline
#9662
passed with stages
in 4 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-6
11 additions, 6 deletions
.gitlab-ci.yml
with
11 additions
and
6 deletions
.gitlab-ci.yml
+
11
−
6
View file @
2d79f649
...
...
@@ -1041,13 +1041,16 @@ dnanexus:
script
:
-
hostname
-
ulimit -a
-
baseImg=$(cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | grep gudmap-rbk_base | cut -d"/" -f2 | cut -d":" -f1)
-
baseVar=$(cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | grep gudmap-rbk_base | cut -d"/" -f2 | cut -d":" -f2)
-
echo ${dir}${baseImg}_${baseVar}.sif
-
latest_release_tag=$(singularity run ${dir}${baseImg}_${baseVar}.sif git tag --sort=-committerdate -l *.*.* | head -1)
-
mkdir -p ./badges/env
-
curl --request GET https://img.shields.io/badge/Envronment%3A%20DNAnexus-inactive-critical?style=flat > ./badges/env/dnanexus.svg
-
module load dxtoolkit/python27/0.294.0
-
export NXF_XPACK_LICENSE=${nxf_license}
-
dx upload ./test_data/auth/c* --path /ci-env/auth/ --parents --auth-token ${dnanexus_authToken} --project-context-id ${dnanexus_workspace}
-
dx upload ./test_data/fastq/xsmall/Q-Y5F6_10K.R{1,2}.fastq.gz --path /ci-env/input/ --parents --auth-token ${dnanexus_authToken} --project-context-id ${dnanexus_workspace}
-
latest_release_tag=$(git tag --sort=-committerdate -l *.*.* | head -1)
-
>
dx run nf-dxapp-bicf --auth-token ${dnanexus_authToken} --project-context-id ${dnanexus_workspace} \
--delay-workspace-destruction \
...
...
@@ -1086,6 +1089,10 @@ aws:
script
:
-
hostname
-
ulimit -a
-
baseImg=$(cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | grep gudmap-rbk_base | cut -d"/" -f2 | cut -d":" -f1)
-
baseVar=$(cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | grep gudmap-rbk_base | cut -d"/" -f2 | cut -d":" -f2)
-
echo ${dir}${baseImg}_${baseVar}.sif
-
latest_release_tag=$(singularity run ${dir}${baseImg}_${baseVar}.sif git tag --sort=-committerdate -l *.*.* | head -1)
-
mkdir -p ./badges/env
-
curl --request GET https://img.shields.io/badge/Envronment%3A%20AWS-inactive-critical?style=flat > ./badges/env/aws.svg
-
module load awscli/1.11.139
...
...
@@ -1094,7 +1101,6 @@ aws:
-
aws configure set region ${aws_region}
-
aws s3 cp ./test_data/auth/ s3://bicf-output/ci-env/auth/ --exclude "*" --include "c*" --recursive
-
aws s3 cp ./test_data/fastq/xsmall/ s3://bicf-output/ci-env/input/ --exclude "*" --include "Q-Y5F6_10K.R*.fastq.gz" --recursive
-
latest_release_tag=$(git tag --sort=-committerdate -l *.*.* | head -1)
-
>
id=$(aws batch submit-job\
--job-name nf-GUDMAP_RBK_ci-env\
...
...
@@ -1117,10 +1123,9 @@ aws:
fi
after_script
:
-
module load awscli/1.11.139
-
>
export AWS_ACCESS_KEY_ID=${aws_accesskeyid}
export AWS_SECRET_ACCESS_KEY=${aws_secretaccesskey}
aws configure set region ${aws_region}
-
export AWS_ACCESS_KEY_ID=${aws_accesskeyid}
-
export AWS_SECRET_ACCESS_KEY=${aws_secretaccesskey}
-
aws configure set region ${aws_region}
-
aws s3 rm s3://bicf-output/ci-env/auth/ --recursive
-
aws s3 rm s3://bicf-output/ci-env/input/ --recursive
artifacts
:
...
...
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