Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tcga-validation-test
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
1
Merge Requests
1
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
ELIXIR
OpenEBench
workflows
tcga-validation-test
Commits
46f17cce
Commit
46f17cce
authored
Sep 04, 2020
by
Esther Vendrell Miras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
83096a14
Pipeline
#11699
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
.gitlab-ci.yml
.gitlab-ci.yml
+8
-10
No files found.
.gitlab-ci.yml
View file @
46f17cce
# Que se ejecute solo el yml cuando el commit tiene un nombre en concreto: release...
variables
:
-
OEB_DOCKER_REGISTRY="images.dev-openebench.bsc.es"
-
CONTAINER_NAME="oeb_tcga_validation"
-
REGISTRY_DESTINATION=$OEB_DOCKER_REGISTRY/$CI_REGISTRY_USER/$CONTAINER_NAME:$CI_COMMIT_SHORT_SHA
stages
:
-
build
-
test
...
...
@@ -8,9 +13,6 @@ build_image:
stage
:
build
before_script
:
-
source credentials.sh
-
export OEB_DOCKER_REGISTRY="images.dev-openebench.bsc.es"
-
export CONTAINER_NAME="oeb_tcga_validation"
-
export REGISTRY_DESTINATION=$OEB_DOCKER_REGISTRY/$CI_REGISTRY_USER/$CONTAINER_NAME:$CI_COMMIT_SHORT_SHA
-
echo $REGISTRY_DESTINATION
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $OEB_DOCKER_REGISTRY
script
:
...
...
@@ -22,18 +24,14 @@ build_image:
test_nextflow_files
:
stage
:
test
before_script
:
-
source credentials.sh
-
export OEB_DOCKER_REGISTRY="images.dev-openebench.bsc.es"
-
export CONTAINER_NAME="oeb_tcga_validation"
-
export REGISTRY_DESTINATION=$OEB_DOCKER_REGISTRY/$CI_REGISTRY_USER/$CONTAINER_NAME:$CI_COMMIT_SHORT_SHA
-
echo $REGISTRY_DESTINATION
script
:
-
pwd
-
curl -fsSL get.nextflow.io | bash
-
echo $REGISTRY_DESTINATION
-
curl -fsSL get.nextflow.io | bash
-
./nextflow run workflow-block/main.nf -bg -with-docker $REGISTRY_DESTINATION -profile test
# if passed ...
#- docker push $OEB_DOCKER_REGISTRY/$CI_REGISTRY_USER/$CONTAINER_NAME:$CI_COMMIT_SHORT_SHA
-
docker push $REGISTRY_DESTINATION
# check if it works
tags
:
-
oeb_dockerhub
\ No newline at end of file
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