more pipeline tweaks
This commit is contained in:
parent
4fd0d13b64
commit
92185933f9
|
@ -7,7 +7,7 @@ stages:
|
||||||
name: ${CI_DOCKER_IMAGE}
|
name: ${CI_DOCKER_IMAGE}
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "web"
|
||||||
changes:
|
changes:
|
||||||
- '**/*.php'
|
- '**/*.php'
|
||||||
- '**/*.js'
|
- '**/*.js'
|
||||||
|
@ -56,7 +56,7 @@ phpunit:
|
||||||
name: ${CI_DOCKER_IMAGE}
|
name: ${CI_DOCKER_IMAGE}
|
||||||
stage: lint
|
stage: lint
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE != "web"
|
||||||
changes:
|
changes:
|
||||||
- '**/*.php'
|
- '**/*.php'
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
@ -71,7 +71,7 @@ eslint:
|
||||||
name: ${CI_DOCKER_IMAGE}
|
name: ${CI_DOCKER_IMAGE}
|
||||||
stage: lint
|
stage: lint
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE != "web"
|
||||||
changes:
|
changes:
|
||||||
- '**/*.js'
|
- '**/*.js'
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
@ -89,7 +89,7 @@ phpstan:
|
||||||
- phpunit
|
- phpunit
|
||||||
stage: lint
|
stage: lint
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE != "web"
|
||||||
changes:
|
changes:
|
||||||
- '**/*.php'
|
- '**/*.php'
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
@ -114,7 +114,7 @@ phpdoc:
|
||||||
name: ${CI_DOCKER_IMAGE}
|
name: ${CI_DOCKER_IMAGE}
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "web"
|
||||||
changes:
|
changes:
|
||||||
- '**/*.php'
|
- '**/*.php'
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
Loading…
Reference in New Issue