This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Up to python3.6 in containers (#895)
* Change game container to python3 * containers all up to python3, but workers not being made * Added plain python image for testing errors * cleanup * fixing test imports * pipenvs to python 3 for containers * removed aimmo-game-creator dependancy from worker * Remove vscode settings * Merge branch 'development' into up_to_python3_in_containers # Conflicts: # aimmo-game-creator/Pipfile.lock # aimmo-game/Pipfile.lock * try to fix tests * Use only compare priorities in priority queue * making code python 3 compatible * passed container template to workers (python 3 works! 😄) * python 3 changes and introduce multistage builds to docker file for python3 tests * fixed broken tabbing * game creator tests now run inside containers, fixed broken code * added new command parser for run.py to help with testing * added method stub and comments as reminder that tests aren't done yet * run aimmo-game tests in a job in docker * python setup.py test in Dockerfile * add other docker containers to test in travis * use the int division operator instead of the float division operator * setup all_test.py to run the tests in containers by default * Merge remote-tracking branch 'origin/up_to_python3_in_containers' into up_to_python3_in_containers * make integration tests run using containers * update travis script * fix logic in all_tests.py * fixes for k8s minikube workflow * WIP for making it work with python 3.6.5 * use thread pools instead of green pool, found pod creation issue * Trying to understand why trying to list pods hangs indefinitely * removed Greenpool from our code and docuementation * Identified source of problem and added prints to mark it clearly * Switched to multiprocessing library to try and resolve issue * Revert "Switched to multiprocessing library to try and resolve issue" This reverts commit 49fc3d5. * updated run turn to also used threadpools (pods still hang) * Removed Rlock from gamestate to try remove deadlock * kubernetes client not fully compatible with python3.7 * More progress on fixing issues with python3 upgrade * 3_in_containers: Auto stash before merge of "up_to_python3_in_containers" and "origin/up_to_python3_in_containers" * stop infinite recursion error in urllib3 with python 3.6 * don’t explicitly fix urllib3 * remove some logging statements * change worker to use python 3.6.5 * remove debug logger statements * use aiohttp instead of flask, socket io not working * Merge remote-tracking branch 'origin/up_to_python3_in_containers' into up_to_python3_in_containers * fix async await callback issue * Revert "3_in_containers: Auto stash before merge of "up_to_python3_in_containers" and "origin/up_to_python3_in_containers"" This reverts commit 18d88e0. * Merge branch 'up_to_python3_in_containers' of https://github.com/ocadotechnology/aimmo into up_to_python3_in_containers * use pytest for aimmo-game * Fix tests and python3 * adding verbosity to python aimmo game test * add verbose output to pytest * only search for tests inside of the tests folder * remove -s options for aimmo game pytest * Merge branch 'development' into up_to_python3_in_containers * Cleanup * Merge branch 'up_to_python3_in_containers' of https://github.com/ocadotechnology/aimmo into up_to_python3_in_containers * ignore tests in codeclimate * fix a few linting issues * pep8 * refactor of all_tests.py as pep8 broke it * pep8++ * include docker image tests in coverage * add build stage for coverage to docker images * Add coverage tool to containers * Coverage has been added to containers for testing * add coveralls to new jobs in travis * add coveralls to coverage test build stage in docker images * removed eventlet from worker coverage as it is unable to install The tests do still run * try to get coveralls working * coveralls still not sending coverage data * added coveralls to travis test stages instead of docker images * publishing container ports to try allow it to send coverage data * fix port exposing error * Factorise duplicate get avatar id code * add coverage report command as it is not collecting data * Merge remote-tracking branch 'origin/up_to_python3_in_containers' into up_to_python3_in_containers * Remove port publish and coverage report as neither solver the problem * Fixed factorising * Merge branch 'up_to_python3_in_containers' of https://github.com/ocadotechnology/aimmo into up_to_python3_in_containers * More codeclimate fixes + ignoring docstrings * add coverage config for coverage.py to see if it captures results * Merge remote-tracking branch 'origin/up_to_python3_in_containers' into up_to_python3_in_containers * Fix cyclomatic complexity issue. * Revert "add coverage config for coverage.py to see if it captures results" This reverts commit fec2094. * Merge branch 'up_to_python3_in_containers' of https://github.com/ocadotechnology/aimmo into up_to_python3_in_containers * trying only solution i've managed to find for this problem * Added environment variable for detecting if we want coverage * changed to using coverage api instead of the command line approach * add bash to coverage tester * fix syntax error * removing cleanup line so coveralls can use .coverage * output results from coverage on travis * Removing coverage print (coverage is being collected properly) coverage data is being collected, coveralls seems to be submitting data correctly. however nothing shows up on coverall.io for the container builds. * pep8++ * bump version to 0.4.1 * Merge branch 'development' into up_to_python3_in_containers * remove duplicate from pipfile * appends ', printed' to users return statement to get their prints * fixed some issues with collecting user prints * pep8++ * fixed broken test
- Loading branch information