Commit Graph
93 Commits
Author SHA1 Message Date
Jonathan Branan b2b8f6c10d fix: deterministic exit code for missing Komodo env vars
test / komodo-deploy-script (push) Successful in 16s
ci / docker (push) Successful in 48s
test / komodo-deploy-script (pull_request) Successful in 16s
':?' exits 1 under bash but 2 under dash (the Ubuntu runner's sh),
so the two missing-variable tests failed in CI while passing locally.
Replace with explicit checks so every failure path exits 1.
2026-10-27 00:16:51 -05:00
Jonathan Branan 003217a2b8 test: cover komodo-deploy.sh against a mock Komodo API
ci / docker (push) Successful in 21s
test / komodo-deploy-script (push) Failing after 21s
15 unittest cases exercising the real script end to end: target
selection, auth headers, request shape, success/failure, HTTP 401/400,
unreachable host, polling to completion, and timeout.

Runs in CI via .gitea/workflows/test.yml on push to main/dev* and on
pull requests. No network or live Komodo instance required.
2026-10-27 00:11:53 -05:00
Jonathan Branan 45908b8f6e ci: fix Komodo deploy step permission denied
ci / docker (push) Successful in 5m11s
core.fileMode is false in this repo, so the exec bit on
komodo-deploy.sh was not recorded and the runner hit
'Permission denied'. Mark the file executable in the index and
invoke it via 'sh' so the step no longer depends on the mode bit.
2026-10-26 23:50:28 -05:00
Jonathan Branan ef002b2fce ci: auto-deploy to Komodo stack after image push
ci / docker (push) Failing after 44s
Adds a shared .gitea/scripts/komodo-deploy.sh that calls the Komodo
/execute/DeployStack API after the image is pushed, then polls
/read/GetUpdate until the deploy completes.

A push webhook cannot do this correctly: it fires before the image
exists in the registry, so Komodo would redeploy the previous :latest.

- docker.yml deploys stack 'qbit-maid' (required)
- docker-dev.yml deploys vars.KOMODO_STACK_DEV, skipped when unset
2026-10-26 23:43:42 -05:00
Jonathan Branan f1489ba8a8 docs: plan for automatic Komodo deploys from Gitea Actions 2026-10-26 23:31:04 -05:00
jblu 4416ebd924 fixed crontab writing jobs multiple times
ci / docker (push) Successful in 41s
2026-04-10 16:19:36 -05:00
jblu acaf91a301 update readme
ci / docker (push) Successful in 39s
2026-04-09 12:32:59 -05:00
jblu 6248b7f721 update readme
ci / docker (push) Successful in 38s
2026-04-08 19:12:43 -05:00
jblu e1668dd42d migrated to crond 2026-04-08 19:10:04 -05:00
jblu d15cc8d95c updated healthchecks to support starting and stopping a job
continuous-integration/drone/push Build is passing
2024-06-03 20:32:57 -05:00
jblu 708d56fc98 Updated documentation
continuous-integration/drone/push Build is passing
2023-10-05 08:24:28 -05:00
jblu 6110dade2d Updated help #56
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-05 07:37:21 -05:00
jblu c3865d5fbb Updated test cases
continuous-integration/drone/push Build is passing
2023-10-04 15:03:11 -05:00
jblu 24f6e7b563 updated unit tests and fixed a bug
continuous-integration/drone/push Build is passing
2023-09-20 00:18:26 -05:00
jblu 588382ae14 fixed unit test
continuous-integration/drone/push Build is passing
2023-09-12 14:03:15 -05:00
jblu 01a4c88cc4 Fixed #58
continuous-integration/drone/push Build is failing
2023-09-12 13:04:38 -05:00
jblu 8e70374ae7 test
continuous-integration/drone/push Build is passing
2023-08-09 10:47:27 -05:00
jblu ce5ae0261c changed drone 2023-08-06 23:38:39 -05:00
jblu 4cfb4a88c1 added badge
continuous-integration/drone/push Build is passing
2023-07-23 00:39:39 -05:00
jblu 43c9324a3f updated documentation #56
continuous-integration/drone/push Build is passing
2023-07-23 00:32:15 -05:00
jblu a4fc54afe5 updated testing
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-06-27 12:43:10 -05:00
Jonathan Branan 728e429979 fixed build process
continuous-integration/drone/push Build is passing
2023-06-23 04:24:14 -05:00
Jonathan Branan b8a31c43de updated drone
continuous-integration/drone/push Build is passing
2023-06-23 04:20:12 -05:00
Jonathan Branan ca1430b302 migrated to supercronic
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-06-23 04:02:05 -05:00
jblu 660a18a70f disable warnings
continuous-integration/drone/push Build is passing
2023-06-11 14:41:50 -05:00
jblu 7a6787888c tag only latest
continuous-integration/drone/push Build is passing
2023-06-06 15:20:20 -05:00
jblu 65598d97ac enabled drone
continuous-integration/drone/push Build is passing
2023-06-06 15:17:31 -05:00
jblu 978e9326cc updated to execute on main branch
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-06-06 14:47:03 -05:00
jblu beee95caa4 updated to use secret
continuous-integration/drone/push Build is passing
2023-06-06 14:44:56 -05:00
jblu 6ce2add157 added drone support
continuous-integration/drone/push Build is passing
2023-06-06 14:33:07 -05:00
jblu dc533a33b1 updated docker ignore #50 2023-06-06 14:18:11 -05:00
jblu cf64321e49 added health check support 2023-06-05 23:51:49 -05:00
jblu b6346ac335 fixed config init 2023-06-05 22:42:00 -05:00
jblu 8520933f8d added docker support 2023-06-04 13:05:26 -05:00
jblu 03648f9ae2 added apprise client 2023-05-16 22:05:12 -05:00
jblu b36e27edb9 more adjustments for #33 2023-03-15 13:37:34 -05:00
jblu ecf3da456e #33 and fix saved content getting deleted 2023-03-10 13:22:09 -06:00
jblu abaab2d9cc updated logginglevels 2022-11-01 16:12:49 -05:00
jblu b082680853 #39 #38 #37 lots of changes, will need toml config 2022-11-01 15:33:22 -05:00
Jonathan Branan 07aed161eb #34 added tracker data to dragnet 2022-10-05 12:58:23 -05:00
jblu 8c32f32c85 #31 and lots of other changes 2022-10-01 13:10:42 -05:00
jblu adc3825396 #28 #26 #25 lots of changes 2022-10-01 12:21:18 -05:00
jblu 1fbdd5e84d added requirements.txt 2022-10-01 10:45:19 -05:00
jblu e8e4690e09 added dragnet test case and fixed dragnet 2022-09-19 20:37:14 -05:00
jblu c116a50c17 fixed additonal variables 2022-09-03 18:55:51 -05:00
jblu 4317a33647 standardized the variables #19 2022-09-03 15:02:40 -05:00
jblu 8c8aff9b09 Changed the config files and updated the readme 2022-09-03 14:04:03 -05:00
jblu 0977b12fe1 #15 added tag whitelisting 2022-09-02 20:22:04 -05:00
jblu 0135f7c13b moved dragnet to config file 2022-09-02 18:28:03 -05:00
jblu ff5e124a00 added additonal tests to isoldtor function 2022-09-01 12:59:04 -05:00
jblu 81ad9e3d13 added dragnet function 2022-08-31 10:56:37 -05:00
jblu 4cd1c519e2 finished minimal unit tests 2022-08-30 23:15:28 -05:00
jblu 9fc77d3ea0 refactored the main processes 2022-08-26 17:28:47 -05:00
jblu a224b03a7d fixing conflict 2022-08-12 21:31:27 -05:00
jblu fb70daacad Merge branch 'main' of https://github.com/jonbranan/qbit-maid 2022-08-12 21:30:43 -05:00
jblu d1cda2a104 restoring changes 2022-08-12 21:30:18 -05:00
Jonathan Branan e9a4f6aa0d changed so it can run 2022-08-12 13:18:54 -05:00
Jonathan Branan 06b5016b90 working with test case data 2022-08-11 21:06:37 -05:00
jblu f54702ceb6 init test case 2022-08-11 08:57:07 -05:00
jblu 357591227e fixed preme calculation bug and added exec time 2022-08-01 13:01:00 -05:00
jblu fca54f8952 empty 2022-07-29 16:02:19 -05:00
jblu 26ac36a164 fixed attrubute error 2022-07-25 12:36:15 -05:00
jblu fb55c54f01 updated readme and added ignored data 2022-07-23 16:05:57 -05:00
jblu 3aa5931095 added min tor time, large performance improvement 2022-07-23 15:46:48 -05:00
jblu ae4350a547 #9 lots of changes, refactored qprocess 2022-07-23 14:59:43 -05:00
jblu 972e9bc517 fixed reading cat file 2022-07-23 00:42:05 -05:00
jblu 27bc8e171b updated the readme 2022-07-22 23:50:35 -05:00
jblu 31c953d698 tweaks to the main file 2022-07-22 23:46:48 -05:00
jblu dc8ad10e73 #3 added cat whitelist and updated readme 2022-07-22 23:45:57 -05:00
jblu 582211adb7 a 2022-07-22 17:24:27 -05:00
jblu b879bbe13f #4 moved tags and updated example 2022-07-22 15:01:46 -05:00
jblu 3b36d54018 #5 changed name logging 2022-07-22 14:47:36 -05:00
jblu 2015c0a60d removed some comments 2022-07-20 14:22:56 -05:00
jblu 78d738a27c added basic skipping for tech category 2022-07-20 14:20:25 -05:00
jblu 99f94f5265 added .gitignore 2022-07-20 13:29:56 -05:00
jblu f3e09f5b67 readme update 2022-07-20 12:13:09 -05:00
jblu e7bc58f567 fixed table 2022-07-20 12:12:11 -05:00
jblu 1e5db77a6b Better file explanations 2022-07-20 12:11:19 -05:00
jblu fba5c1d7cf fixed! 2022-07-20 11:59:19 -05:00
jblu 45fd9b77c3 fixed table? 2022-07-20 11:58:14 -05:00
jblu 5e80aae3b6 config.json table 2022-07-20 11:56:43 -05:00
jblu 89143dce3a fixed json format in readme 2022-07-20 11:49:06 -05:00
jblu 08cbf7f445 Added comments for the functions 2022-07-20 11:34:13 -05:00
jblu 1375bc36ce adjusted log function to not be called if disabled 2022-07-20 11:06:11 -05:00
jblu 1889901f93 updated readme and changed to catch root exception 2022-07-20 10:36:54 -05:00
jblu 81df444765 changed readme and added more tornotify functions 2022-07-20 10:19:12 -05:00
jblu 4908d62999 added tor notify 2022-07-20 09:57:22 -05:00
jblu 829ad31293 changed logging level for api info 2022-07-19 00:05:48 -05:00
jblu 622dedcd44 added check for blank tracker 2022-07-15 20:33:51 -05:00
jblu 976e36316c adjusted logging around age calculation 2022-07-14 22:09:57 -05:00
jblu 419358a090 changed some logging stuff 2022-07-14 21:37:45 -05:00
jblu e624236586 updated readme 2022-07-14 20:33:53 -05:00
jblu ef21adc132 copied from private repo 2022-07-14 19:03:06 -05:00