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
67bc14f5
Commit
67bc14f5
authored
Jun 11, 2021
by
Devin OKelly
Browse files
Update .gitlab-ci.yml file
parent
d0e7a849
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
67bc14f5
...
@@ -87,9 +87,13 @@ astrocyte_test:
...
@@ -87,9 +87,13 @@ astrocyte_test:
# This runs the workflow, opting to use Docker containers.
# This runs the workflow, opting to use Docker containers.
docker_astrocyte_test
:
docker_astrocyte_test
:
stage
:
test_docker
stage
:
test_docker
variables
:
config_path
:
"
workflow/configs/"
config_filename
:
"
biohpc_docker.config"
script
:
script
:
-
sed -i
'
s|nextflow_config\x3A \x27biohpc.config\x27|nextflow_config\x3A \x27
biohpc_docker.config
\x27|
'
astrocyte_pkg.yml
-
sed -i
"
s|nextflow_config\x3A \x27biohpc.config\x27|nextflow_config\x3A \x27
${config_filename}
\x27|
"
astrocyte_pkg.yml
-
echo "Run astrocyte using dockerhub/docker.io registry pulls"
-
echo "Run astrocyte using dockerhub/docker.io registry pulls"
-
nextflow -C ./${config_path}/${config_filename} config -flat
-
astrocyte_cli run "$CI_PROJECT_DIR" --option=q
-
astrocyte_cli run "$CI_PROJECT_DIR" --option=q
-
test -s "$CI_PROJECT_DIR/workflow/output/mobydick.txt.uppercase.tolines.wordcount"
-
test -s "$CI_PROJECT_DIR/workflow/output/mobydick.txt.uppercase.tolines.wordcount"
tags
:
tags
:
...
@@ -98,8 +102,9 @@ docker_astrocyte_test:
...
@@ -98,8 +102,9 @@ docker_astrocyte_test:
cache_docker_image
:
cache_docker_image
:
stage
:
cache_docker
stage
:
cache_docker
script
:
script
:
-
docker login -u $CI_REGISTRY_USER -
p $CI_REGISTRY_PASSWORD
$CI_REGISTRY
-
echo $CI_REGISTRY_PASSWORD |
docker login -u $CI_REGISTRY_USER -
-password-stdin
$CI_REGISTRY
-
echo "Pull Docker image from the docker.io registry, re-tag, and push to our GitLab"
-
echo "Pull Docker image from the docker.io registry, re-tag, and push to our GitLab"
-
docker
-
echo "Need to know what the docker image is ahead of time"
-
echo "Need to know what the docker image is ahead of time"
singularity_astrocyte_test
:
singularity_astrocyte_test
:
...
...
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