Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
astrocyte_example_wordcount
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
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
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Astrocyte
Workflows
BioHPC
astrocyte_example_wordcount
Commits
67bc14f5
Commit
67bc14f5
authored
3 years ago
by
Hololens Test
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
d0e7a849
1 merge request
!3
Merge new CI pipeline with the changes from Peng.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
with
7 additions
and
2 deletions
.gitlab-ci.yml
+
7
−
2
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
:
...
...
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