Closed Bug 1596177 Opened 5 years ago Closed 5 years ago

Remove support for create-task scopes without priorities

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

References

Details

Attachments

(4 files)

No description provided.

I love this idea, but I don't think firefox-ci is ready:

dustin@lamport ~/p/ci-configuration (40f0d65) $ grep -r queue:create-task: *.yml | grep -v priority | grep -v ':\(very-low\|low\|highest\):'
grants.yml:  - queue:create-task:built-in/succeed
grants.yml:  - queue:create-task:built-in/fail
grants.yml:  - queue:create-task:dummy-test-provisioner/dummy-test-type
grants.yml:  - queue:create-task:localprovisioner/*
grants.yml:  - queue:create-task:medium:proj-autophone/*
grants.yml:  - queue:create-task:medium:proj-awfy/*
grants.yml:  - queue:create-task:packetnet/*
grants.yml:  - queue:create-task:tc-worker-provisioner/*
grants.yml:  - queue:create-task:test-dummy-provisioner/*
grants.yml:  - queue:create-task:medium:terraform-packet/tc-worker-docker-v1-*
grants.yml:  - queue:create-task:dummy-test-provisioner/dummy-test-type
grants.yml:  - queue:create-task:gecko-t-tc-worker/*
grants.yml:  - queue:create-task:localprovisioner/*
grants.yml:  - queue:create-task:packetnet/*
grants.yml:  - queue:create-task:tc-worker-provisioner/*
grants.yml:  - queue:create-task:test-dummy-provisioner/*
grants.yml:  - queue:create-task:dummy-test-provisioner/dummy-test-type
grants.yml:  - queue:create-task:gecko-t-tc-worker/*
grants.yml:  - queue:create-task:localprovisioner/*
grants.yml:  - queue:create-task:packetnet/*
grants.yml:  - queue:create-task:tc-worker-provisioner/*
grants.yml:  - queue:create-task:test-dummy-provisioner/*
grants.yml:  - queue:create-task:localprovisioner/nss-aarch64
grants.yml:  - queue:create-task:localprovisioner/nss-macos-10-12
grants.yml:  - queue:create-task:localprovisioner/nss-rpi
grants.yml:  - queue:create-task:gecko-1/win*
grants.yml:  - queue:create-task:localprovisioner/nss-aarch64
grants.yml:  - queue:create-task:localprovisioner/nss-macos-10-12
hooks.yml:    - queue:create-task:project-relman/relman-svc-memory
hooks.yml:    - queue:create-task:project-relman/relman-svc-memory
hooks.yml:    - queue:create-task:project-relman/relman-svc-memory
hooks.yml:    - queue:create-task:project-relman/relman-svc-memory
hooks.yml:    - queue:create-task:project-relman/relman-svc
hooks.yml:    - queue:create-task:project-relman/relman-svc
hooks.yml:    - queue:create-task:project-relman/relman-svc
hooks.yml:    - queue:create-task:project-relman/relman-svc

and sadly, neither is community:

(sandbox) dustin@lamport ~/p/community-tc-config [worker-client-role] $ git grep queue:create-task: | grep -v ':\(very-low\|low\|lowest\|highest\):'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
config/projects.yml:        - queue:create-task:null-provisioner/*
config/projects.yml:        - queue:create-task:proj-taskcluster/ci

(as you might expect, those are for docker-worker)

Tom, if you'd like to pursue this, we can get a bug on file to fix docker-worker's use of createTask to use the newer scopes. But maybe this isn't a great time for this kind of cleanup? We can wontfix, or move to firefox-ci to fix that up when the time is right.

Flags: needinfo?(mozilla)

It appears that at least the the older of the sets of legacy scope (define-task+task-group-id+schedule-task) are unused.

Attachment #9111791 - Attachment description: Bug 1596177: Remove obsolete worker pools; → Bug 1596177: Remove obsolete worker pools; r?Callek
Assignee: dustin → nobody
Assignee: nobody → mozilla
Attachment #9111802 - Attachment description: Bug 1596177: Use scopes with explicit priorities for hooks; r?Callek → Bug 1596177: Use scopes with explicit priorities for hooks; r=Callek
Status: NEW → ASSIGNED

I think https://github.com/mozilla/community-tc-config/pull/220 removes the last occurrence of the legacy scopes.

Flags: needinfo?(mozilla)

Wow, thank you for that!

If you'd like to remove the support from the queue service, please do -- but I'm also happy to do that if you'd rather not.

I'm happy to leave this in your hands.

Assignee: mozilla → dustin
Blocks: 1455632
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: