bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

Automatically update list of demo server use

Open stevejalim opened this issue 2 years ago • 3 comments

Description

At the moment, we manually curate a list on wiki.m.o of who is using what demo server. It would be good if we can keep this up to date automatically, based on successful demo builds, to reduce the risk of stepping on each other's toes.

This could be a Google Sheet, for instance, which we'd link to from the exisiting wiki page.


Success Criteria

  • [ ] An automatically updated doc exists showing:
    • [ ] When a demo site was last pushed to
    • [ ] By whom
    • [ ] With what commit

stevejalim avatar Jul 15 '22 11:07 stevejalim

Looking at the already-in-use https://whatsdeployed.io/s/RuO/mozilla/bedrock, I wonder if it could be as simple as adding extra rows for each demo. That would give all the data except "by whom", which is only a click of the SHA away.

robhudson avatar Jul 15 '22 16:07 robhudson

I like this idea ^ 👍

alexgibson avatar Jul 15 '22 16:07 alexgibson

Lovely ideal. However at the mo we're not getting the GIT_SHA set as an env var, so we get latest as the revision.txt value: https://www-demo1.allizom.org/revision.txt

However, I think this route is def worth persuing. Thanks!

stevejalim avatar Jul 15 '22 16:07 stevejalim

@stevejalim is this one still relevant now we've migrated demos to GCP?

alexgibson avatar Jun 20 '23 15:06 alexgibson

This is working as best we can - the demo page in the wiki shows links to the sha of the code deployed to each

stevejalim avatar Jun 20 '23 15:06 stevejalim