Closed Bug 1574948 Opened 5 years ago Closed 5 years ago

Redirects don't preserve the `firefox-source-docs` host name

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect
Not set
normal

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: ahal, Assigned: championshuttler)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Bug 1527363 implements the ability to specify redirects, but the hostname isn't preserved. E.g:
https://firefox-source-docs.mozilla.org/testing/marionette/marionette/index.html

Redirects to:
http://gecko-docs.mozilla.org.s3-website-us-west-2.amazonaws.com/testing/marionette/index.html

This is the same document so it's correct. But:

  1. The change in host is surprising / confusing
  2. The AWS endpoint doesn't have SSL enabled

Glancing at:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html?highlight=upload_fileobj#S3.Client.put_bucket_website

We might need to set RoutingRules.Redirect.HostName to firefox-source-docs.mozilla.org. It's going to be hard to test this on try (as we don't have any domains pointing at it). We might need to just land and see.

Blocks: 1574609
Blocks: 1567121
Assignee: nobody → shivams2799
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ebd3f5f81b02
Preserve the `firefox-source-docs` host name. r=ahal
https://hg.mozilla.org/integration/autoland/rev/199cb0cffeca
Call delete after upload to avoid Contents key error. r=ahal
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: