Commit b9d28472 authored by Esther Vendrell Miras's avatar Esther Vendrell Miras

Update .gitlab-ci.yml

parent a698afe0
Pipeline #11012 failed
# 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"
- CI_REGISTRY_USER: "test"
- REGISTRY_DESTINATION: "$OEB_DOCKER_REGISTRY/$CI_REGISTRY_USER/$CONTAINER_NAME:$CI_COMMIT_SHORT_SHA"
stages:
- build
......@@ -12,8 +9,13 @@ stages:
build_image:
stage: build
variables:
- HOLA: "hello"
before_script:
- source credentials.sh
- 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
- echo $REGISTRY_DESTINATION
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $OEB_DOCKER_REGISTRY
script:
......@@ -25,9 +27,13 @@ build_image:
test_nextflow_files:
stage: test
before_script:
- source credentials.sh
- 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
script:
- pwd
- echo $HOLA
- echo $REGISTRY_DESTINATION
- curl -fsSL get.nextflow.io | bash
- ./nextflow run workflow-block/main.nf -bg -with-docker $REGISTRY_DESTINATION -profile test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment