buttonmen-dev / buttonmen

Buttonmen - an online dice game
Other
16 stars 23 forks source link

Script to print the IP address of this buttonmen site's launched container #2947

Closed cgolubi1 closed 1 month ago

cgolubi1 commented 1 month ago

This is just a utility for me to use, but it'll help with running post-deploy database updates for future code pushes, which is on the checklist for #2908.

Testing:

$ env AWS_PROFILE=bm_deploy /Users/chaos/games/buttonmen/miniconda3/bin/python ./deploy/docker/get_buttonmen_site_ipaddr 
54.165.109.196

That matches what i get from DNS (but note that DNS only works because the container hasn't been replaced since DNS was set, and won't work for staging or prod --- this should):

$ host 2908-get-ipaddr-script.cgolubi1.dev.buttonweavers.com
2908-get-ipaddr-script.cgolubi1.dev.buttonweavers.com has address 54.165.109.196
blackshadowshade commented 1 month ago

File has nothing directly to do with game code, is only to do with the deployment. Merging now.