Commit graph

24 commits

Author SHA1 Message Date
ea4b7de4ac Rename "commands" to "command" 2020-07-05 12:55:01 +01:00
31c0753341 Fix InnerMain test 2020-07-04 23:15:12 +01:00
f8e594cb39 Rename "status" command to "server-status" 2020-07-04 23:05:08 +01:00
693b8a54f1 Add repair command to repair using inventory item 2020-06-27 01:39:10 +01:00
f9c30f541c Rename USER_DATA to ROVE_USER_DATA 2020-06-27 00:02:07 +01:00
4a343f36a8 Remove ROVE_HOST
No need for two ways to set this
2020-06-26 23:58:58 +01:00
6c09ee3826 Refactor main to accept commands and arguments 2020-06-26 23:31:06 +01:00
2f6465987d More de-scope - remove duration on move command
This isn't even needed, as commands can just be queued up
2020-06-26 22:26:27 +01:00
98249948a1 Fix up host ports and env variables 2020-06-13 11:17:52 +01:00
7c830f58be Add missing log import 2020-06-13 10:59:47 +01:00
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