Closed Bug 1295133 Opened 8 years ago Closed 8 years ago

Make release log bucket browsable


(Release Engineering :: Release Automation: Other, defect)

Not set


(Not tracked)



(Reporter: rail, Unassigned)



ATM we copy release logs to a dedicated S3 bucket, the logs are publicly accessible, but they are not browsable. Maybe we can use clodups infra and "mount" this bucket to some directory under archive.m.o.
Blocks: 1294927
What about generating an index.html for each directory? Every time a log is uploaded we could check for an index.html and create it if it doesn't exist. If it does exist, we overwrite the file with the new log to reflect the change.
Flags: needinfo?(rail)
I wonder how people do this... Generating index.html may lead to race conditions, so you may end up with missing files.

I quick google search points me to, looks promising!
Flags: needinfo?(rail)
I put the index.html and list.js to the bucket and followed the instruction and it looks like it's browsable now:

It looks like it's only browsable when you start from the index, though. For example if you were looking at a log and took the 'filename' out, you would not be able to see all related logs in a listing (ie this doesn't do what you would expect

If you think it's worth doing, I could change the log upload procedure to include adding an index.html file with the script to any new 'directories' so you can see the related files without having to click all the way up the tree.
Flags: needinfo?(rail)
Apparently the script handles that too! wfm now.

I needed to change S3BL_IGNORE_PATH to false to make it work
Flags: needinfo?(rail)
WFM now
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.