Commit graph

14 commits

Author SHA1 Message Date
ccb34d4452 Make env variables required 2020-06-13 10:42:59 +01:00
47921e6c41 Move game server to port 8080 and host docs on 80 2020-06-12 17:54:47 +01:00
14424c16ca Refactor testing into docker file
This means a decent scale refactor but ends with our testing being much simpler

	Key changes:
		* single Dockerfile for all services
		* tests moved into docker up so don't need to be run locally
		* configurations moved to environment
2020-06-11 18:16:11 +01:00
b3b369f608 Remove /spawn POST endpoint
This was increasing complexity for no added benefit

	/register now performs the spawn in 4 lines of code
2020-06-10 18:48:56 +01:00
6fb7ee598d Move server package out into rove-server 2020-06-10 18:20:05 +01:00
217e579cec Fix InnerMain test for rove commands 2020-06-09 18:35:36 +01:00
aae668fb57 Fix instabilities caused by random rocks 2020-06-09 00:16:49 +01:00
8586bdabd7 Fix duplicate saving on quit
Slight refactor to split server stop and close functions
	Quit function explicitly sends SIGTERM
	SIGTERM doesn't trigger an os.Exit

	Bonus: Properly save the world on spawning the rover
2020-06-07 18:06:34 +01:00
50cc8b5dbf Minor cleanups 2020-06-06 18:44:24 +01:00
c30339143b Fix ./rove tests 2020-06-06 16:28:28 +01:00
1d2087e2b9 Fix test instabilities by refactoring to make address dynamic and readable 2020-06-06 11:52:12 +01:00
3bfbe38837 De-integration the cmd/rove tests as well and massively simplify the tests output 2020-06-06 00:47:48 +01:00
e242fcc4f7 Fix issue with command returning true when no rover was spawned 2020-06-06 00:18:41 +01:00
9c0dde616b Refactor to implement integration testing for rove 2020-06-06 00:04:30 +01:00