While the docker environment for wikimetrics worked great initially, it seems broken now and after solving a few errors I'm giving up for now because I need to get a patch in production. I will just test by merging and deploying to staging - I know, not ideal. Ideally someone should fix this.
|analytics/wikimetrics : master||Update docker-compose.yml and queue_config.yaml|
Not sure exactly what issues this ticket meant to address, but I was able to get the docker env working for the current master branch of wikimetrics with a few modifications to docker-compose.yml and wikimetrics/config/queue_config.yaml, under docker 18.06.1-ce using the rev 3 compose file format (https://docs.docker.com/compose/compose-file/compose-versioning/). I know this is a low-priority item at the moment, but I wanted to get this working for some sec rev work I'm performing (though sadly, the meta and Google OAuth config tokens seem to maybe not be working within my local dev env.) Happy to submit this patch in gerrit if it helps solve some of these issues.
Hmm, a handful of flake8 fails unrelated to my patch: https://integration.wikimedia.org/ci/job/tox-docker/4084/console. I could add the check codes to the ignore list in tox.ini, but I'm probably not the right person to make that call.
@mforns - Has wikimetrics already been undeployed? It looks like it might have been, since metrics.wmflabs.org seems to point to a different app now. I ask because there's an oustanding security review task open (T76782) that I'd like to resolve and make public as long as the wikimetrics code is completely undeployed. Thanks.