Skip to content
Snippets Groups Projects
Commit e73d6375 authored by Виталий Шунков's avatar Виталий Шунков
Browse files

ci: fix trigger job on changes in project dir

parent aa7119a9
No related branches found
No related tags found
1 merge request!1461ci: fix trigger jobs on changes in project dir
Pipeline #56724 failed
......@@ -72,7 +72,6 @@ variables:
- &if-build-base-changes-on-master-branch
if: $CI_COMMIT_BRANCH == $MAIN_BRANCH
changes:
# implies compare_to HEAD~1
paths: &build-base-changes-paths
- docker-build-base/**
- .gitlab-ci.yml
......@@ -80,8 +79,9 @@ variables:
- &if-build-base-changes-on-dev-branch
if: $CI_COMMIT_BRANCH != $MAIN_BRANCH
changes:
paths:
- docker-build-base/**
compare_to: *main-branch
paths: *build-base-changes-paths
- &else {}
......@@ -309,7 +309,9 @@ lint:
# in case certification_patches has changed
- if: $CI_COMMIT_BRANCH != $MAIN_BRANCH
changes:
- certification_patches/**/*
paths:
- certification_patches/**/*
compare_to: *main-branch
allow_failure: true
variables:
BASE_IMAGE_TAG: ${BASE_IMAGE_LATEST}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment