Commit Graph

119 Commits

Author SHA1 Message Date
Logan Cusano
49e52d8944 Add makefile for server and related action build test
Some checks failed
DRB Build Tests / build (push) Failing after 7s
DRB Build Tests / drb_build_and_test (push) Failing after 58s
2024-04-28 04:46:08 -04:00
Logan Cusano
63ccfa70d3 Add server docker file and related action tests
Some checks failed
DRB Build Tests / build (push) Failing after 15s
DRB Build Tests / drb_build_and_test (push) Failing after 1m2s
2024-04-28 04:34:15 -04:00
Logan Cusano
4bb8038a1d Update variables in test action
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 57s
2024-04-28 03:26:06 -04:00
Logan Cusano
a353b9adbb Improvements to tests and from testing
- Moved OP25 start outside of PDAB start callback
- Added more logging
- Set the pdabProcess variable to false when closing the discord client
- Update test variable names
- Added new WIP pdabWrappers tests to test the full wrappers as the client would
2024-04-28 03:21:03 -04:00
Logan Cusano
bf69e93e29 Improve subprocess handler
- Will now output the subprocess console when in dev mode
2024-04-28 03:18:13 -04:00
Logan Cusano
6cae18e70c Update PDAB tests
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 58s
- These new tests will likely not run in actions due to pyaudio
2024-04-27 23:34:30 -04:00
Logan Cusano
e7229322e4 Update pdab handler
- Updated socket close
- Took server outside of the init (server is always running)
- initDiscordBotClient just starts the PDAB process
2024-04-27 23:33:53 -04:00
Logan Cusano
34aa5d17dc Updates to setup from testing
All checks were successful
DRB Build Tests / drb_build_and_test (push) Successful in 52s
2024-04-26 23:46:13 -04:00
Logan Cusano
565fd5af37 Updated join voice log
All checks were successful
DRB Build Tests / drb_build_and_test (push) Successful in 1m27s
2024-04-26 21:30:27 -04:00
Logan Cusano
f04154d361 Remove client build test for now 2024-04-26 21:29:10 -04:00
Logan Cusano
383663e980 #30 Update discordBot
- Added voice states intent
2024-04-26 21:28:49 -04:00
Logan Cusano
7b21d4601f #10 Updated setup
Some checks failed
DRB Build Tests / drb_test_setup (push) Failing after 2m34s
DRB Build Tests / drb_build_and_test (push) Successful in 47s
- Re-formatted apt deps. for readability with many packages
- Added libasound-dev to try and build pyaudio
2024-04-21 15:06:59 -04:00
Logan Cusano
d0c2fcc8eb #10 #33 Update client setup and setup test
Some checks failed
DRB Build Tests / drb_test_setup (push) Failing after 2m37s
DRB Build Tests / drb_build_and_test (push) Successful in 54s
- Added a step to run the service after setting it up
- Removed `--system` option from pip3
2024-04-21 14:57:17 -04:00
Logan Cusano
9ba90af464 #10 Update setup.sh
Some checks failed
DRB Build Tests / drb_build_and_test (push) Successful in 52s
DRB Build Tests / drb_test_setup (push) Failing after 2m15s
- Remove systemctl stops as they are not needed and impact testing
2024-04-21 02:43:43 -04:00
Logan Cusano
6e8681e52d #10 Update client setup test
Some checks failed
DRB Build Tests / drb_test_setup (push) Failing after 2m1s
DRB Build Tests / drb_build_and_test (push) Successful in 1m2s
- Updated test name
- Added user pi in test environment
2024-04-21 02:34:07 -04:00
Logan Cusano
8ba1ed36d8 #10 Update actions and setup script
Some checks failed
DRB Build Tests / test_setup (push) Failing after 2m5s
DRB Build Tests / drb_build_and_test (push) Successful in 54s
- Removed the step to run the DRB client from socket tests
- Added a testing switch to the install script to return all preset values for all user input
- Added test switch to client setup action step
2024-04-21 02:28:37 -04:00
Logan Cusano
3074e88963 #10 Updated client setup test action
Some checks failed
DRB Build Tests / test_setup (push) Failing after 2m27s
DRB Build Tests / drb_build_and_test (push) Failing after 41s
- Removed comment and fixed name typo
2024-04-21 02:15:38 -04:00
Logan Cusano
737b493b23 #10 Updated client setup test action
Some checks failed
DRB Build Tests / test_setup (push) Failing after 8s
DRB Build Tests / drb_build_and_test (push) Failing after 56s
- Added working dir for setup test
2024-04-21 02:14:32 -04:00
Logan Cusano
539dbd9518 #10 Removing makefile
Some checks failed
DRB Build Tests / test_setup (push) Failing after 9s
DRB Build Tests / drb_build_and_test (push) Has been cancelled
The makefile for the client is not as useful as a install script

