Thursday, 2024-04-11

@anoop-jose:matrix.orgcorvus: thank you so much.. I will definitely try and create a documentation so that even other newbies can refer03:33
@cidlik:matrix.orgHello.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/+/91532608:46
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 915468: Cancel jobs of abandoned circular dep. change https://review.opendev.org/c/zuul/zuul/+/91546808: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/+/91532610:24
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 915468: Cancel jobs of abandoned circular dep. change https://review.opendev.org/c/zuul/zuul/+/91546810: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/+/91532610: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/+/91532612: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.orgIf 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 in13: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.orgsure. I thought it was documented in there somewhere, but maybe not with the relevant/irrelevant files stuff14:03
@jim:acmegating.comhttps://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.match-on-config-updates14:03
@jkkadgar:matrix.orgCould 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 avoidable15:03
-@gerrit:opendev.org- Joshua Watt proposed: [zuul/zuul] 915449: Fix missing label evaluation in Gerrit https://review.opendev.org/c/zuul/zuul/+/91544917: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 avoidable18: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 things19:25
Thanks
-@gerrit:opendev.org- Joseph Kostreva proposed: [zuul/zuul] 915334: Check gerrit dependencies using isMerged() https://review.opendev.org/c/zuul/zuul/+/91533422:49

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!