ci: рубильник RUN_ALL для прогона всех gradle-сервисов (кроме pcp-tgu-ui-service)
Run pipeline + RUN_ALL=true прогоняет test/build/package всех бэкендов независимо от changes; deploy:dev остаётся ручным. Обычный пуш по-прежнему собирает только изменившийся сервис. pcp-tgu-ui-service source-guard-нут (только push), чтобы не попадать в RUN_ALL/web-пайплайны.
This commit is contained in:
@@ -39,6 +39,7 @@ variables:
|
||||
|
||||
.complex-mission-service:rules:build-and-image:
|
||||
rules:
|
||||
- if: '$RUN_ALL == "true"'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
changes: *complex_mission_service_changes
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
@@ -49,6 +50,7 @@ variables:
|
||||
|
||||
.complex-mission-service:rules:test:
|
||||
rules:
|
||||
- if: '$RUN_ALL == "true"'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
changes: *complex_mission_service_changes
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
@@ -60,6 +62,8 @@ variables:
|
||||
|
||||
.complex-mission-service:rules:deploy-dev:
|
||||
rules:
|
||||
- if: '$RUN_ALL == "true"'
|
||||
when: manual
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
changes: *complex_mission_service_changes
|
||||
when: manual
|
||||
@@ -74,6 +78,7 @@ variables:
|
||||
|
||||
.tle-monitoring:rules:build-and-image:
|
||||
rules:
|
||||
- if: '$RUN_ALL == "true"'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
changes: *tle_monitoring_changes
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
@@ -84,6 +89,7 @@ variables:
|
||||
|
||||
.tle-monitoring:rules:test:
|
||||
rules:
|
||||
- if: '$RUN_ALL == "true"'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
changes: *tle_monitoring_changes
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
@@ -95,6 +101,8 @@ variables:
|
||||
|
||||
.tle-monitoring:rules:deploy-dev:
|
||||
rules:
|
||||
- if: '$RUN_ALL == "true"'
|
||||
when: manual
|
||||
- if: '$CI_COMMIT_BRANCH == "dev"'
|
||||
changes: *tle_monitoring_changes
|
||||
when: manual
|
||||
|
||||
Reference in New Issue
Block a user