Skip to content
Snippets Groups Projects
Commit 85ae952d authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

debug CI

parent 4005e2f2
Branches
Tags
1 merge request!18Re-factor repository workflow
This commit is part of merge request !18. Comments created here will be created in the context of that merge request.
...@@ -9,15 +9,6 @@ stages: ...@@ -9,15 +9,6 @@ stages:
default: default:
tags: tags:
- silicon - silicon
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_BRANCH =~ /^v[0-9]+\.[0-9]-stable/'
when: on_success
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/'
when: on_success
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: on_success
artifacts: artifacts:
paths: paths:
- .ci-env - .ci-env
...@@ -46,6 +37,15 @@ detect_changes:release: ...@@ -46,6 +37,15 @@ detect_changes:release:
## Init our job for our desired branches/tags/events ## Init our job for our desired branches/tags/events
init: init:
stage: config stage: config
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_BRANCH =~ /^v[0-9]+\.[0-9]-stable/'
when: on_success
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/'
when: on_success
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: on_success
script: script:
- ./ci/configure_pipeline.sh ci/build_and_deploy.yml.in - ./ci/configure_pipeline.sh ci/build_and_deploy.yml.in
artifacts: artifacts:
...@@ -55,6 +55,15 @@ init: ...@@ -55,6 +55,15 @@ init:
## Dispatch if we ran the previous stage ## Dispatch if we ran the previous stage
run:default: run:default:
stage: build_and_deploy stage: build_and_deploy
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_BRANCH =~ /^v[0-9]+\.[0-9]-stable/'
when: on_success
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/'
when: on_success
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: on_success
trigger: trigger:
include: include:
- artifact: build_and_deploy.yml - artifact: build_and_deploy.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment