@anoop-jose:matrix.org | corvus: thank you so much.. I will definitely try and create a documentation so that even other newbies can refer | 03:33 |
---|---|---|
@cidlik:matrix.org | Hello. | 07:34 |
I have structure of jobs: | ||
``` | ||
parent-job1 | ||
| | ||
+-- child-job1 | ||
| | ||
\-- child-job2 | ||
project: | ||
check: | ||
- parent-job1 | ||
- child-job1 | ||
- child-job2 | ||
``` | ||
All jobs have "irrelevant-files" and "files" in their configurations. | ||
These attributes work correctly until I change something in parent-job1 | ||
configuration. In this case all pipeline is started. Is it an expected | ||
that "irrelevant-files" and "files" are ignored if something was changed | ||
in parent job configuration? | ||
@cidlik:matrix.org | * Hello. | 07:34 |
I have structure of jobs: | ||
``` | ||
parent-job1 | ||
| | ||
+-- child-job1 | ||
| | ||
\-- child-job2 | ||
project: | ||
check: | ||
- parent-job1 | ||
- child-job1 | ||
- child-job2 | ||
``` | ||
All jobs have "irrelevant-files" and "files" in their configurations. These attributes work correctly until I change something in parent-job1 configuration. In this case all pipeline is started. Is it an expected that "irrelevant-files" and "files" are ignored if something was changed in parent job configuration? | ||
@cidlik:matrix.org | * Hello. | 07:37 |
I have structure of jobs: | ||
``` | ||
parent-job1 | ||
| | ||
+-- child-job1 | ||
| | ||
\-- child-job2 | ||
project: | ||
check: | ||
- parent-job1 | ||
- child-job1 | ||
- child-job2 | ||
``` | ||
All jobs have "irrelevant-files" and "files" in their configurations. These attributes work correctly until I change something in parent-job1 configuration. In this case all pipeline is started. Is it an expected that "irrelevant-files" and "files" are ignored for whole related chain if something was changed in parent job configuration? | ||
@cidlik:matrix.org | * Hello. | 07:38 |
I have a structure of jobs: | ||
``` | ||
parent-job1 | ||
| | ||
+-- child-job1 | ||
| | ||
\-- child-job2 | ||
project: | ||
check: | ||
- parent-job1 | ||
- child-job1 | ||
- child-job2 | ||
``` | ||
All jobs have "irrelevant-files" and "files" in their configurations. These attributes work correctly until I change something in parent-job1 configuration. In this case all pipeline is started. Is it an expected that "irrelevant-files" and "files" are ignored for whole related chain if something was changed in parent job configuration? | ||
@cidlik:matrix.org | * Hello. | 07:38 |
I have a structure of Zuul jobs: | ||
``` | ||
parent-job1 | ||
| | ||
+-- child-job1 | ||
| | ||
\-- child-job2 | ||
project: | ||
check: | ||
- parent-job1 | ||
- child-job1 | ||
- child-job2 | ||
``` | ||
All jobs have "irrelevant-files" and "files" in their configurations. These attributes work correctly until I change something in parent-job1 configuration. In this case all pipeline is started. Is it an expected that "irrelevant-files" and "files" are ignored for whole related chain if something was changed in parent job configuration? | ||
-@gerrit:opendev.org- Nils Gondermann proposed: [zuul/zuul] 915326: Add inherit-files attr to evaluate parent file matchers https://review.opendev.org/c/zuul/zuul/+/915326 | 08:46 | |
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 915468: Cancel jobs of abandoned circular dep. change https://review.opendev.org/c/zuul/zuul/+/915468 | 08:58 | |
-@gerrit:opendev.org- Nils Gondermann proposed: [zuul/zuul] 915326: Add inherit-files attr to evaluate parent file matchers https://review.opendev.org/c/zuul/zuul/+/915326 | 10:24 | |
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 915468: Cancel jobs of abandoned circular dep. change https://review.opendev.org/c/zuul/zuul/+/915468 | 10:27 | |
-@gerrit:opendev.org- Nils Gondermann proposed: [zuul/zuul] 915326: Add inherit-files attr to evaluate parent file matchers https://review.opendev.org/c/zuul/zuul/+/915326 | 10:46 | |
-@gerrit:opendev.org- Nils Gondermann proposed: [zuul/zuul] 915326: Add inherit-files attr to evaluate parent file matchers https://review.opendev.org/c/zuul/zuul/+/915326 | 12:12 | |
@clarkb:matrix.org | > <@cidlik:matrix.org> Hello. | 13:43 |
> I have a structure of Zuul jobs: | ||
> | ||
> ``` | ||
> parent-job1 | ||
> | | ||
> +-- child-job1 | ||
> | | ||
> \-- child-job2 | ||
> | ||
> project: | ||
> check: | ||
> - parent-job1 | ||
> - child-job1 | ||
> - child-job2 | ||
> ``` | ||
> | ||
> All jobs have "irrelevant-files" and "files" in their configurations. These attributes work correctly until I change something in parent-job1 configuration. In this case all pipeline is started. Is it an expected that "irrelevant-files" and "files" are ignored for whole related chain if something was changed in parent job configuration? | ||
Zuul will run jobs that are modified even if they don't otherwise match files updated by the change. This ensures the jobs function when you modify them. | ||
@clarkb:matrix.org | If zuul didn't do this your jobs could be broken and you don't discover it until later when you no longer have the context for the updates paged in | 13:43 |
@cidlik:matrix.org | > <@clarkb:matrix.org> Zuul will run jobs that are modified even if they don't otherwise match files updated by the change. This ensures the jobs function when you modify them. | 14:02 |
Thank you for your answer! May I add this note to Zuul documentation, near job.files (job.irrelevant-files) description? | ||
@clarkb:matrix.org | sure. I thought it was documented in there somewhere, but maybe not with the relevant/irrelevant files stuff | 14:03 |
@jim:acmegating.com | https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.match-on-config-updates | 14:03 |
@jkkadgar:matrix.org | Could I get preliminary thoughts on https://review.opendev.org/c/zuul/zuul/+/915334 before I write/update tests? The change does incur an additional gerrit query for dependencies, but I am not sure if it is avoidable | 15:03 |
-@gerrit:opendev.org- Joshua Watt proposed: [zuul/zuul] 915449: Fix missing label evaluation in Gerrit https://review.opendev.org/c/zuul/zuul/+/915449 | 17:33 | |
@clarkb:matrix.org | > <@jkkadgar:matrix.org> Could I get preliminary thoughts on https://review.opendev.org/c/zuul/zuul/+/915334 before I write/update tests? The change does incur an additional gerrit query for dependencies, but I am not sure if it is avoidable | 18:14 |
I posted a concern, but I'll definitely have to defer to corvus on this for the performance issues. He has done a lot more profiling of that sort of things | ||
@jkkadgar:matrix.org | > <@clarkb:matrix.org> I posted a concern, but I'll definitely have to defer to corvus on this for the performance issues. He has done a lot more profiling of that sort of things | 19:25 |
Thanks | ||
-@gerrit:opendev.org- Joseph Kostreva proposed: [zuul/zuul] 915334: Check gerrit dependencies using isMerged() https://review.opendev.org/c/zuul/zuul/+/915334 | 22:49 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!