This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
Releases: ocadotechnology/aimmo
Releases · ocadotechnology/aimmo
0.5.2.b3240: worker no longer sends extra request to game for data (#914)
* worker no longer sends extra request to game for data * pep8 * pep8++ * fix tests * Merge branch 'development' into remove_redundant_request * bump version * move worker's code into worker object * minor change to worker * Merge branch 'development' into remove_redundant_request * fix broken tests * minor change
0.5.1.b3230: Update react and babel (#916)
* Upgrade react to 16.6.3 and related packages * update react and babel * upgrade babel deps * Mock out unityContent * bump version * update code for babel pollyfill update
0.5.0.b3207: Upgrade react unity webgl to 7.x (#910)
* alphabetize npm packages * upgrade react unity webgl to 7.0.7 * update code to work with react unity webgl 7.x * update yarn.lock * write more tests for GameView * add docker to top Pipfile * Merge branch 'development' into upgrade_react_unity_webgl # Conflicts: # aimmo-game/Pipfile.lock * bump version * Merge branch 'development' into upgrade_react_unity_webgl # Conflicts: # version.txt
0.4.3.b3203: PrintCollector improvements (#911)
* Implement custom print collector * added doc strings and minor cleanup * catch syntax warning incorrect syntax warning * tests * bump version * pep8 * pep8++ * Merge branch 'development' into PrintCollector_improvements * minor changes + remove clean log function as no longer needed * improvements to log output * separated tests and added new test * refactored log printing
0.4.2.b3183: Add .vscode to the .gitignore (#908)
* .vscode folders no longer show up on git * Merge branch 'development' into add_editor_settings_to_gitignore
0.4.2.b3176: Fix kubernetes mode (#906)
* fixed default port not being given in dockerfile for games * Changed simulation runner to make use of asyncio * changed parallel_map to async_map * Waiting for workers pt. 1 * aimmo now works in kubernetes mode again * aimmo now works in kubernetes mode again (tests fails though) * Merge remote-tracking branch 'origin/fix_kubernetes_mode' into fix_kubernetes_mode * fixed broken tests * pep8 * removed temporary logging * moved get loop into setUp for tests * bump version++ * make runner last build stage * remove broken coverage tool * removed broken coverage tool++ * change docker build target in tester * docker now uses buildkit (requires docker 18.09) * create build hook for docker cloud * fix syntax error * add image tag to build hook * fix image name on build hook * add build hook for worker and game-creator * remove pwd from build hooks * remove broken coverage tool from travis.yml * change env variable to be str not int * force setup.py version * Revert "force setup.py version" This reverts commit 306bee841a0f76d4a34295400c2a223574f2e86d. * review changes * add dockerbuildkit env variable to travis * change the way docker is installed for travis test * removed docker addon from travis.yml (installing older version) * changed logic in docker scripts
0.4.1.b3110: 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 49fc3d533cb79ca5ecebb9475eb0091b16139d75. * 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 18d88e0de315f4366a43da519a04b349d6063710. * 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 fec20949909ebabc9eb0d288010883e218fab39b. * 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
0.4.0.b3098: C-002 solution implementation (#896)
* Added RestrictedPython and restricted globals to compile avatar code in restricted manner. * No longer updates code at every turn * Moved restricted code to separate file. * Revert "Moved restricted code to separate file." This reverts commit e1b64758a3c16673b5c3c473b4a6824ea7257e47. * Cleaned up comments and logs. * Removed additional unused imports. * Added actions to globals and cleaned up other globals * Added regex to clean logs of unwanted warnings. * Added Avatar in module dict straight away to fix delayed turn issue. * Enables use of += and other similar operations * Removed broken regex * Fixed tests * Removed imports from avatar examples * Added tests * Try fixing tests on travis * Try fixing tests on travis part 2 * Re-update pipfile package name * Check to see if RestrictedPython in setup.py causes an issue * Update class definition * Added builtins import for future Python 3 * CodeClimate * Revert "Enables use of += and other similar operations" * Made tests format consistent * Re-added RestrictedPython to dependencies * Bumped up version * Removed tests from CodeClimate exclude and renamed avatar file
0.3.0.b2983: Fixed port setup for Linux (#880)
* Separated port setup for docker and kubernetes modes. * Removed unnecessary port initialiser.
0.3.0.b2975: Update docker command to fix port issue (#879)
* Changed default to port environment variable.