Repository navigation
kube-agents: run the fleet reconcile postsubmit when repo_sync.py changes - #2812
Conversation
…nges bench/tf/fleet/repo_sync.py applies the post-merge case's RepoSync once Config Sync's CRD exists (gke-labs/kube-agents#6938), so a change to it has to reach the pool like the stack.
toshiowang
left a comment
There was a problem hiding this comment.
Checked at 5dc3263.
- The new part of the pattern has the same form as the four helper scripts beside it. It matches
bench/tf/fleet/repo_sync.pyand no near name. - gke-labs/kube-agents#6938 adds the same file to
FLEET_INPUT_NAMESinhack/fleet_reconcile.py. After both merge, the two lists are equal. - The file is not on
mainof kube-agents yet. So this line does nothing until that change lands.
No findings.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jayantid, toshiowang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3f84875
into
GoogleCloudPlatform:master
|
@jayantid: Updated the
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
… input GoogleCloudPlatform/oss-test-infra#2812 added repo_sync.py to the postsubmit's run_if_changed, which now names every file in FLEET_INPUT_NAMES; section 6.2 says so instead of listing the scripts a pool owner still had to add. Refs gke-labs#6905
Adds
bench/tf/fleet/repo_sync.pytopost-kube-agents-fleet-reconcile'srun_if_changed, beside the other fleet helper scripts (config_connector.py,orphan_snapshot.py).repo_sync.pyapplies the RepoSync for kube-agents' post-merge eval case once Config Sync's CRD exists on seeded-a (gke-labs/kube-agents#6938, tracking gke-labs/kube-agents#6905). Like the stack itself, a change to it has to reach every pool project, so it should start the reconcile.One line; no other job changes.
Prepared with Claude Code assistance.