I am experiencing issue with the path-filtering orb.
The default parameters for triggering a workflow are set to false in the continue_config, and in the config they are set to true, however the changes within the directories are not detected and the parameter doesn’t change its value to true.
I’ve tried correcting the mapping paths based on the exact directory that the code is located in the circleci istance that is being used during deploy but without success.
Weird part is I have another repo with 99% similar configuration that is working as expected.
I have created a separate branch from the one that I am working on so from feature/KI-10 to feature/KI-10-pipe-test just to make sure that it will do the base-revision based on the changes between the KI-10 and KI-10-pipe-test branch.
After that I’ve added some changes within the directory, however it’s not being picked up.
OK, I’m at my limits of my understanding of git and the path-filtering orb, but I do have one question
The line
base-revision: feature/KI-10-pipe-test
Try changing the ‘/’ to a different character. ‘/’ is a valid character for naming a branch, but there is a lot of scripting going on in the ORB and there is a chance it is causing an unexpected outcome.
Unfortunately I don’t think this is the case, I tried with: base-revision: pipe-test
however without success unfortunatelly.
For some reason it doesn’t detect changes and the parameter doesn’t changes to true so the workflow is not triggered, but I am struggling to understand why.
In the Set Up Parameters:
No change detected in the paths defined in the mapping parameter
In the Continue Pipeline:
{
"continuation-key": "************************************************************************************************************************************************************************************************************************************************************************************************************************",
"configuration": "{}\n",
"parameters": {}
}
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 399 100 16 100 383 91 2182 --:--:-- --:--:-- --:--:-- 2267
{"message":"OK"}
The current test was done with empty continue_config.yml and the following configuration: