-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync common labels to every repository #24
Comments
Is the goal to get the full cron automation like kube is running, or just run their bazel manually somewhere? |
A one off run would be a huge step but it would be nice to eventually do it regularly. |
@jlewi
|
lgtm |
All repos are synced, following config: |
Fantastic. When we create new repositories do we need to configure them to be sync'd? If so we should document that in https://github.com/kubeflow/community/blob/master/repository-setup.md Also is there documentation somewhere about how our label sync is configured? e.g. the bot used where it runs etc...? i.e. all the information someone would need to debug/fix it? |
New repos will be automatically synced, like within a day since creation. |
We had an action: "do-not-merge/work-in-progress" -> "status/in progress", which might cause prow merge uncompleted PR. Affected repos (might merge PR incomplete):
Those repos are not affected due to bot user's lack of permission (include our most active repos):
|
I checked kubeflow/testing - it looks like we haven't given write access to the team ci-bots instead we gave direct access to the user k8s-ci-robot. We will need to change that so those other repos are sync'd as well. But we should wait until issues with the label sync are fixed? Can we disable the cron job until the issues with the labels are fixed? |
Yes, we'll first fix labels, then give access to bot and turn on label_sync job with updated config. |
@jlewi kubeflow/testing#104 merged, can we update permission for kubeflow-bot? |
@kunmingg Which repos are currently sync'd using the latest code? When was the sync turned on? It would be good to verify everything looks good on those repos first. |
@kunmingg Ping? |
@jlewi all reops except:
The sync cron job start since last Thursday. |
So the remaining repos are
@kunmingg all of the following repos should be writable by the cibots
Lets enable the label sync on those repos so the only remaining repos are
|
@jlewi Currently bot doesn't have write access to
Need to update permission. |
I checked kubeflow/testing had read access; changed it to write The ci-bots for the following repos already look like they have write access Is the script returning errors? |
You are right, now bot can edit those 4 repos. |
@kunmingg Everything looking good? If so lets enable label sync on the remaining repositories. |
@jlewi looks good, please go ahead. |
ci-bots should now have write access to kubeflow/kubeflow and kubeflow/tf-operator. /cc @kunmingg |
@jlewi cronjob updated to take care all repos. |
@kunmingg yes. |
#12 defined common labels.
Now we want to automate the application of all those labels across our repositories.
Kubernetes uses this tool.
https://github.com/kubernetes/test-infra/tree/master/label_sync
The text was updated successfully, but these errors were encountered: