mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Merge pull request #45441 from cjwagner/test-owners-no-default
Automatic merge from submit-queue (batch tested with PRs 45508, 44258, 44126, 45441, 45320) Removed 'default' row from test_owners.csv and Updated update_owners.py **What this PR does / why we need it**: Removes the 'default' row from test_owners.csv and the validation/update logic associated with it in update_owners.py. The 'default' row is being removed because it results in too many issues being assigned to the default test owners when issues are automatically generated. **Release note**: ```release-note NONE ``` /assign
This commit is contained in:
		| @@ -86,8 +86,7 @@ def write_owners(fname, owners): | ||||
|     with open(fname, 'w') as f: | ||||
|         out = csv.writer(f, lineterminator='\n') | ||||
|         out.writerow(['name', 'owner', 'auto-assigned', 'sig']) | ||||
|         sort_key = lambda (k, v): (k != 'DEFAULT', k)  # put 'DEFAULT' first. | ||||
|         items = sorted(owners.items(), key=sort_key) | ||||
|         items = sorted(owners.items()) | ||||
|         for name, (owner, random_assignment, sig) in items: | ||||
|             out.writerow([name, owner, int(random_assignment), sig]) | ||||
|  | ||||
| @@ -137,7 +136,6 @@ def main(): | ||||
|         test_names = get_test_names_from_test_history() | ||||
|     else: | ||||
|         test_names = get_test_names_from_local_files() | ||||
|     test_names.add('DEFAULT') | ||||
|     test_names = sorted(test_names) | ||||
|     owners = load_owners(OWNERS_PATH) | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| name,owner,auto-assigned,sig | ||||
| DEFAULT,rmmh/spxtr/ixdy/apelisse/fejta,0, | ||||
| Addon update should propagate add-on file changes,eparis,1, | ||||
| AppArmor should enforce an AppArmor profile,derekwaynecarr,0,node | ||||
| AppArmor when running with AppArmor should enforce a permissive profile,yujuhong,1,node | ||||
|   | ||||
| 
 | 
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue