archive
/
catfish
Archived
1
Fork 0
Commit Graph

49 Commits

Author SHA1 Message Date
Jake Howard 5fee87b3a2
Test project status command 2018-12-23 14:37:53 +00:00
Jake Howard 4b5880cb36
Test process port 2018-12-23 13:01:32 +00:00
Jake Howard 5c04b5f85c
Assign ports to processes 2018-12-23 12:55:56 +00:00
Jake Howard cce567d30e
Test process colours and running pid 2018-12-23 12:07:31 +00:00
Jake Howard af45867376
Add custom logfmt parser based off python-logfmt
This specifically doesn't add quotes where they're not necessary
2018-12-21 15:37:42 +00:00
Jake Howard 9362be50b9
Add function to process to detect if it's running 2018-12-21 14:35:41 +00:00
Jake Howard 2c9af76b88
Add tests for commands working directories 2018-12-21 14:02:27 +00:00
Jake Howard 84bc0bbbd9
Complete project run command 2018-12-21 13:00:20 +00:00
Jake Howard f7f457e6c2
WIP project run command 2018-12-20 18:59:25 +00:00
Jake Howard 5869befecb
Call module directly rather than binary 2018-12-20 16:00:57 +00:00
Jake Howard 895e159502
Add tests for successful and fatal exit codes 2018-12-19 17:28:39 +00:00
Jake Howard 711db92b8e
Test process restarts when exit normally 2018-12-19 17:10:58 +00:00
Jake Howard fffcbf8f48
Allow processes to be restarted and terminated 2018-12-19 15:44:03 +00:00
Jake Howard 1e190c7932
Better handle stopping router in tests 2018-12-19 13:43:28 +00:00
Jake Howard ae5b3eeefb
Add env file parsing 2018-12-18 21:42:23 +00:00
Jake Howard 9870342567
Add additional environment variables to processes 2018-12-18 21:24:44 +00:00
Jake Howard 76b02ed5f9
Don't raise if a process vanishes before evaluation 2018-12-18 21:12:29 +00:00
Jake Howard fbdef2ecbf
Use process ident for logs socket filename 2018-12-18 21:04:29 +00:00
Jake Howard 9b937d25c3
Change payload type to enum 2018-12-18 20:41:23 +00:00
Jake Howard f5d27f558e
Run worker inline so it's easier to see errors 2018-12-18 20:36:34 +00:00
Jake Howard f9476ee1df
Add idents to processes 2018-12-18 20:16:43 +00:00
Jake Howard 7af173c0cf
Replace uses of os.path with pathlib 2018-12-18 15:49:20 +00:00
Jake Howard c63c709c79
Add project names 2018-12-18 15:34:57 +00:00
Jake Howard 53b3d29baa
Read procfile 2018-12-17 21:43:46 +00:00
Jake Howard 5997412b98
Add base project class 2018-12-17 20:40:11 +00:00
Jake Howard 3bc8de98e6
Kill all dummy processes after launch
Just in case
2018-12-15 16:24:55 +00:00
Jake Howard f1b4017789
Remove unnecessary file 2018-12-15 16:10:40 +00:00
Jake Howard ec58111360
Allow router to be tested properly 2018-12-15 16:08:37 +00:00
Jake Howard eec4e46f3e
Kill all child processes when server terminates 2018-12-14 22:58:50 +00:00
Jake Howard 697c8cb6eb
Add timeout to starting worker 2018-12-14 22:44:39 +00:00
Jake Howard b184038cc4
Don't show starting process in tests 2018-12-14 22:43:20 +00:00
Jake Howard 73328303d4
Start worker using subprocess
This is because it ends up forking the tests else, which is really weird, and bad
2018-12-14 22:33:11 +00:00
Jake Howard ea7f195d0a
Show errors when starting worker in tests 2018-12-14 21:48:49 +00:00
Jake Howard c2b6c38d37
Allow running the worker on a custom port 2018-12-13 18:01:40 +00:00
Jake Howard cd8cae18c5
Use the CLI to run the app 2018-12-13 17:10:14 +00:00
Jake Howard c722c12ba4
Pipe stdout to socket 2018-12-13 16:54:24 +00:00
Jake Howard ce29af5459
Use custom program rather than `yes`
Yes may be too IO intensive, and may not exist on all systems
2018-12-13 14:06:47 +00:00
Jake Howard 4bd7ce6f15
Move all sockets into subdir 2018-12-13 11:44:41 +00:00
Jake Howard 81bbcf8761
Add and test ping command 2018-12-13 11:36:22 +00:00
Jake Howard 31b1bc957c
Test if a process is running 2018-12-13 11:36:04 +00:00
Jake Howard 1d32eeb24a
Add worker socket server 2018-12-13 11:25:09 +00:00
Jake Howard 5b03540601
Test multiple hostname lookup 2018-12-12 23:19:05 +00:00
Jake Howard aff11d7d84
add utils to get hostname from request and process from hostname 2018-12-12 23:15:37 +00:00
Jake Howard 9168ac32de
Move router to its own app 2018-12-12 22:34:51 +00:00
Jake Howard c2c5f955e8
Add function to get root process 2018-12-12 22:29:42 +00:00
Jake Howard 3ed8ba7eb3
Add base test case for worker 2018-12-12 21:55:45 +00:00
Jake Howard 96c52a0328
Test worker stop/start works 2018-12-12 18:47:40 +00:00
Jake Howard 4f05b88abf
Init CLI 2018-12-12 16:52:37 +00:00
Jake Howard 198eb1f209
Actually add a tests file 2018-12-12 15:06:03 +00:00