- Updated test action to install client deps.
- Added new action to specifically test the install script for client
2024-04-21 02:13:35 -04:00
Logan Cusano
59bfdbe143 #10 Updating build test
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m17s
- Adding the pi user in the test environment to match raspbian
2024-04-21 01:46:34 -04:00
Logan Cusano
560ed401cf #10 Updated Makefile
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m39s
- Updated sed command in setup_pulse_audio
2024-04-21 01:38:45 -04:00
Logan Cusano
7b91667414 #10 Update Makefiles
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m26s
- Removed the client_dir var as it's not needed
2024-04-21 01:31:04 -04:00
Logan Cusano
fd9b6d9d1c #10 Updating build test to remove threads and sudo
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 29s
2024-04-21 01:26:44 -04:00
Logan Cusano
3aae427249 #10 Updating makefile to include sudo
Some checks failed
DRB Build Tests / drb_build_and_test (push) Has been cancelled
2024-04-21 01:24:24 -04:00
Logan Cusano
bc4c8f72d0 #10 Update makefile
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m27s
- Working on issue running OP25 install script
2024-04-21 01:14:40 -04:00
Logan Cusano
cc4e5e762d #10 Added sudo to makefile test
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m49s
2024-04-21 01:07:51 -04:00
Logan Cusano
31cedb2e9c #10 Combining tests
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m16s
- Combined all tests
2024-04-21 01:01:32 -04:00
Logan Cusano
61a616ec6b #10 Updates
Some checks failed
DRB Client Makefile Build Test / build (push) Failing after 54s
DRB Socket Communication Tests / test (push) Successful in 1m58s
- Added check for updates at boot
- Updated post update script to update OP25 and PDAB
- Added initial makefile to replace the `setup.sh`
- Added new test to make sure makefile builds
- Renamed socket tests
2024-04-21 00:52:15 -04:00
Logan Cusano
d7b7b04f78 Update PDAB Wrappers
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 46s
- Close the socket server when there are no active connections
2024-04-14 23:59:04 -04:00
Logan Cusano
2c9383824e Updated client setup script
- Added pip
- updated branch for op25
- Improved the python deps install
2024-04-14 23:46:43 -04:00
Logan Cusano
cebd316939 Fixed bug if statement
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 46s
2024-04-14 20:43:06 -04:00
Logan Cusano
af19db8e17 Add PDAB setup
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 53s
2024-04-14 20:41:22 -04:00
Logan Cusano
45b9a62c64 Removed dev comments stopping OP25
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
2024-04-14 16:39:24 -04:00
Logan Cusano
8c3164029f Updated typo for pdab_port action var
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
2024-04-14 16:03:30 -04:00
Logan Cusano
bec4072837 Merge test actions into one action
Some checks failed
Run Discord Radio Bot v3 Tests / test (push) Failing after 1m17s
2024-04-14 15:58:00 -04:00
Logan Cusano
ac82b0efd0 Removed hardcoded IDs in test 2024-04-14 15:51:31 -04:00
Logan Cusano
854c73cc4e Testing updates
All checks were successful
Client Tests / test (push) Successful in 1m30s
Run Socket Server Tests / test (push) Successful in 1m15s
- Added client tests, started with the pdabHandler interactions
- Updated caps in socket server tests
- Updated pdabHandler with uniform 'guild_id'
- Updated pdabHandler with production check to launch or not launch the python client
-
2024-04-14 15:47:29 -04:00
Logan Cusano
238fe6a254 Updating server workflows
All checks were successful
Run Socket Server Tests / test (push) Successful in 34s
- trying to get mongo container to work
2024-04-07 20:26:47 -04:00
Logan Cusano
96d9c38425 Removed unused imports from tests
Some checks failed
Run Socket Server Tests / test (push) Failing after 1m20s
2024-04-07 19:07:31 -04:00
Logan Cusano
4df3de4d4a Passing local server tests
Some checks failed
Run Socket Server Tests / test (push) Failing after 30s
2024-04-07 19:01:00 -04:00
Logan Cusano
461b449194 Added success emits for server functions 2024-04-07 17:01:51 -04:00
Logan Cusano
757fdfb3b2 Rename tests file to test for mocha 2024-04-07 16:59:51 -04:00
Logan Cusano
9bc80887ce Updated Package 2024-04-07 16:59:16 -04:00
Logan Cusano
0ce0f72ed3 Update Server
- Move socket server start to main server file
- This way tests and the main function can use the same code
2024-04-07 16:58:50 -04:00
Logan Cusano
49ae941e83 Updating tests
Some checks failed
Run Socket Server Tests / test (push) Failing after 33s
- Removed bugged --name param
2024-04-07 16:56:03 -04:00
Logan Cusano
8e73659855 Updating tests
Some checks failed
Run Socket Server Tests / test (push) Failing after 26s
2024-04-07 16:53:54 -04:00
Logan Cusano
0a76804490 Updating tests file to use mongo docker for testing
Some checks failed
Run Socket Server Tests / build (push) Failing after 0s
Run Socket Server Tests / test (push) Failing after 31s
2024-04-07 16:43:35 -04:00
9ad24ca8ec Update .gitea/workflows/server_tests.yaml
Some checks failed
Run Socket Server Tests / test (push) Failing after 30s
Removing deprecated dev set
2024-04-06 14:17:05 -04:00
7676e883a5 Update .gitea/workflows/server_tests.yaml
Some checks failed
Run Socket Server Tests / test (push) Has been cancelled
Setting the node environment to development
2024-04-06 14:16:21 -04:00
86a71d3d6f Update .gitea/workflows/server_tests.yaml
Some checks failed
Run Socket Server Tests / test (push) Failing after 17s
Setting production flag as passed 'dev' var to npm is installing the dev package
2024-04-06 14:14:31 -04:00