Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
E
etransafe-text-mining-pipeline
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INB
eTRANSAFE
etransafe-text-mining-pipeline
Commits
a2bf870d
Commit
a2bf870d
authored
Sep 28, 2020
by
jcorvi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
2048ce52
Pipeline
#12367
failed with stage
in 3 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
run_gitlab-runner.sh
run_gitlab-runner.sh
+30
-0
No files found.
run_gitlab-runner.sh
0 → 100644
View file @
a2bf870d
#!/bin/bash
#set pipeline name
pipeline_name
=
pretox_pipeline_
`
date
'+%d-%m-%Y_%H_%M_%S'
`
#set the nextflow instalation
nextflow_path
=
"/home/jcorvi/nextflow_installation/nextflow"
#set the pipeline file
pipeline_path
=
"/home/jcorvi/projects/etransafe/etransafe-text-mining-pipeline/pipeline.nf"
#set the input dir
input_dir
=
"/home/jcorvi/eTRANSAFE_DATA/workshop_data/gitlab-ci/input/"
#set the home/work dir of the pipeline
base_dir
=
"/home/jcorvi/eTRANSAFE_DATA/workshop_data/gitlab-ci/"
`
date
'+%d-%m-%Y'
`
echo
"prueba de echo y variable de entorno"
echo
$db_server
#Database connection details
#set server and port
db_server
=
xxxx
db_port
=
xxxxx
#set user and password
db_user
=
xxxxx
db_password
=
xxxxx
#set the database name
db_name
=
xxxxxx
#set the collection prefix
db_collection_prefix
=
xxxxx
#The complete mongo uri
db_uri
=
"mongodb://"
$db_user
":"
$db_password
"@"
$db_server
":"
$db_port
"/?authSource="
$db_name
"&authMechanism=SCRAM-SHA-1"
#command
$nextflow_path
run
$pipeline_path
--inputDir
$input_dir
--baseDir
$base_dir
--db_uri
$db_uri
--db_name
$db_name
--db_collection_prefix
$db_collection_prefix
-with-report
$base_dir
/report.html
-with-trace
-with-timeline
$base_dir
/timeline.html
-name
$pipeline_name
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