gitlab-ci run all jobs with cyrillic files, but expected only one job with cyrillic file
Summary
gitlab-ci runs on all cyrillic files, although only one сyrillic file has been changed
Steps to reproduce
in .gitlab-ci.yml
file (link in Example Project
section) I expect that only one job will start if I change one сyrillic file, but all the jobs that are described in this file are started at once.
Example 1:
- Change one file with cyillic name (nixon89/rus-eng-file-names-demo@b178378d)
- Start ALL jobs, that contents cyrillic file names in gitlab-ci file (https://gitlab.com/nixon89/rus-eng-file-names-demo/pipelines/57963986)
Example 2:
- Change one file with cyillic name and one file with english name (nixon89/rus-eng-file-names-demo@3dcd3f50)
- Start ALL jobs, that contents cyrillic file names in gitlab-ci file and one job with english file name (https://gitlab.com/nixon89/rus-eng-file-names-demo/pipelines/57971029)
Example Project
https://gitlab.com/nixon89/rus-eng-file-names-demo
What is the current bug behavior?
Section changes:
with cyrillic characters trigger ALL jobs with cyrillic file names
cat_file_rus1:
<<: *cat_def
variables:
FILENAME: тест-рус1
only:
refs:
- master
changes: [ files/тест-рус1 ]
What is the expected correct behavior?
Section changes:
with cyrillic characters trigger ONE job with cyrillic file name
cat_file_rus1:
<<: *cat_def
variables:
FILENAME: тест-рус1
only:
refs:
- master
changes: [ files/тест-рус1 ]
Relevant logs and/or screenshots
git log
show right info about changed files
nixon89@x270: git log
commit 3dcd3f508ad374070b8bebb48a0b47244c7e6985 (HEAD -> master, origin/master, origin/HEAD)
Author: Nikolay Kalinin <ktulhuftf@gmail.com>
Date: Tue Apr 23 12:34:17 2019 +0000
Update files/test-eng2, files/тест-рус1 files
commit b178378dac465ecc206294665183738d223c5be6
Author: Nikolay Kalinin <ktulhuftf@gmail.com>
Date: Tue Apr 23 11:53:38 2019 +0000
Update files/тест-рус2
Output of checks
This bug happens on GitLab.com and on my omnibus selfhosted installation of gitlab (I reproduce it on 11.9 and 11.10 omnibus versions)
Edited by Nikolay Kalinin