Closed glogiotatidis closed 5 years ago
Note to self: https://stackoverflow.com/a/21498821
solved the issue with jquery
Converting to real model is indeed a really good idea.
We have working on in https://github.com/mozmeao/snippets-service/pull/928.
Along this way we decided to go ahead and build the image gallery in #841.
for prod, can you make another step to remove inkscape when complete:
kubectl into the staging node and install inkscape, required for the migration
Is there any way to validate the results when in prod?
for prod, can you make another step to remove inkscape when complete:
kubectl into the staging node and install inkscape, required for the migration
good point. I'll go ahead and kill the migration pod to make sure that it's clean
Is there any way to validate the results when in prod?
Yes. I'll save replies before after and compare results. Image validation will happen by opening the images and making sure that they appear correctly.
Staging looks good! \o/
Waiting on LCM team to confirm production deployment
Waiting on LCM team to confirm production deployment
we're good. i'm working on the production migration
Production deployment and migration worked flawlessly but the application experienced ten-fold increase in response times on both oregon and frankfurt clusters.
We collected traces using NewRelic's X-Ray and rolled-back the code to restore the service.
Issue #935 tracks the problem we faced on production.
Today's update:
admin
node first, re-run the migrationprod
then, validated that the fix was workingfrankfurt
production
branch which triggered a full pipeline build and re-pushed everywhereResult:
Wins:
This one is done!
@bensternthal let's keep an eye on snippets CDN costs
noted!
@bensternthal can we get a first estimation on CDN costs for Apr?
💰 info sent via email
Since templates are now code in AS, we can make them code in the service as well. This will allow us to use django's form validation for #655 , use foreign key relationships for the image gallery (#841) and property fix things like #757
Let's investigate how that would look like and that's the best route to follow.
Check
template_relation
existsDeployment plan
Staging
MEDIA_ICONS_ROOT
config stagedeis_oregon run -a snippets-stage -- ./manage.py clear_cache -a
Production
MEDIA_ICONS_ROOT
config proddeis_oregon run -a snippets-admin -- ./manage.py clear_cache -a
deis_frankfurt run -a snippets-prod -- ./manage.py clear_cache -a
deis_oregon run -a snippets-prod -- ./manage.py clear_cache -a