mozmeao / infra

Mozilla Marketing Engineering and Operations Infrastructure
https://mozilla.github.io/meao/
Mozilla Public License 2.0
59 stars 12 forks source link

Add ability for CRO team to easily add images to www.m.o for experiments #1304

Closed pmac closed 4 years ago

pmac commented 4 years ago

The CRO team would like to be able to upload images for experiments outside of a full bedrock prod push, but would like to use our CDN to ensure the images are as fast and reliable as our other site media. In my view we have 2 main options:

  1. Give them the ability to upload to our existing bedrock-prod-media bucket
  2. Give them a new bucket that would also be proxied through the CDN in the same way /media is now

I think 1 is the most quick and easy way to go, and we could setup a repo with automation to upload images added to it to a specific folder within the prod media bucket. This would be very similar to the automation for the https://github.com/mozmeao/www-admin repo that uploads content card images to the bucket.

pmac commented 4 years ago

I've created a repo for this https://github.com/mozmeao/www-experiment-media

Alan and I decided on Slack to use the existing prod bucket and automate uploads via the above repo.

pmac commented 4 years ago

This is done. I setup the new repo with automation in GitLab and tested it.

https://www.mozilla.org/media/cro_exp/img/mozilla-hack.jpg

Huge success \o/

bookshelfdave commented 4 years ago

btw, this is awesome @pmac, thank you!