Closed
Bug 1158376
Opened 10 years ago
Closed 10 years ago
index: Auxiliary API that redirects to signed url for artifacts from queue
Categories
(Taskcluster :: General, defect)
Taskcluster
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jonasfj, Assigned: jonasfj)
References
Details
Attachments
(1 file)
It would be nice if we could have end-points like:
GET /task/<namespace>/artifacts/<artifactName>
It should obviously validate the scopes required by the queue, before doing a signed redirect to the queue.
This is mostly for curl/wget clients, that just want to download artifacts based on the namespace tasks are indexed under...
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jopsen
Assignee | ||
Comment 1•10 years ago
|
||
Will require that:
A) artifact name starts with "public/", or
B) that you have the scope "queue:get-artifact:<name>"
In case of (A) it'll redirect to an unsigned URL for the queue artifact.
In case of (B) it'll redirect to a signed URL for the queue.
Attachment #8606400 -
Flags: review?(jhford)
Comment 2•10 years ago
|
||
Comment on attachment 8606400 [details]
Github PR
looks good to me
Attachment #8606400 -
Flags: review?(jhford) → review+
Assignee | ||
Comment 3•10 years ago
|
||
This is now deployed :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: --- → mozilla41
Version: unspecified → Trunk
Comment 4•9 years ago
|
||
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•