Commit 109e2753 authored by John Red Medrano's avatar John Red Medrano

Merge branch 'red-develop' into 'red-test-sit'

Update .gitlab-ci.yml

See merge request red/red-ci-cd!16
parents bfa70b94 3401556c
......@@ -117,7 +117,7 @@ build_sit:
stage: build_sit
image: ubuntu
rules:
- if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
- if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: always
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
......@@ -149,7 +149,7 @@ clean_build_sit:
stage: clean_build_sit
image: ubuntu
rules:
- if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
- if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: on_failure
script:
- echo "this is a clean up for clean_build_sit"
......@@ -167,7 +167,7 @@ rebuild_sit:
stage: rebuild_sit
image: ubuntu
rules:
- if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
- if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: always
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
......@@ -195,7 +195,7 @@ clean_rebuild_sit:
stage: clean_rebuild_sit
image: ubuntu
rules:
- if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
- if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: on_failure
script:
- echo "this is a clean up for clean_build_sit"
......
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