Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BioHPC
astrocyte_example_wordcount
Commits
98e548ff
Commit
98e548ff
authored
Jun 07, 2021
by
Devin OKelly
Browse files
Test step-dependent nextflow configs.
parent
27dfa945
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
98e548ff
...
...
@@ -47,13 +47,23 @@ astrocyte_check:
script
:
-
astrocyte_cli check "$CI_PROJECT_DIR"
nextflow_test
:
nextflow_test
_docker
:
stage
:
test
script
:
-
module load nextflow/20.01.0
-
module load singularity/3.5.3
-
cd $CI_PROJECT_DIR/workflow
-
nextflow -C $CI_PROJECT_DIR/workflow/configs/biohpc.config run main.nf -with-trace -with-timeline -resume --verbose
-
nextflow -C $CI_PROJECT_DIR/workflow/configs/biohpc_docker.config run main.nf -with-trace -with-timeline -resume --verbose
nextflow_test_singularity
:
stage
:
test
script
:
-
module load nextflow/20.01.0
-
module load singularity/3.5.3
-
cd $CI_PROJECT_DIR/workflow
-
nextflow -C $CI_PROJECT_DIR/workflow/configs/biohpc_singularity.config run main.nf -with-trace -with-timeline -resume --verbose
# This runs the workflow with test data and does a simple
# check for the expected output file
...
...
@@ -68,6 +78,7 @@ astrocyte_test:
docker_astrocyte_test
:
stage
:
test_docker
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
echo "Run astrocyte using dockerhub/docker.io registry pulls"
cache_docker_image
:
...
...
workflow/configs/biohpc_docker.config
0 → 100644
View file @
98e548ff
docker
{
enabled
=
true
}
process
{
executor
=
'local'
}
workflow/configs/biohpc_singularity.config
0 → 100644
View file @
98e548ff
singularity
{
enabled
=
true
runOptions
=
'--bind /vagrant:/vagrant'
cacheDir
=
"$baseDir/images/singularity"
}
process
{
executor
=
'local'
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment