Branch from gitlabs perspective

This commit is contained in:
Justin Dalrymple 2025-04-27 13:22:28 -04:00 committed by Justin Dalrymple
parent ca3dfe869c
commit 7f4e566eed

View File

@ -46,10 +46,8 @@ variables:
#Link and Install all required dependencies
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never
- if: '$CI_COMMIT_BRANCH == "main"'
- if: '$CI_COMMIT_BRANCH =~ /^pr-[0-9]+$/'
install:
image: node:20-alpine
@ -153,10 +151,10 @@ test:live:setup:
needs: []
timeout: 15m
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && '$CI_MERGE_REQUEST_ID'
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: on_success
allow_failure: false
- if: ($CI_COMMIT_BRANCH == "next" || $CI_COMMIT_BRANCH =~ /^pr-[0-9]+$/) && '$CI_MERGE_REQUEST_ID'
- if: ($CI_COMMIT_BRANCH == "next" || $CI_COMMIT_BRANCH =~ /^pr-[0-9]+$/)
when: manual
allow_failure: true
variables: