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:
tags:
- shell
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "push"
test:
rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
script:
- export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}:latest"
- docker build -t $IMAGE .
......@@ -15,8 +17,6 @@ test:
test_and_publish:
rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
script:
- export VERSION=$(grep 'version <-' ascii_alignment_pileup.R | cut -f2 -d'"')
- export IMAGE="${DOCKER_ORG}/${DOCKER_REPO}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment