Friday, 2022-05-06

@iwienand:matrix.orgfungi: https://review.opendev.org/c/zuul/zuul-jobs/+/840566 was one that came up from the deb building.  after debsign dput seems to like to check the signatures00:19
@iwienand:matrix.orgso we need to trust the key we imported (well, it still seems to work, but puts out errors)00:19
@d-j-j:matrix.org> <@jim:acmegating.com> d-j-j: we don't want to switch for performance reasons, but rather safety from user input.  it's not a drop in replacement; it has significant functional shortcomings compared to the standard re library, including features people currently use with file matchers (especially around negative lookaheads).  that's why it needs careful thought as to how it interacts with the proposal.07:38
Thank you for clarifying. I read about the shortcomings but it says also "the module will automatically fall back to the original re module if there is a regex that it cannot handle.".
There is also a possibility to configure a fallback notification in the form of a warning.
Are there reasons to believe that this fallback mechanism wouldn't work or it should be generally avoided or even prohibited?
I'm not sure if we should mix the re2 switch with the fileset proposal.
I don't see a technical necessity to do both at the same time.
Currently file matchers still use standard re module and so could fileset.
An advantage of doing it at the same time could be that users would only have to check their configurations once for both migrations.
But then probably we should also switch to re2 for other regexes in the configuration like for example branch matchers.
Should we then combine both topics in one big spec: fileset + switching whole zuul config to re2?
-@gerrit:opendev.org- Dominik Jaeger proposed: [zuul/zuul] 839550: Add spec for fileset feature https://review.opendev.org/c/zuul/zuul/+/83955009:58
@d-j-j:matrix.org> <@jim:acmegating.com> d-j-j: we don't want to switch for performance reasons, but rather safety from user input.  it's not a drop in replacement; it has significant functional shortcomings compared to the standard re library, including features people currently use with file matchers (especially around negative lookaheads).  that's why it needs careful thought as to how it interacts with the proposal.09:59
* Thank you for clarifying. I read about the shortcomings but it says also "the module will automatically fall back to the original re module if there is a regex that it cannot handle.".
There is also a possibility to configure a fallback notification in the form of a warning.
Are there reasons to believe that this fallback mechanism wouldn't work or it should be generally avoided or even prohibited?
I'm not sure if we should mix the re2 switch with the fileset proposal.
I don't see a technical necessity to do both at the same time.
Currently file matchers still use standard re module and so could fileset.
An advantage of doing it at the same time could be that users would only have to check their configurations once for both migrations.
But then probably we should also switch to re2 for other regexes in the configuration like for example branch matchers.
Should we then combine both topics in one big spec: fileset + switching whole zuul config to re2?
(Unfortunately I won't be able to respond until Monday)
@dpawlik:matrix.orgHello folks, could you check https://review.opendev.org/c/zuul/zuul/+/840679/ when free time?10:00
@dpawlik:matrix.orgtl;dr Ansible returns "*0" with rc 0 when passlib is not installed when used an Ansible function password_hash('bcrypt', rounds=12)10:01
@avass:vassast.orgI think it's a bit misleading to configure 'trigger.approval` for gerrit connections. After reading the gerrit docs it sounds like all approvals set on the change are included in all comment-added events, not only approvals set by the action reported by the event: https://gerrit-review.googlesource.com/Documentation/json.html#approval10:19
We ended up in a situation where zuul got stuck in an infinite loop because we configured zuul to not report `Verified: -2` on merge failures, and the merge-failure comment then re-triggered the pipeline (because it would trigger on any comment, as long as the labels were set, like a requirement and not a trigger). I added a negative lookahead that matches `Merge Failure.` comments as a quickfix for now.
@avass:vassast.orgTheres a `vote-deleted` event but not a `vote-added` :(10:20
https://gerrit-review.googlesource.com/Documentation/cmd-stream-events.html#_vote_deleted
@avass:vassast.org * I think it's a bit misleading to configure 'trigger.approval\` for gerrit connections. After reading the gerrit docs it sounds like all approvals set on the change are included in all comment-added events, not only approvals set by the action reported by the event: https://gerrit-review.googlesource.com/Documentation/cmd-stream-events.html#_comment_added10:22
We ended up in a situation where zuul got stuck in an infinite loop because we configured zuul to not report `Verified: -2` on merge failures, and the merge-failure comment then re-triggered the pipeline (because it would trigger on any comment, as long as the labels were set, like a requirement and not a trigger). I added a negative lookahead that matches `Merge Failure.` comments as a quickfix for now.
@clarkb:matrix.orgAlbin Vass:  why did it loop and not eventually merge? At least my first thought is it should retry and then in theory if approved eventually succeed?13:22
@avass:vassast.orgClark: the change itself had a merge failure13:23
@clarkb:matrix.orgFwiw the Gerrit behavior you describe is a result of them "fixing" not sending vote values on new comments if they are duplicates. For example if I send +2 twice only the first would have a +2 in the past. But then they "fixed" it by sending all values all the time iirc rather than just sending the +2 each time13:24
@avass:vassast.orgthat seems more liking a different kind of bug instead...13:24
@avass:vassast.org * that seems more like a different kind of bug instead...e13:24
@avass:vassast.org * that seems more like a different kind of bug instead...13:25
@clarkb:matrix.org> <@avass:vassast.org> Clark: the change itself had a merge failure13:25
And I guess reviewers didn't know they needed to -2 to break the cycle?
@avass:vassast.orgyeah13:25
@clarkb:matrix.org> <@avass:vassast.org> that seems more like a different kind of bug instead...13:25
Sure but we didn't have control over how Gerrit fixed it. This was years ago
@avass:vassast.orgwe configured zuul to not report -2 for merge failures because we're still running v2 for a repo, but connected v6 to that one to start testing jobs. So if the repo would get a merge failure in v6 but not v2 it would get completely blocked.13:27
@clarkb:matrix.orgIMO if a comment is recieved and the change is approved the correct thing for zuul to do is process that approval. If zuul doesn't do that then you end up needing to construct additional trigger mechanisms.13:28
@clarkb:matrix.org> <@avass:vassast.org> we configured zuul to not report -2 for merge failures because we're still running v2 for a repo, but connected v6 to that one to start testing jobs. So if the repo would get a merge failure in v6 but not v2 it would get completely blocked.13:28
You should only have one gating system though?
@avass:vassast.org> <@clarkb:matrix.org> You should only have one gating system though?13:28
yep
@avass:vassast.org> <@clarkb:matrix.org> IMO if a comment is recieved and the change is approved the correct thing for zuul to do is process that approval. If zuul doesn't do that then you end up needing to construct additional trigger mechanisms.13:29
yeah, but that makes the "Approval" part work more like a "require" config and not a "trigger" (because of gerrits behaviour).
@avass:vassast.orgthe trigger is technically *any comment*13:30
@clarkb:matrix.orgSure. I find that behavior better than forcing people to unapprove then approve things when the state is already present and just needs to be processed13:31
@avass:vassast.org> <@clarkb:matrix.org> Sure. I find that behavior better than forcing people to unapprove then approve things when the state is already present and just needs to be processed13:32
but we have different triggers for recheck/regate(reverify), and just require the correct approvals
@clarkb:matrix.orgThe Gerrit checks plugin stuff may make this a bit more intuitive as it can directly trigger things without relying on comments13:32
@jpew:matrix.orgIn our gerrit (3.1.12) it only appears to send the approval state for the user that submitted the comment (not all of them); did this change after that?13:32
@clarkb:matrix.orgBut that requires writing a plugin that understands the zuul api13:32
@avass:vassast.orgI'm just saying that adding approvals to triggers is misleading because that's not the actual behavious13:33
@avass:vassast.org * I'm just saying that adding approvals to triggers is misleading because that's not the actual behaviour13:33
@avass:vassast.orglet me send you an example13:33
@clarkb:matrix.org> <@jpew:matrix.org> In our gerrit (3.1.12) it only appears to send the approval state for the user that submitted the comment (not all of them); did this change after that?13:34
I'd have to go test it against our 3.4 install to know the exact behavior. There were some changes around this around Gerrit 3.3 iirc
@avass:vassast.orgThe first example is what we configured, the second example is the behaviour we see:13:36
```
require:
gerrit:
open: True
current-patchset: True
approval:
- Code-Review: 2
- Verified: [1, -2]
trigger:
gerrit:
- event: comment-added
approval:
- Code-Review: 2
- event: comment-added
approval:
- Verified: 1
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*regate
---
require:
gerrit:
open: True
current-patchset: True
approval:
- Code-Review: 2
- Verified: [1, -2]
trigger:
gerrit:
- event: comment-added
```
@avass:vassast.org * The first example is what we configured, the second example is the behaviour we see:13:37
```
require:
gerrit:
open: True
current-patchset: True
approval:
- Code-Review: 2
- Verified: [1, -2]
trigger:
gerrit:
- event: comment-added
approval:
- Code-Review: 2
- event: comment-added
approval:
- Verified: 1
- event: comment-added
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*regate
---
require:
gerrit:
open: True
current-patchset: True
approval:
- Code-Review: 2
- Verified: [1, -2]
trigger:
gerrit:
- event: comment-added
```
@avass:vassast.orgSo for most cases we want the gate pipeline to start whenever CR+2,V+1 is set. But in this case we configured zuul to not report V-2 on merge failure, and thought that would be fine since the comment from zuul should't trigger a rerun (but it does). That happens because the trigger.approval config practically doesn't do anything as far as I can see, so the attribute is misleading13:40
@clarkb:matrix.orghttps://bugs.chromium.org/p/gerrit/issues/detail?id=13800 is the Gerrit 3.3 change I'm thinking of which is comment content related not vote related13:42
@clarkb:matrix.orgAlbin Vass: it's meant to filter the content of the comment votes. But if you have a prior +2 and comment again without removing your +2 that is treated as a new +213:43
@clarkb:matrix.orgThis is because forcing people to add a bunch of state toggle comments is bad UX in gerrit13:44
@clarkb:matrix.orgAnd at least 3.1.12 will only report your votes when you comment. Need to look at other gerrits to see if that is consistent13:45
@fungicide:matrix.org> <@iwienand:matrix.org> so we need to trust the key we imported (well, it still seems to work, but puts out errors)14:44
what's the exact error look like? gpg emits warnings pretty much any time you do anything with a key which isn't marked as trusted, which i find annoying, but that's usually non-fatal
-@gerrit:opendev.org- Clark Boylan proposed:15:53
- [zuul/zuul-website] 840951: Use relative paths in docs/index.html https://review.opendev.org/c/zuul/zuul-website/+/840951
- [zuul/zuul-website] 840952: Add a Blog system to the zuul website https://review.opendev.org/c/zuul/zuul-website/+/840952
@y2kenny:matrix.orgquick question on nodepool 6.0, is it backward compatible with 5.x? (can it be upgraded independently of the rest of zuul?)16:18
@fungicide:matrix.orgKenny Ho: yes, the only reason it wasn't 5.1.0 was in order to realign the major version number with zuul. other than following the upgrade recommendations in https://zuul-ci.org/docs/nodepool/6.0.0/releasenotes.html#relnotes-6-0-0 it shouldn't matter which you upgrade first16:23
@clarkb:matrix.orgAlbin Vass: jpew ok ya on 3.4 I only see the approvals I've made not other users. But since Gerrit doesn't distingusi between leaving approvals and ocmmenting if I make a second commit without modifying my older +2 to something else it shows me a +2. I think that is correct given how Gerrit doesn't split the approvals from the comments. Albin Vass is it possible that your users kept leaving +2 comments when they should've removed the +2 due to the failures?16:46
@clarkb:matrix.orgtristanC: or anyone else that groks the react in zuul-web review on https://review.opendev.org/c/zuul/zuul/+/840769 would be appreciated as that is expected to fix the scroll to log file highlight issue16:53
@fungicide:matrix.orgianw: nevermind, i found it in the promote build results from the referenced ozj change: https://zuul.opendev.org/t/openstack/build/e64411fd73134f20b02250cf5726454f/log/job-output.txt#405-40616:53
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed wip:18:44
- [zuul/zuul-website] 840978: Draft an initial blog article https://review.opendev.org/c/zuul/zuul-website/+/840978
- [zuul/zuul-website] 840979: DNM: Add a Lorem Ipsum article https://review.opendev.org/c/zuul/zuul-website/+/840979
@avass:vassast.orgClark: 18:52
> Albin Vass is it possible that your users kept leaving +2 comments when they should've removed the +2 due to the failures?
Probably, I don't think they were actively monitoring the change.
> But since Gerrit doesn't distingusi between leaving approvals and ocmmenting if I make a second commit without modifying my older +2 to something else it shows me a +2. I think that is correct given how Gerrit doesn't split the approvals from the comments.
That is an issue to me since the event includes information about approvals even though nothing was changed there. It's like it's sending information about the state of the change, rather than what was changed. Which means it's not possible to 'edge trigger' when a user toggles a label. I don't see that as an issue in the users workflow or an issue in zuul. Just a very strange design decision taken by gerrit.
I think the reason that it looped was that zuul had already given a +1, so it matched the requirements, and since it didn't -2 when it failed to merge or removed the label when it started it kept triggering the gate pipeline with the `Merge failed` comment.
@avass:vassast.org * Clark:18:52
> Albin Vass is it possible that your users kept leaving +2 comments when they should've removed the +2 due to the failures?
Probably, I don't think they were actively monitoring the change.
> But since Gerrit doesn't distingusi between leaving approvals and ocmmenting if I make a second commit without modifying my older +2 to something else it shows me a +2. I think that is correct given how Gerrit doesn't split the approvals from the comments.
> That is an issue to me since the event includes information about approvals even though nothing was changed there. It's like it's sending information about the state of the change, rather than what was changed. Which means it's not possible to 'edge trigger' when a user toggles a label. I don't see that as an issue in the users workflow or an issue in zuul. Just a very strange design decision taken by gerrit.
I think the reason that it looped was that zuul had already given a +1, so it matched the requirements, and since it didn't -2 when it failed to merge or removed the label when it started it kept triggering the gate pipeline with the `Merge failed` comment.
@avass:vassast.org * Clark:18:52
> Albin Vass is it possible that your users kept leaving +2 comments when they should've removed the +2 due to the failures?
Probably, I don't think they were actively monitoring the change.
> But since Gerrit doesn't distingusi between leaving approvals and ocmmenting if I make a second commit without modifying my older +2 to something else it shows me a +2. I think that is correct given how Gerrit doesn't split the approvals from the comments.
That is an issue to me since the event includes information about approvals even though nothing was changed there. It's like it's sending information about the state of the change, rather than what was changed. Which means it's not possible to 'edge trigger' when a user toggles a label. I don't see that as an issue in the users workflow or an issue in zuul. Just a very strange design decision taken by gerrit.
I think the reason that it looped was that zuul had already given a +1, so it matched the requirements, and since it didn't -2 when it failed to merge or removed the label when it started it kept triggering the gate pipeline with the `Merge failed` comment.
@avass:vassast.orgSeems to me that there should exist a `vote-added` in addition to the `vote-deleted` event in gerrit18:54
-@gerrit:opendev.org- Zuul merged on behalf of Clark Boylan: [zuul/zuul] 840769: Set logfile isFetching initial state to true https://review.opendev.org/c/zuul/zuul/+/84076918:54
@avass:vassast.orgwe can live with it for now until we've migrated everything to v6 in any case, and then we can start setting V-2 on merge failures again.18:55
@avass:vassast.orgcorvus d-j-j  ^ I used a negative lookahead as a quickfix to work around that, I'm not sure if it's relevant to the re2 discussion I saw the other day but I believe negative lookaheads aren't supported by re2 :)18:58
@clarkb:matrix.org> <@avass:vassast.org> Clark:18:59
>
> > Albin Vass is it possible that your users kept leaving +2 comments when they should've removed the +2 due to the failures?
>
> Probably, I don't think they were actively monitoring the change.
>
> > But since Gerrit doesn't distingusi between leaving approvals and ocmmenting if I make a second commit without modifying my older +2 to something else it shows me a +2. I think that is correct given how Gerrit doesn't split the approvals from the comments.
>
> That is an issue to me since the event includes information about approvals even though nothing was changed there. It's like it's sending information about the state of the change, rather than what was changed. Which means it's not possible to 'edge trigger' when a user toggles a label. I don't see that as an issue in the users workflow or an issue in zuul. Just a very strange design decision taken by gerrit.
>
> I think the reason that it looped was that zuul had already given a +1, so it matched the requirements, and since it didn't -2 when it failed to merge or removed the label when it started it kept triggering the gate pipeline with the `Merge failed` comment.
But thats the thing with how Gerrit fundamentally works. Every time you leave a comment you also leave a vote. You cannot leave a comment without leaving a vote. It may be that the vot eis the same as before but its still selected as a +2 or whateve rand posted with the comment
@clarkb:matrix.orgIf Gerrit changed the UI (and probably APIs?) to separate the two then you could have what you want but that currently isn't possible18:59
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed wip:19:01
- [zuul/zuul-website] 840978: Draft an initial blog article https://review.opendev.org/c/zuul/zuul-website/+/840978
- [zuul/zuul-website] 840979: DNM: Add a Lorem Ipsum article https://review.opendev.org/c/zuul/zuul-website/+/840979
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed on behalf of Clark Boylan: [zuul/zuul-website] 840952: Add a Blog system to the zuul website https://review.opendev.org/c/zuul/zuul-website/+/84095219:01
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed: [zuul/zuul-website] 840980: Style heading levels 4-6 https://review.opendev.org/c/zuul/zuul-website/+/84098019:01
@clarkb:matrix.orgLooks like maybe the API does already separate them so it is mostly a UI thing?19:01
@avass:vassast.org> <@clarkb:matrix.org> But thats the thing with how Gerrit fundamentally works. Every time you leave a comment you also leave a vote. You cannot leave a comment without leaving a vote. It may be that the vot eis the same as before but its still selected as a +2 or whateve rand posted with the comment19:02
sure, I just think it's a very strange decision to force every comment to send a vote, even if it was left with the same value
@avass:vassast.orglike, if you send another comment the user doesn't need to take an active decision to leave it as it was.19:03
@clarkb:matrix.orgAlbin Vass: because when you leave a comment in Gerrit the +2 is still checked, You are posting a +219:04
@clarkb:matrix.orgif you didn't want to you can change it to a 0 or something else19:04
@clarkb:matrix.orgI understand what you are saying but I'm trying to explain why it doesn't really work with the way Gerrit (the UI at least) seems to function19:04
@clarkb:matrix.orgUnder that system if you want what yo uare describing you have t odelete your vote then add it again later anyway19:05
@clarkb:matrix.orgso its not really an improvement. The improvement has to come from changing the way you post votes in the first place I think19:05
@clarkb:matrix.orgwhat github does is separate label posting and comments entirely aiui19:06
@clarkb:matrix.orgwhereas gerrit tightly couples them. That causes the confusion19:06
@clarkb:matrix.orgas a user it is pretty terrible to have to delete your +A vote. Then leave another comment to add a +A vote when you want to reapprove something. If we could post comments without any implied vote context and separate say "I'm reapplying a +A" then I think it would address your concerns but gerrit just doesn do that (at least via the web UI)19:08
@clarkb:matrix.orgfungi: left a minor thing on your draft, but that is looking like a thing that might actually work19:12
@avass:vassast.orgTo me it seems worse that you cannot comment without setting approvals19:12
@clarkb:matrix.org> <@avass:vassast.org> To me it seems worse that you cannot comment without setting approvals19:13
You can but you have to explicitly remove them (since by default it carries them over)
@clarkb:matrix.organd to me that makes sense with the current tooling. If I leave a comment and +2 is still selected and post that I expect +2 events to occur19:13
@clarkb:matrix.orgif I didn't want +2 events to occur I can swithc it to another value19:13
@clarkb:matrix.organd I do think it is a bit hacky given how gerrit works. But in theory if someone writes a gerrit checks plugin for zuul that can be corrected via native ui elements19:15
@avass:vassast.orgI don't know, it seems like a sever limitation to me. We just wanted to send information back to the user, without changing approvals or triggering any third party systems, and that just isn't supported by gerrit in this case because of that.19:16
@avass:vassast.org * I don't know, it seems like a severe limitation to me. We just wanted to send information back to the user, without changing approvals or triggering any third party systems, and that just isn't supported by gerrit in this case because of that.19:16
@clarkb:matrix.orgthough I'm not sure if it can hook into the votes system to do the triggering rather than zuul still needingto interpret events19:16
@clarkb:matrix.org> <@avass:vassast.org> I don't know, it seems like a severe limitation to me. We just wanted to send information back to the user, without changing approvals or triggering any third party systems, and that just isn't supported by gerrit in this case because of that.19:18
I may not be fully understanding the situation you describe or maybe there is a specific version of software that behaves differently. But if you posted a comment +1 from zuul that should only trigger jobs if you trigger on a +1 from zuul. I've sort of keyed on the +2 code revie wbecaues your examples showed that and I would expect that form humans who can choose to remove the +2 if they know the code is broken
@clarkb:matrix.orgBut based on what jpew reported and what I saw with Gerrit 3.4 it should only include the approvals for the user that commented19:18
@clarkb:matrix.orgwhich means if your zuul comments +1 it would get back +1 verified and check for triggers on that19:18
@avass:vassast.orgClark: I guess the issue is that we were reusing the same `zuul` user for v2 and v619:18
@clarkb:matrix.orgoh ya I wouldn't do that because zuul does internal actions on its own events iirc19:19
@avass:vassast.orgbut I don't think that would have solved in anyhow now that I think. Since it got triggered by it's own `Merge failure` comment that didn't change any approvals, just to be sure it wouldn't affect the project that was still using v2, which means it would still trigger itself for projects that were using v6 whenever it got a merge failure.19:23
@clarkb:matrix.orgI'm guessing you have a trigger that looks for a +1 Verified and a +2 code-review to enqueue change sthat have newly finished checking and are approved to the gate19:24
@avass:vassast.orgthat makes it a bit harder to migrate projects to v6 from v2 19:24
@clarkb:matrix.orgthat wasn't in your example I don't think, but that is what is causing it19:24
@avass:vassast.orgyup19:24
@clarkb:matrix.org * that wasn't in your example I don't think, but that is what is what I suspect is causing it19:24
@clarkb:matrix.orgya so your merge failure should remove the vote (which you noted you are not doing). I think if you split the users you could write rules for that though?19:25
@clarkb:matrix.orgthe pipeline config should allow restricting by user (opendev needs that to accomodate third party CI systems)19:25
@avass:vassast.orgA v-2 would still block the change from merging in gerrit, so we'd need to separate the votes :/19:26
@clarkb:matrix.orgAlbin Vass: https://opendev.org/openstack/project-config/src/branch/master/zuul.d/pipelines.yaml#L78-L79 is what we do. You would do similar in your gating zuul. And not gate in the other zuul19:27
@clarkb:matrix.orgbut each of them would restrict the username to their own username when looking for that stuff19:27
@clarkb:matrix.organd our third party CIs do not trigger gating in a loop for broken changing19:27
@clarkb:matrix.org * and our third party CIs do not trigger gating in a loop for broken changes19:28
@avass:vassast.orgI guess we could also add a secondary gerrit connection and not add that instance to the gate pipeline19:28
@avass:vassast.org(unless two connection to the same gerrit causes issues for some reason:)19:28
@avass:vassast.orgClark: yeah, that would work if we create another user19:29
@clarkb:matrix.orgthey are completely separate Zuuls right? I'm not sure why you wold need two connections19:29
@clarkb:matrix.org * they are completely separate Zuuls right? I'm not sure why you wold need two connections in one zuul19:29
@clarkb:matrix.orgmaybe we should be explicit about this? But I don't think zuul was every designed to share a user with another entity19:29
@avass:vassast.orgI mean check would be configured to trigger on events from gerrit, and secondary_gerrit. While gate only would trigger from `gerrit`19:29
@clarkb:matrix.org * maybe we should be explicit about this? But I don't think zuul was ever designed to share a user with another entity19:30
@avass:vassast.orgI got a feeling we may have systems that are dependent on the vote coming from that user to do stuff too... :)19:30
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed: [zuul/zuul-website] 840980: Style heading levels 4-6 https://review.opendev.org/c/zuul/zuul-website/+/84098019:31
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed wip:19:31
- [zuul/zuul-website] 840978: Draft an initial blog article https://review.opendev.org/c/zuul/zuul-website/+/840978
- [zuul/zuul-website] 840979: DNM: Add a Lorem Ipsum article https://review.opendev.org/c/zuul/zuul-website/+/840979
-@gerrit:opendev.org- Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org proposed on behalf of Clark Boylan: [zuul/zuul-website] 840952: Add a Blog system to the zuul website https://review.opendev.org/c/zuul/zuul-website/+/84095219:31
@clarkb:matrix.orger I suppose the actual trigger is a few lines lower: https://opendev.org/openstack/project-config/src/branch/master/zuul.d/pipelines.yaml#L86-L8919:31
@avass:vassast.orgthen we'd put migrating repos in the secondary_gerrit connection, so they only trigger check19:31
@clarkb:matrix.orgbut both the requirement and the trigger do the username filter and we have to do that because multiple CI systems talk to our Gerrit and we only want to Gate if the Gating CI system check sclean19:32
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul-website] 840982: Add space between blog entries https://review.opendev.org/c/zuul/zuul-website/+/84098219:59
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul-website] 840983: Add space between blog entries https://review.opendev.org/c/zuul/zuul-website/+/84098320:05
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed wip on behalf of Jeremy Stanley https://matrix.to/#/@fungicide:matrix.org: [zuul/zuul-website] 840979: DNM: Add a Lorem Ipsum article https://review.opendev.org/c/zuul/zuul-website/+/84097920:05
@jsokolvewd:matrix.orgNo idea who I should nag about this, but I was deeply surprised (and forced to update my server running the service) that Zuul/Nodepool 6 dropped support for python 3.6 without any mention of that in release notes... 20:25
@clarkb:matrix.orghrm ya it looks like that was missed in the ansible 5 release note (ansible 5 does not support python thta old hence the update20:38
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul] 840987: Amend Zuul v6 releaes notes to include python3.8 min version bump https://review.opendev.org/c/zuul/zuul/+/84098720:44
@clarkb:matrix.orgcorvus: fungi ^ I think updating the existing release notes file will put the info in the correct spot but probably worth double checking the build results20:46
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/nodepool] 840990: Update releasenotes to capture python3.8 requirement https://review.opendev.org/c/zuul/nodepool/+/84099020:48
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/nodepool] 840991: Set python metadata in setup.cfg to >=3.8 https://review.opendev.org/c/zuul/nodepool/+/84099120:49
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul] 840992: Set python-requires to >=3.8 https://review.opendev.org/c/zuul/zuul/+/84099220:50
@jsokolvewd:matrix.orgClark: thanks for prompt response :-) 20:57
@jpew:matrix.orgCan I call a trusted playbook from an untrusted project.... and will it inherit the "trusted-ness" of it?20:59
@clarkb:matrix.orgjpew: no you can't call playbooks across projects like that at all iirc. Roles are the unit of sharing21:03
@jpew:matrix.orgClark: So if we have some optional node setup that requires passwords and such, we need to make new jobs in the config project that other jobs can inherit from to get those parts setup? There isn't an easier way for untrusted jobs to opt-in to that sort of thing?21:04
@clarkb:matrix.orgjpew: if they are passwords/secretes related to the untrusted repo the untrusted repo could manage them directly for post review tasks. If these are job setup things then you likely need to add this setup to a base job.21:07
@clarkb:matrix.orgor at least a parent job in a trusted repo. Not necessary a true bas ejob21:07
@jpew:matrix.org@Clark OK thanks (the secrets in question are passed in via `executor.trusted_ro_path` which I think means we need parent jobs21:08
@jpew:matrix.org * Clark:  OK thanks (the secrets in question are passed in via `executor.trusted_ro_path` which I think means we need parent jobs21:08
@clarkb:matrix.organother thing to be careful of is the child jobs accessing that info if it persists across playbooks21:09
@jpew:matrix.orgClark: Like if we use `ansible.builtin.set_fact` with `cachable: true` ?21:11
@clarkb:matrix.orgcorrect21:11
@jpew:matrix.orgOr is there another way I'm unaware of21:11
@clarkb:matrix.orgyou could also explicitly write the data to the workspace filesystem as well I think21:11
@clarkb:matrix.orgbut caching facts is probably more likely to trip people up21:12
@jpew:matrix.orgSure21:12
@clarkb:matrix.orghttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_c1f/840987/1/check/zuul-tox-docs/c1ffe07/docs/releasenotes.html updating the existing file seems to have done what we want for the release notes21:19
@fungicide:matrix.orgjpew: not quite what you were asking, but sometimes used to a similar end... you can pass secrets to playbooks in other projects through a sort of reverse of inheritence: https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.secrets.pass-to-parent22:33
@fungicide:matrix.orgwe use that to run trusted jobs with secrets substituted from consuming projects22:34

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