Skip to content
Snippets Groups Projects
Commit f62a2386 authored by Alex Kanitz's avatar Alex Kanitz
Browse files

test push

parent a37888df
No related branches found
No related tags found
1 merge request!5ci: add GitLab CI config
Pipeline #14464 failed
...@@ -2,11 +2,13 @@ default: ...@@ -2,11 +2,13 @@ default:
tags: tags:
- shell - shell
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "push"
test: test:
rules: rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
script: script:
- export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}:latest" - export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}:latest"
- docker build -t $IMAGE . - docker build -t $IMAGE .
...@@ -15,8 +17,6 @@ test: ...@@ -15,8 +17,6 @@ test:
test_and_publish: test_and_publish:
rules: rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
script: script:
- export VERSION=$(grep 'version <-' ascii_alignment_pileup.R | cut -f2 -d'"') - export VERSION=$(grep 'version <-' ascii_alignment_pileup.R | cut -f2 -d'"')
- export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}" - export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment